Package opennlp.tools.ml
Class AbstractTrainer
java.lang.Object
opennlp.tools.ml.AbstractTrainer
- Direct Known Subclasses:
AbstractEventModelSequenceTrainer
,AbstractEventTrainer
,AbstractSequenceTrainer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALGORITHM_PARAM
- See Also:
-
TRAINER_TYPE_PARAM
- See Also:
-
CUTOFF_PARAM
- See Also:
-
CUTOFF_DEFAULT
public static final int CUTOFF_DEFAULT- See Also:
-
ITERATIONS_PARAM
- See Also:
-
ITERATIONS_DEFAULT
public static final int ITERATIONS_DEFAULT- See Also:
-
VERBOSE_PARAM
- See Also:
-
VERBOSE_DEFAULT
public static final boolean VERBOSE_DEFAULT- See Also:
-
-
Constructor Details
-
AbstractTrainer
public AbstractTrainer() -
AbstractTrainer
-
-
Method Details
-
init
-
init
Deprecated. -
getAlgorithm
-
getCutoff
public int getCutoff() -
getIterations
public int getIterations() -
validate
public void validate()Check parameters. If subclass overrides this, it should call super.validate();- Throws:
IllegalArgumentException
-
isValid
Deprecated.Usevalidate()
instead.- Returns:
-
validate()
instead.