Skip to main content

Calculates the similarity between two strings

Project description

https://img.shields.io/pypi/v/similar_text.svg

similar_text can calculate the similarity between two strings

Installation

The tool works with Python 2 and Python 3. It can be installed with pip :

pip install similar_text

Usage

>>> from similar_text import similar_text
>>> similar_text('luosicheng', 'lsc')
46
>>> similar_text('lsc', 'luosicheng')
46

Project details


Download files

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

Source Distribution

similar_text-0.2.0.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file similar_text-0.2.0.tar.gz.

File metadata

File hashes

Hashes for similar_text-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9410cd4edc38eded0a325c06d96bda24b9a23e8a07096b408688173fe9c613fe
MD5 06bf46ef3582d8565c380329deb19f1a
BLAKE2b-256 5f17397d86003e2373169075f21a125b8d44ec3867491aa9c48b5d30f7a3e3fb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page