Fast String Distance (SIFT) Algorithm
JavaScript
Latest commit b1321b1 Dec 14, 2013 @timoxley Update Readme.md
Permalink
Failed to load latest commit information.
examples/spellcheck Added tests Dec 12, 2013
test Added tests Dec 12, 2013
.gitignore Added tests Dec 12, 2013
.travis.yml Add Travis CI Dec 14, 2013
Readme.md Update Readme.md Dec 14, 2013
component.json Release 0.0.2 Dec 14, 2013
index.js Added tests Dec 12, 2013
package.json Release 0.0.2 Dec 14, 2013

Readme.md

sift

Fast String Distance (SIFT) Algorithm.

NPM

Build Status

Dependency Status

Installation

Browserify/Node

$ npm install sift-string

Component

$ component install timoxley/sift

Demo

Demo

or if you want to check it out locally:

# run only once to install npm dev dependencies
npm install .
# this will install && build the components and open the demo web page
npm run c-demo

API

sift(string, string)

Return 'distance' between two strings.

TODO

  • Dictionary Helper supply it emits suggestions.

Credit

Code extracted from MailCheck

Big thanks to Alexandru Vladutu for his contributions!

License

MIT