Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudhead/spell-correct
ruby implementation of Norvig's spell corrector
https://github.com/cloudhead/spell-correct
Last synced: 27 days ago
JSON representation
ruby implementation of Norvig's spell corrector
- Host: GitHub
- URL: https://github.com/cloudhead/spell-correct
- Owner: cloudhead
- Created: 2009-01-29T15:38:47.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2010-03-02T04:38:29.000Z (over 14 years ago)
- Last Synced: 2024-02-13T02:08:06.576Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 281 KB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
ruby spell-correct
==================My implementation of Peter Norvig's python spell-corrector, found here: http://norvig.com/spell-correct.html.
Focus is on conciseness, not performance.
I provided a .txt file to train it, called holmes.txt; it's all the sherlock holmes books concated together. For better results, download http://norvig.com/big.txt which contains a million words or so..
Note that the training material cannot be a dictionary, as it must help the corrector figure out which words are the most frequently used.