Try me:
"
".score("
"); //=>
Or play with my fuzziness:
"
".score("
",
); //=>
Fuzzyness should be between 0 and 1. Low fuzziness like 0.01 means a mismatch will drop the score more then a fuzziness of something like 0.9.
Any modern bower, NodeJS, or other JavaScript interpreter.
Simply include one of the string score JavaScript files and call the .score() method on any string.
I recommend using string_score.min.js (810 bytes) because it is small yet also contains the license, version and source info. score.uglify.js (431 bytes) is the smallest file size for those of you who care about a half of a kb... string_score.js (3,822 bytes) includes comments and is the largest file
StringSlipper - a Python port by Yesudeep Mangalapilly
MIT license: http://www.opensource.org/licenses/mit-license.php
If you expect that something is not right with this project, please Submit an Issue.
If your having trouble feel free to email me: Joshaven Potter (yourtech@gmail.com)
You can use wget to download the current min version (less then a half of a kilobyte)
$ wget https://github.com/joshaven/string_score/raw/master/string_score.min.js
You can use curl to download the current min version (less then a half of a kilobyte)
$ curl -O https://github.com/joshaven/string_score/raw/master/string_score.min.js
If you want to modify the project, you could also clone the whole project with Git by running:
$ git clone git://github.com/joshaven/string_score
You could also download the whole project in either zip or tar formats.