Class DependencyParserMETool

java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.BasicCmdLineTool
opennlp.tools.cmdline.depparse.DependencyParserMETool

public class DependencyParserMETool extends opennlp.tools.cmdline.BasicCmdLineTool
Parses POS-tagged sentences from standard input and prints basic CoNLL-U trees.
  • Constructor Details

    • DependencyParserMETool

      public DependencyParserMETool()
  • Method Details

    • getShortDescription

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

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

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