The Levenshtein Distance Between Two Strings

LEVENSHTEIN, a C++ library which computes the Levenshtein distance between two strings.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


LEVENSHTEIN is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

CAESAR, a C++ library which can apply a Caesar Shift Cipher to a string of text.

CHRPAK, a C++ library which works with characters and strings.


ROT13, a C++ library which can encipher a string using the ROT13 cipher for letters, and the ROT5 cipher for digits.

Source Code:

Last revised on 25 March 2020.