wink-distanceDistance/Similarity functions for Bag of Words, Strings, Vectors and more.
Compute distances or similarities needed for NLP, de-duplication and clustering using
wink-distance. Some of the methods are listed below:
- Cosine similarity for Bag of Words,
- Jaccard & Tversky for Sets,
- Jaro, Jaro-Winkler, and Levenshtien for string,
- Chebyshev and Taxicab for vectors.
wink-distance with WinkNLP to build awesome NLP apps.
InstallationUse npm to install:
npm install wink-distance --save
DocumentationCheck 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 winkWink 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 & Licensewink-distance is copyright 2017-23 GRAYPE Systems Private Limited.
It is licensed under the terms of the MIT License.