Class NGramLanguageModelTool


  • public class NGramLanguageModelTool
    extends opennlp.tools.cmdline.BasicCmdLineTool
    Command line tool for NGramLanguageModel.
    • Constructor Detail

      • NGramLanguageModelTool

        public NGramLanguageModelTool()
    • Method Detail

      • getShortDescription

        public String getShortDescription()
        Description copied from class: opennlp.tools.cmdline.CmdLineTool
        Retrieves a short description of what the tool does.
        Overrides:
        getShortDescription in class opennlp.tools.cmdline.CmdLineTool
        Returns:
        a short description of what the tool does
      • run

        public void run​(String[] args)
        Description copied from class: opennlp.tools.cmdline.BasicCmdLineTool
        Executes the tool with the given parameters.
        Specified by:
        run in class opennlp.tools.cmdline.BasicCmdLineTool
        Parameters:
        args - arguments
      • getHelp

        public String getHelp()
        Description copied from class: opennlp.tools.cmdline.CmdLineTool
        Retrieves a description on how to use the tool.
        Specified by:
        getHelp in class opennlp.tools.cmdline.CmdLineTool
        Returns:
        a description on how to use the tool