dart_levenshtein 1.0.1
dart_levenshtein: ^1.0.1 copied to clipboard

Levenshtein distance implementation in Dart. The levenshtein distance can be invoked as a function or as a String extension.

Dart Levenshtein #

Levenshtein distance implementation in Dart.

Usage #

Here's an example code to compare two strings

import 'package:dart_levenshtein/dart_levenshtein.dart';

void main() async {
  // As String extension
  print(await 'kitten'.levenshteinDistance('sitten'));
  // As a function
  print(await 
1
likes
120
pub points
29%
popularity

Publisher

makepad.fr

Levenshtein distance implementation in Dart. The levenshtein distance can be invoked as a function or as a String extension.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

More

Packages that depend on dart_levenshtein