dart_levenshtein 1.0.1 copy "dart_levenshtein: ^1.0.1" to clipboard
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 
5
likes
140
pub points
78%
popularity

Publisher

verified publishermakepad.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