Package opennlp.spellcheck.cmdline
Class SpellCheckModelBuilderTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.BasicCmdLineTool
opennlp.spellcheck.cmdline.SpellCheckModelBuilderTool
public class SpellCheckModelBuilderTool
extends opennlp.tools.cmdline.BasicCmdLineTool
A command line tool that builds a binary
SymSpellModel from plain-text
frequency dictionaries.
It reads a unigram frequency list (and, optionally, a bigram list), builds a SymSpell
engine with the requested edit-distance configuration and serializes the resulting model
to an output file using SymSpellModels.serialize(SymSpellModel, OutputStream).
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class opennlp.tools.cmdline.CmdLineTool
getName, hasParams
-
Constructor Details
-
SpellCheckModelBuilderTool
public SpellCheckModelBuilderTool()
-
-
Method Details
-
getShortDescription
- Overrides:
getShortDescriptionin classopennlp.tools.cmdline.CmdLineTool
-
getHelp
- Specified by:
getHelpin classopennlp.tools.cmdline.CmdLineTool
-
run
- Specified by:
runin classopennlp.tools.cmdline.BasicCmdLineTool
-