Skip to content

com4/py-editdist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"editdist" is a CPython module that calculates the Levenshtein edit
distance between two strings. 

To install, use the standard Python distutils incantation:

	python setup.py build
	python setup.py install

Regression tests are in the test.py file.

py-editdist is licensed under a ISC/BSD licence. See the LICENSE file
for details.

Please report bugs to Damien Miller <djm@mindrot.org>. Please check the
TODO file first, in case your problem is something I already know about
(please send patches!)

A simple example that demonstrates the module:

	import editdist

	# Calculate an edit distance
	d = editdist.distance("abcd", "abcef")

$Id$

About

py-editdist ported to python 3.3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published