edit_distance 0.5.0-nullsafety.0 copy "edit_distance: ^0.5.0-nullsafety.0" to clipboard
edit_distance: ^0.5.0-nullsafety.0 copied to clipboard

Implementation of string distance algorithms for advanced text comparison.

example/edit_distance_example.dart

// Copyright (c) 2016, Kwang Yul Seo. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:edit_distance/edit_distance.dart';

void main() {
  var d = Levenshtein();
  print(d.distance('witch', 'kitsch')); // 2
  print(d.normalizedDistance('witch', 'kitsch')); // 0.3333333333333333
}
27
likes
130
pub points
86%
popularity

Publisher

unverified uploader

Implementation of string distance algorithms for advanced text comparison.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on edit_distance