opennlp.tools.cmdline.doccat
Class DoccatTrainerTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<T>
opennlp.tools.cmdline.AbstractTypedParamTool<T,P>
opennlp.tools.cmdline.AbstractTrainerTool<DocumentSample,opennlp.tools.cmdline.doccat.DoccatTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.doccat.DoccatTrainerTool
public class DoccatTrainerTool
- extends AbstractTrainerTool<DocumentSample,opennlp.tools.cmdline.doccat.DoccatTrainerTool.TrainerToolParams>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoccatTrainerTool
public DoccatTrainerTool()
getShortDescription
public String getShortDescription()
- Description copied from class:
CmdLineTool
- Retrieves a short description of what the tool does.
- Overrides:
getShortDescription in class CmdLineTool
- Returns:
- a short description of what the tool does
run
public void run(String format,
String[] args)
- Description copied from class:
TypedCmdLineTool
- Executes the tool with the given parameters.
- Overrides:
run in class AbstractTrainerTool<DocumentSample,opennlp.tools.cmdline.doccat.DoccatTrainerTool.TrainerToolParams>
- Parameters:
format - format to work withargs - command line arguments
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.