0.0.2 • Published 8 years ago

jaro_winkler v0.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

jaro-winkler

simple javascript implementation of Jaro-Winkler distance algorithm

Install

npm install jaro_winkler

Usage

This module exposes single function, that calculate Jaro-Winkler distance represented by float number. 1 is an exact match, and 0 is no similarity.

var calcJaroWinklerDistance = require('jaro_winkler');
console.log(calcJaroWinklerDistance('DWAYNE','DUANE')); //0.8400000000000001