Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

wink-distance

2.0.0 • Public • Published

wink-distance

Distance/Similarity functions for Bag of Words, Strings, Vectors and more.

Build Status Coverage Status Inline docs dependencies Status devDependencies Status Gitter

Compute distances or similarities needed for NLP, de-duplication and clustering using wink-distance. Some of the methods are listed below:

  1. Cosine similarity for Bag of Words,
  2. Jaccard & Tversky for Sets,
  3. Jaro, Jaro-Winkler, and Levenshtien for string,
  4. Chebyshev and Taxicab for vectors.

Installation

Use npm to install:

npm install wink-distance --save

Documentation

Check out the distance/similarity API documentation to learn more.

Need Help?

If you spot a bug and the same has not yet been reported, raise a new issue or consider fixing it and sending a pull request.

About wink

Wink is a family of open source packages for Statistical Analysis, Natural Language Processing and Machine Learning in NodeJS. The code is thoroughly documented for easy human comprehension and has a test coverage of ~100% for reliability to build production grade solutions.

Copyright & License

wink-distance is copyright 2017-18 GRAYPE Systems Private Limited.

It is licensed under the terms of the MIT License.

Install

npm i wink-distance

DownloadsWeekly Downloads

930

Version

2.0.0

License

MIT

Unpacked Size

54.1 kB

Total Files

21

Homepage

winkjs.org/

Last publish

Collaborators

  • avatar
  • avatar
  • avatar