Package com.gengoai.hermes.en
Class ENPOSTagger
- java.lang.Object
-
- com.gengoai.hermes.ml.BaseHStringMLModel
-
- com.gengoai.hermes.ml.POSTagger
-
- com.gengoai.hermes.en.ENPOSTagger
-
- All Implemented Interfaces:
Model
,Transform
,Copyable<Transform>
,SerializableFunction<HString,HString>
,HStringMLModel
,Serializable
,Function<HString,HString>
public class ENPOSTagger extends POSTagger
Default English language Part-of-Speech Annotator that uses a combination of machine learning and post-ml corrective rules.- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ENPOSTagger()
Instantiates a new ENPOSTagger.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onEstimate(HString sentence, Datum datum)
On estimate.-
Methods inherited from class com.gengoai.hermes.ml.BaseHStringMLModel
apply, delegate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.gengoai.hermes.ml.HStringMLModel
estimate, estimate, getDataGenerator, getEvaluator, getFitParameters, getInputs, getLabelType, getOutput, getOutputs, getVersion, setVersion, transform, transform, transform, transform
-
Methods inherited from interface com.gengoai.apollo.ml.model.Model
copy, fitAndTransform, getLabelType, save
-
Methods inherited from interface com.gengoai.function.SerializableFunction
andThen, asConsumer, compose
-
-
-
-
Method Detail
-
onEstimate
protected void onEstimate(HString sentence, Datum datum)
Description copied from class:BaseHStringMLModel
On estimate.- Overrides:
onEstimate
in classPOSTagger
- Parameters:
sentence
- the h stringdatum
- the datum
-
-