Coder Social home page Coder Social logo

winkjs / wink-distance Goto Github PK

View Code? Open in Web Editor NEW
21.0 6.0 5.0 1.92 MB

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

Home Page: http://winkjs.org/wink-distance/

License: MIT License

JavaScript 100.00%
similarity distance string vectors sets bag-of-words cosine hamming jaccard tversky

wink-distance's Introduction

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.

Copyright & License

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

It is licensed under the terms of the MIT License.

wink-distance's People

Contributors

bertyhell avatar dependabot[bot] avatar prtksxna avatar sanjayaksaxena avatar semmel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wink-distance's Issues

Alternate Distance Forms related to Pair Counting

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.