spelly 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/lib/dict/en_GB.aff +1150 -0
- data/lib/dict/en_GB.dic +46281 -0
- data/lib/spelly/version.rb +1 -1
- data/spec/spelly_spec.rb +17 -0
- metadata +6 -2
data/README.md
CHANGED
@@ -29,9 +29,10 @@ http://wiki.openoffice.org/wiki/Dictionaries#English_.28AU.2CCA.2CGB.2CNZ.2CUS.2
|
|
29
29
|
|
30
30
|
Then you can run your spell check against an array of words by simply calling
|
31
31
|
|
32
|
+
> spelly = Spelly.new("en_GB")
|
32
33
|
> words = %w/car bat yardd/
|
33
34
|
=> ["car", "bat", "yardd"]
|
34
|
-
>
|
35
|
+
> spelly.spell_check words
|
35
36
|
=> [{:word=>"yardd", :suggest=>["yards", "yard", "yard d"]}]
|
36
37
|
|
37
38
|
## Contributing
|