Package com.gengoai.hermes.ml.feature
Class AffixFeaturizer
- java.lang.Object
-
- com.gengoai.apollo.ml.feature.Featurizer<HString>
-
- com.gengoai.hermes.ml.feature.AffixFeaturizer
-
- All Implemented Interfaces:
FeatureExtractor<HString>
,ObservationExtractor<HString>
,Serializable
public class AffixFeaturizer extends Featurizer<HString>
The type Affix featurizer.- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AffixFeaturizer(int prefixSize, int suffixSize)
Instantiates a new Affix featurizer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Variable>
applyAsFeatures(HString word)
-
Methods inherited from class com.gengoai.apollo.ml.feature.Featurizer
booleanFeaturizer, chain, chain, countFeaturizer, extractObservation, multiValueFeaturizer, predicateFeaturizer, realFeaturizer, valueFeaturizer, valueFeaturizer, withContext, withContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.gengoai.apollo.ml.feature.FeatureExtractor
contextualize, extractSequence
-
-
-
-
Method Detail
-
applyAsFeatures
public List<Variable> applyAsFeatures(HString word)
- Specified by:
applyAsFeatures
in classFeaturizer<HString>
-
-