I need to do a fuzzy search with transliteration of the characters, for example:
I have an ASP.NET application, database, which has a table with a list of Spanish words (200,000 entries), I also have a page with an input field. The point is that I do not know Spanish, and I do not know how to spell a search word in Spanish, but I know how it sounds. Therefore, in the text box I enter the search word, such as "beautiful", but in the recording err - "prekieso", and I need to get from the database got the correct version: "precioso".
How can this be implemented? In other words, I need something similar to Google suggestions...
I think what you need here is a spell checking functionality like this one: http://www.codeproject.com/KB/string/netspell.aspx
A google like functionality it's much more advanced though and will not be easy to implement: How does the Google "Did you mean?" Algorithm work?
hope this help.
The stored procedure / function, the algorithm calculates the distance Levenshtein:
invoking:
or: