contextFold.models
Class FeatureSetter
java.lang.Object
contextFold.models.FeatureSetter
- Direct Known Subclasses:
- Baseline, StHighCoHigh, StHighCoMed, StMedCoHigh, StMedCoMed
public abstract class FeatureSetter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
csr
protected StructureRecognizerImpl csr
featureManager
protected FeatureManager featureManager
SHORT
protected static final int SHORT
- See Also:
- Constant Field Values
LONG
protected static final int LONG
- See Also:
- Constant Field Values
FeatureSetter
protected FeatureSetter()
FeatureSetter
protected FeatureSetter(int hpShortMaxLength,
int[] ilLong,
int[] ilMedium)
setFeatures
public FeatureManager setFeatures()
bindFeatures
protected abstract void bindFeatures()
bindIlTypesToTemplates
protected void bindIlTypesToTemplates(java.util.Collection<FeatureTemplate> templates)
bindHpTypesToTemplates
protected void bindHpTypesToTemplates(java.util.Collection<FeatureTemplate> templates)
addAndBindLengthTemplates
protected void addAndBindLengthTemplates(int... lengthTypes)
addTemplates
protected java.util.Collection<FeatureTemplate> addTemplates(java.lang.String templatePrefix,
ContextFeatureExtractor[] contexts,
int... types)
bindTemplates
protected void bindTemplates(java.util.Collection<FeatureTemplate> templates,
int... types)