levenshtein 1.0.2
levenshtein: ^1.0.2 copied to clipboard
An implementation of the Levenshtein distance algorithm
Levenshtein #
This little library implements the Levenshtein distance between two strings, as described here.
Example #
import 'package:levenshtein/levenshtein.dart';
void main() {
int distance = levenshtein('hello world', 'bye world', caseSensitive: true);
print(distance);
}
License #
I'm releasing the code into the public domain. See LICENSE for more information.