spell_checker 0.1.2+3 copy "spell_checker: ^0.1.2+3" to clipboard
spell_checker: ^0.1.2+3 copied to clipboard

Simple spell checker for Dart using Peter Norvig's algorithm

example/example.dart

import 'package:spell_checker/spell_checker.dart';

void main() {
  final checker = SingleWordSpellChecker(distance: 1.0);
  checker.addWords(['apple', 'apply', 'applesauce', 'applause', 'pear']);
  final str = 'aple';
  final findList = checker.find(str);
  print(findList);
}
9
likes
40
pub points
22%
popularity

Publisher

verified publisheralmaclaine.com

Simple spell checker for Dart using Peter Norvig's algorithm

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on spell_checker