Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wink-distance

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wink-distance

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

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.5K
decreased by-5.75%
Maintainers
3
Weekly downloads
 
Created
Source

wink-distance

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

Build Status Coverage 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.

Combine wink-distance with WinkNLP to build awesome NLP apps.

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.

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

It is licensed under the terms of the MIT License.

Keywords

FAQs

Package last updated on 14 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc