c# - Implement smart search / Fuzzy string comparison -
I have a web page on the ASP.NET MVC application, where customers search for suppliers. Suppliers take their own details on the website. The client wants the "smart search" feature, where they can search for suppliers and search them, even if the supplier spelling is "slightly different" of things written in the search box.
I do not know the perception of a customer is "slightly different" I have been looking at implementing a custom soundx algorithm. It changes a word into a number, which it comes to sound. That number is used for comparison.
For example:
Zach
jack
will encode for the same value Can I possibly see other options?
You can use a 'tag' field combined with 'smart search' style functionality For your database at the supplier.
This is very basic, but works well for cases like 'Jake / Zach'.
Adding Tags to Your Database You can search for the situation where people are familiar with them or other colloquial names.
View and implement implementation details.
Comments
Post a Comment