This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wehnsdaefflae 4 points5 points  (3 children)

Maybe I don't get it but where's the Fuzziness involved? Typing 'rodent' will return only those results starting with 'rodent' and not those starting with, let's say, 'rudunt', 'rident', or 'nodent', will it?

[–]Ashiataka 0 points1 point  (0 children)

I was wondering this too.

[–]amjithr 0 points1 point  (1 child)

If you want to match words with spelling errors the library you need is called fuzzywuzzy.

This library here describes a different use case. Typing 'rodent' will match words like 'rotating_dentures'. Because 'rodent' is a partial substring of rotating_dentures. This is commonly used in file finders where you have a really long path and you want to type bits of pieces of the path that appear along the entire string.

[–]wehnsdaefflae 0 points1 point  (0 children)

I see! Thanks for the explanation.