Skip to content
/ lev Public

Levenshtein distance function as C Extension for Python 3

License

Notifications You must be signed in to change notification settings

duranbe/lev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lev

Levenshtein distance function as C Extension for Python 3

Test

See https://en.wikipedia.org/wiki/Levenshtein_distance

Install

python3 setup.py install

Use

>>> import levenshtein
>>> levenshtein.levenshtein("TEST","TESTS")
1
>>> levenshtein.levenshtein("DOG","DOGGOS")
3

Test

python3 -m unittest test_levenshtein.py

About

Levenshtein distance function as C Extension for Python 3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published