Skip to main content

Module fuzzy

Module fuzzy 

Source

Constants§

AZERTY
addok’s default FUZZY_KEY_MAP (French AZERTY).

Functions§

make_fuzzy
addok.fuzzy.make_fuzzy (1.1): inversions, substitutions (limited to neighbouring keys when a key map is given), insertions, then removals for words longer than 3, deduplicated keeping that order (it ranks the candidates).

Type Aliases§

KeyMap
Letters around each key of a keyboard, used to limit fuzzy substitutions.