We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure if there's anything this library should do about this, but when you add as such you get an exception:
>>> f = FuzzySet() >>> f.add(u'balls') >>> f['balls'] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/glen/.virtualenvs/temp/lib/python2.7/site-packages/fuzzyset/__init__.py", line 49, in __getitem__ results = self.__get(value, i) File "/Users/glen/.virtualenvs/temp/lib/python2.7/site-packages/fuzzyset/__init__.py", line 74, in __get for _, matched in results[:50]] File "/Users/glen/.virtualenvs/temp/lib/python2.7/site-packages/fuzzyset/__init__.py", line 88, in _distance distance = Levenshtein.distance(str1, str2) TypeError: distance expected two Strings or two Unicodes
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure if there's anything this library should do about this, but when you add as such you get an exception:
The text was updated successfully, but these errors were encountered: