Ruby Spellchecker
A simple command line tool that spellchecks and corrects user input.
This spellchecker consists of two modes, or parts: user mode input and test mode. In user mode the program waits for user input and the checks and corrects the given input basing on dictionary, which can be any space delimited collection of words in a plain text file. If no approprite word is found in the dictionary, the script sais "No suggestions".
The second mode, test mode generates misspelled words from the dictionary and feeds them to the spellchecker.
The program is based on Peter Norvig's spellchecker algorithm and Brian Adkins' spellchecker library - Peter Norvig's idea in Ruby.
Installation
Download files from GitHub, unpack and copy them to your disk.
Usage
Open command line. Run spc.rb for user mode, and test.rb for test mode.
or
You must have Ruby interpretator installed.
Disclaimer
You can use this software at your own risk. The author of this software is not responsible for any loss of data, hardware, mind, or anything else. The author of this software is not responsible for any unwanted results of its usage.
License
This software is distrubuted under GNU GPL license.