Class LemmatizerTrainerTool
java.lang.Object
opennlp.tools.cmdline.CmdLineTool
opennlp.tools.cmdline.TypedCmdLineTool<LemmaSample, LemmatizerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractTypedParamTool<LemmaSample, LemmatizerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractEvaluatorTool<LemmaSample, LemmatizerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.AbstractTrainerTool<LemmaSample, LemmatizerTrainerTool.TrainerToolParams>
opennlp.tools.cmdline.lemmatizer.LemmatizerTrainerTool
public class LemmatizerTrainerTool
extends AbstractTrainerTool<LemmaSample, LemmatizerTrainerTool.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
-
LemmatizerTrainerTool
public LemmatizerTrainerTool()
-
-
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<LemmaSample, LemmatizerTrainerTool.TrainerToolParams>- Parameters:
format- format to work withargs- command line arguments
-