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.

Files for similar_text, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size similar_text-0.2.0.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page