Search code examples
c#fuzzy-comparison

Fuzzy Text Matching


I need to attempt to match a given text to that in a database.

An example of this is:

Given Text: Acura MDX Technology Package

Databased items:

Tech Pkg Technology Pkg with Navigation Tech Pkg with Entertainment Pkg Base FWD w/Technology Package/18" Wheels FWD

This doesn't have to 100% perfect, just a best guess. Any libraries that I should pay special attention to?


Solution

  • Check out Lucene.

    More detail on making fuzzy queries.

    And you can use the Snowball Analyzer if you want to make it even fuzzier :)