javascript - Fuzzy Logic Duplicate Name Detector -


i working on application large number of products , brands. need match brand names , identify duplicates (possibly mis-typed) , merge them. similar android contacts.

i have seen solutions using database distance functions. can suggest javascript libraries may me achieve this.

brand names aren't (hopefully long). fuse library works well. it's simple as:

var fue = new fuse(json_array_of_objects, object_with_keys_to_retrive); var rslt = fuse.search('yourstring'); 

the other alternative is: fuzzyset.js


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -