Class DoccatTrainerTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<DocumentSample, DoccatTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractTypedParamTool<DocumentSample, DoccatTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractEvaluatorTool<DocumentSample, DoccatTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractTrainerTool<DocumentSample, DoccatTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.doccat.DoccatTrainerTool
public class DoccatTrainerTool
extends AbstractTrainerTool<DocumentSample, DoccatTrainerTool.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
Modifier and TypeMethodDescription(package private) static FeatureGenerator[]createFeatureGenerators(String featureGeneratorsNames) voidExecutes the tool with the given parameters.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, getName, hasParams, validateAndParseParams
-
Constructor Details
-
DoccatTrainerTool
public DoccatTrainerTool()
-
-
Method Details
-
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<DocumentSample, DoccatTrainerTool.TrainerToolParams>- Parameters:
format- format to work withargs- command line arguments
-
createFeatureGenerators
-