public class LemmatizerTrainerTool extends AbstractTrainerTool<LemmaSample,opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool.TrainerToolParams>
factory, mlParams, params, sampleStream
paramsClass
type
Constructor and Description |
---|
LemmatizerTrainerTool() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Retrieves the name of the training data tool.
|
String |
getShortDescription()
Retrieves a short description of what the tool does.
|
void |
run(String format,
String[] args)
Executes the tool with the given parameters.
|
getHelp
getBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgs
getBasicHelp, hasParams, validateAndParseParams
public String getName()
CmdLineTool
getName
in class CmdLineTool
public String getShortDescription()
CmdLineTool
getShortDescription
in class CmdLineTool
public void run(String format, String[] args)
TypedCmdLineTool
run
in class AbstractTrainerTool<LemmaSample,opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool.TrainerToolParams>
format
- format to work withargs
- command line argumentsCopyright © 2016 The Apache Software Foundation. All rights reserved.