did_you_mean 1.0.1 copy "did_you_mean: ^1.0.1" to clipboard
did_you_mean: ^1.0.1 copied to clipboard

a dart port of didyoumean, but use faster levenshtein algorithm.

did_you_mean #

a dart port of didyoumean. but via levenshtein algorithm.

Usage #

import 'package:did_you_mean/did_you_mean.dart';

var input = 'résumé';
var list = ['resume', 'resumé'];
var matched = didYouMean(input, list);

print('the best matched is $matched'); // the best matched is resumé

License #

MIT License.

2
likes
160
pub points
0%
popularity

Publisher

unverified uploader

a dart port of didyoumean, but use faster levenshtein algorithm.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on did_you_mean