The Levenshtein Distance Between Two Strings

LEVENSHTEIN is 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:

List of Routines:

You can go up one level to the C++ source codes.

Last revised on 19 March 2018.