1

I need to make a search method that is a little smarter than the find() in python. Something that could find similar words more like a search engine. I heard of Whoosh, installed it, but I couldn't even understand where to start from. Could someone either teach me some really basic whoosh string search methods or give me another option?

Lucas C. Feijo
  • 1,002
  • 3
  • 13
  • 29
  • 1
    http://packages.python.org/Whoosh/quickstart.html – Joel Cornett Jun 08 '12 at 18:13
  • 3
    What kind of searches do you intend to do with it? – Junuxx Jun 08 '12 at 18:13
  • I have this file: http://pastebin.com/F28RXDvu and I want to let the user search for parts of the strings, or the same one with different case... – Lucas C. Feijo Jun 08 '12 at 18:23
  • Not sure if this is a dupe or not, but you may find the following useful: [Good Python modules for fuzzy string comparison?](http://stackoverflow.com/questions/682367/good-python-modules-for-fuzzy-string-comparison) – Andrew Clark Jun 08 '12 at 21:37

1 Answers1

1

Are you looking for fuzzy string matching?

If so you might be interested in checking out FuzzyWuzzy.

Acorn
  • 49,061
  • 27
  • 133
  • 172