public class SpellCheckerRunner
extends java.lang.Object
Can be used from the command line as:
java SpellCheckerRunner <in> <out> <dictionary> <corrector>
makeCorrector
to enable the LEV option.Constructor and Description |
---|
SpellCheckerRunner() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
This main program creates appropriate Reader and Writer objects for doing File IO, creates the
appropriate Corrector based on the command-line arguments, and then uses a SpellChecker to
interactively check the input file.
|
public static void main(java.lang.String[] args)
args
- String array of command line arguments specifying the input and output files, the
dictionary, and the type of Corrector to use