opennlp.tools.cmdline
Interface CmdLineTool
- All Known Implementing Classes:
- AbstractConverterTool, BuildModelUpdaterTool, CensusDictionaryCreatorTool, CheckModelUpdaterTool, ChunkerConverterTool, ChunkerCrossValidatorTool, ChunkerEvaluatorTool, ChunkerMETool, ChunkerTrainerTool, DictionaryDetokenizerTool, DoccatConverterTool, DoccatTool, DoccatTrainerTool, ParserTool, ParserTrainerTool, POSTaggerConverter, POSTaggerEvaluatorTool, POSTaggerTool, POSTaggerTrainerTool, SentenceDetectorConverterTool, SentenceDetectorCrossValidatorTool, SentenceDetectorEvaluatorTool, SentenceDetectorTool, SentenceDetectorTrainerTool, SimpleTokenizerTool, TaggerModelReplacerTool, TokenizerConverterTool, TokenizerCrossValidatorTool, TokenizerMEEvaluatorTool, TokenizerMETool, TokenizerTrainerTool, TokenNameFinderConverterTool, TokenNameFinderEvaluatorTool, TokenNameFinderTool, TokenNameFinderTrainerTool
public interface CmdLineTool
A tool which can be executed from the command line.
Note: Do not use this class, internal use only!
Method Summary |
java.lang.String |
getHelp()
Retrieves a description on how to use the tool. |
java.lang.String |
getName()
Retrieves the name of the training data tool. |
java.lang.String |
getShortDescription()
Retrieves a short description of what the tool does. |
void |
run(java.lang.String[] args)
Executes the tool with the given parameters. |
getName
java.lang.String getName()
- Retrieves the name of the training data tool. The name (used as command)
must not contain white spaces.
- Returns:
- the name of the command line tool
getShortDescription
java.lang.String getShortDescription()
- Retrieves a short description of what the tool does.
- Returns:
getHelp
java.lang.String getHelp()
- Retrieves a description on how to use the tool.
- Returns:
run
void run(java.lang.String[] args)
- Executes the tool with the given parameters.
- Parameters:
args
-
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.