We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 566fff1 commit 72e8c8eCopy full SHA for 72e8c8e
1 file changed
zxcvbn/matching.py
@@ -40,6 +40,13 @@ def wrapper(*args, **kwargs):
40
return func(*args, **kwargs)
41
return wrapper
42
43
+
44
+@ensure_ranked_dictionaries
45
+def add_frequency_lists(frequency_lists_, *, _ranked_dictionaries):
46
+ for name, lst in frequency_lists_.items():
47
+ _ranked_dictionaries[name] = build_ranked_dict(lst)
48
49
50
GRAPHS = {
51
'qwerty': adjacency_graphs.ADJACENCY_GRAPHS['qwerty'],
52
'dvorak': adjacency_graphs.ADJACENCY_GRAPHS['dvorak'],
0 commit comments