Metadata-Version: 2.1
Name: levenshtein-distance
Version: 1.0.1
Summary: Compute operational differences between two sequences/texts using the Levenshtein algorithm
Home-page: https://github.com/syn-chromatic/levenshtein-distance
Author: syn-chromatic
Author-email: synchromatic.github@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: setuptools (>=45.0)

# levenshtein-distance
Compute operational differences between two sequences/texts using the Levenshtein algorithm


## Installation:
```
pip install levenshtein-distance
```

___
## Usage:
#### Regular Usage:
```python
from levenshtein_distance import Levenshtein

lev_object = Levenshtein('test', 'text')
distance = lev_object.distance()
ratio = lev_object.ratio()
array = lev_object.sequence_array()
```


#### With replace operation cost of 2:
```python
lev_object = Levenshtein('test', 'text').set_replace_cost(2)
distance = lev_object.distance()
ratio = lev_object.ratio()
array = lev_object.sequence_array()
```


