levenshtein 1.0.2
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.