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