Skip to main content

Jaccard Index for Two Strings

Project description


Jaccard Index Computation

This package provides computation Jaccard Index based on n-grams for strings. This can be used as a metric for computing similarity between two strings e.g. Indentity resolution


Install using pip:

#  pip install jaccard-index 

To install using the archive, unpack it and run:

# python install


A common use case is to compare strings for similarity:

>>> from jaccard_index.jaccard import jaccard_index
>>> jaccard_index("abc","")
>>> jaccard_index("accessary", "accessory")
>>> jaccard_index("coffee", "coffee")

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jaccard-index, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size jaccard_index-0.0.3-py3-none-any.whl (2.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jaccard_index-0.0.3.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page