text_similarity 1.0.1
text_similarity: ^1.0.1 copied to clipboard
Implementation of Levenshtein's Automaton to find similarities between a String and a set of known words.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add text_similarityWith Flutter:
$ flutter pub add text_similarityThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
text_similarity: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:text_similarity/text_similarity.dart';