Klasse ParserTool

java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.BasicCmdLineTool
opennlp.tools.cmdline.parser.ParserTool

public final class ParserTool extends opennlp.tools.cmdline.BasicCmdLineTool
  • Konstruktordetails

    • ParserTool

      public ParserTool()
  • Methodendetails

    • getShortDescription

      public String getShortDescription()
      Setzt außer Kraft:
      getShortDescription in Klasse opennlp.tools.cmdline.CmdLineTool
      Gibt zurück:
      Retrieves a short description of what the tool does
    • getHelp

      public String getHelp()
      Angegeben von:
      getHelp in Klasse opennlp.tools.cmdline.CmdLineTool
      Gibt zurück:
      Retrieves a description on how to use the tool
    • parseLine

      public static Parse[] parseLine(String line, Parser parser, int numParses)
    • parseLine

      public static Parse[] parseLine(String line, Parser parser, Tokenizer tokenizer, int numParses)
    • run

      public void run(String[] args)
      Beschreibung aus Klasse kopiert: opennlp.tools.cmdline.BasicCmdLineTool
      Executes the tool with the given parameters.
      Angegeben von:
      run in Klasse opennlp.tools.cmdline.BasicCmdLineTool
      Parameter:
      args - arguments