public class ChunkerTrainerTool extends AbstractTrainerTool<ChunkSample,opennlp.tools.cmdline.chunker.ChunkerTrainerTool.TrainerToolParams>
mlParams
factory, params, sampleStream
paramsClass
type
Constructor and Description |
---|
ChunkerTrainerTool() |
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.
|
createTerminationIOException
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 AbstractEvaluatorTool<ChunkSample,opennlp.tools.cmdline.chunker.ChunkerTrainerTool.TrainerToolParams>
format
- format to work withargs
- command line argumentsCopyright © 2017 The Apache Software Foundation. All rights reserved.