Skip to content

An implementation of the Jaro-Winkler distance algorithm (measure of string similarity) in CoffeeScript

License

Notifications You must be signed in to change notification settings

zdyn/jaro-winkler-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jaro-winkler-js

An implementation of the Jaro-Winkler distance algorithm (a measure of string similarity) in CoffeeScript (minified js also provided).

Usage

A distance method is added to the String prototype.

Example:

"b".distance("brian zhou")  // 0.73
"b".distance("bo chen")     // 0.74

"br".distance("brian zhou") // 0.79
"br".distance("bo chen")    // 0.59

License

MIT

About

An implementation of the Jaro-Winkler distance algorithm (measure of string similarity) in CoffeeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published