pytries / DAWG

DAFSA-based dictionary-like read-only objects for Python. Based on `dawgdic` C++ library.
http://dawg.readthedocs.org
MIT License
300 stars 47 forks source link

similar_keys limitation #28

Open ecamaj opened 7 years ago

ecamaj commented 7 years ago

Character dictionary for dawg.DAWG.compile_replaces can have only single value for one key which is problem if you want to use same character for multiple diacritic characters, which is usual use-case. Example:

It can be solved by compiling dictionary several times for each combination, but this is not quite ... optimal, to put it mildly.

Thank you

zhuchenxi commented 3 years ago

Face the same problem