Open erikradisch opened 6 years ago
That's correct. weighted-levenshtein
only support ASCII unfortunately. A PR to add UTF-8 support would be welcome though!
Mapping with chr seems to work:
mapping = {s:chr(i+1) for i,s in enumerate(symbols)}
\x00 causes trouble, hence the +1
Hey! Awesome module! It is exactly what I need. I only have one problem. Do I understand it right, that it works only with ascii-code? I tried special characters and they lead into an error...