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

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar <[email protected]>

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.

Libraries

levenshtein