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
  Constructor
  Description
  `SpellCheckModelBuilderTool()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getHelp()`
  `String`
  `getShortDescription()`
  `void`
  `run(String[] args)`

  ### Methods inherited from class opennlp.tools.cmdline.CmdLineTool

  `getName, hasParams`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SpellCheckModelBuilderTool

    public SpellCheckModelBuilderTool()

- ## Method Details

  - ### getShortDescription

    public String getShortDescription()
    Overrides:
      `getShortDescription` in class `opennlp.tools.cmdline.CmdLineTool`

  - ### getHelp

    public String getHelp()
    Specified by:
      `getHelp` in class `opennlp.tools.cmdline.CmdLineTool`

  - ### run

    public void run(String[] args)
    Specified by:
      `run` in class `opennlp.tools.cmdline.BasicCmdLineTool`