aceakash / string-similarity

Finds degree of similarity between two strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.
MIT License
2.53k stars 128 forks source link

Simplified code #32

Closed yewenjunfighting closed 5 years ago

yewenjunfighting commented 5 years ago

I deleted a few lines of code and adjusted the order of one line of code, in order to simplify the classification of strings into 3 types.

aceakash commented 5 years ago

Thanks, but I feel the original conveys the conditions being handled better (subjective!).