johnpryan/spell-corrector-dart


Port of Peter Norvig's spelling corrector http://norvig.com/spell-correct.html

License: BSD-3-Clause

Language: Dart


spell_corrector

Port of Peter Norvig's spelling corrector http://norvig.com/spell-correct.html

Usage

import 'package:spell_corrector/spell_corrector.dart';
main() {
      var sourceData = "spelling spelunking";
      var corrector = new SpellCorrector(sourceData);
      print(corrector.correction("speling")); // prints "spelling"
}

Command line interface

run pub global activate spell_corrector to activate:

$ spell_corrector speling
$ spelling

Project Statistics

Sourcerank 4
Repository Size 2.23 MB
Stars 4
Forks 0
Watchers 1
Open issues 0
Dependencies 2
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

John Ryan

Packages Referencing this Repo

spell_corrector
Dart wrapper for Amazon AWS
Latest release 1.0.1 - Updated - 4 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-04-11 16:38:33 UTC

Login to resync this repository