Class ChunkerTrainerTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<ChunkSample, ChunkerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractTypedParamTool<ChunkSample, ChunkerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractEvaluatorTool<ChunkSample, ChunkerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractTrainerTool<ChunkSample, ChunkerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.chunker.ChunkerTrainerTool
public class ChunkerTrainerTool
extends AbstractTrainerTool<ChunkSample, ChunkerTrainerTool.TrainerToolParams>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface -
Field Summary
Fields inherited from class AbstractTrainerTool
mlParamsFields inherited from class AbstractEvaluatorTool
factory, params, sampleStreamFields inherited from class AbstractTypedParamTool
paramsClassFields inherited from class TypedCmdLineTool
type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractTrainerTool
createTerminationIOExceptionMethods inherited from class AbstractTypedParamTool
getHelpMethods inherited from class TypedCmdLineTool
getBasicHelp, getHelp, getStreamFactory, validateAllArgs, validateFactoryArgsMethods inherited from class CmdLineTool
getBasicHelp, hasParams, validateAndParseParams
-
Constructor Details
-
ChunkerTrainerTool
public ChunkerTrainerTool()
-
-
Method Details
-
getName
- Overrides:
getNamein classCmdLineTool- Returns:
- Retrieves the name of the command line tool. The name (used as command) must not contain white spaces.
-
getShortDescription
- Overrides:
getShortDescriptionin classCmdLineTool- Returns:
- Retrieves a short description of what the tool does
-
run
Description copied from class:TypedCmdLineToolExecutes the tool with the given parameters.- Overrides:
runin classAbstractEvaluatorTool<ChunkSample, ChunkerTrainerTool.TrainerToolParams>- Parameters:
format- format to work withargs- command line arguments
-