string_score icon indicating copy to clipboard operation
string_score copied to clipboard

JavaScript string ranking 0 for no match upto 1 for perfect... "String".score("str"); //=> 0.825

Results 6 string_score issues
Sort by recently updated
recently updated
newest added

Might want to view this [without whitespace changes](https://github.com/joshaven/string_score/compare/master...OmgImAlexis:patch-1?expand=1&w=1).

Hello, I think you can use a hash table to speed up the query. 1) Create a hash table of words, with key values as characters, and values as positions...

So I stumbled on matching city names in Germany and particularly I have this: ``` 'Gross-Gerau' .score('Groß-Gerau') => 0 ``` I wonder if there's any chance that you can support...

Patching prototypes of global objects is a bad practice. Would it be possible to get a version of this module that just exports the scoring function, with a UMD wrapper...

hello i was testing the algorithm So i tried hello and hellô and the result was 0 wtf!

I had a play with string_score, and while it's excellent for what it does, it doesn't quite fit my use case out of the box. In particular, it lacks recognition...