edu.cmu.minorthird.ui
Class Recommended.HMMTokenFE
java.lang.Object
edu.cmu.minorthird.text.learn.SpanFE
edu.cmu.minorthird.ui.Recommended.TokenPropUsingFE
edu.cmu.minorthird.ui.Recommended.HMMTokenFE
- All Implemented Interfaces:
- MixupCompatible, SpanFeatureExtractor, CommandLineProcessor.Configurable, java.io.Serializable
- Enclosing class:
- Recommended
public static class Recommended.HMMTokenFE
- extends Recommended.TokenPropUsingFE
- implements CommandLineProcessor.Configurable, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class edu.cmu.minorthird.text.learn.SpanFE |
emit, emit, emit, emit, extractFeatures, extractInstance, extractInstance, from, from, getAnnotationProvider, getRequiredAnnotation, requireMyAnnotation, setAnnotationProvider, setAnnotatorLoader, setFeatureStoragePolicy, setRequiredAnnotation, trace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useCharType
protected boolean useCharType
useCharTypePattern
protected boolean useCharTypePattern
Recommended.HMMTokenFE
public Recommended.HMMTokenFE()
setUseCharType
public void setUseCharType(boolean flag)
- If produce features like "token.charTypePattern.Aaaa" for the word "Bill"
getUseCharType
public boolean getUseCharType()
setUseCharTypePattern
public void setUseCharTypePattern(boolean flag)
- If true produce features like "token.charTypePattern.Aa+" for the word "Bill".
getUseCharTypePattern
public boolean getUseCharTypePattern()
getCLP
public CommandLineProcessor getCLP()
- Description copied from interface:
CommandLineProcessor.Configurable
- Produce a command-line processor that configures this object.
- Specified by:
getCLP
in interface CommandLineProcessor.Configurable
extractFeatures
public void extractFeatures(TextLabels labels,
Span s)
- Description copied from class:
SpanFE
- Implement this with a specific set of SpanFE 'pipelines'. Each pipeline
will typically start with 'start(span)' and end with 'emit()'.
- Specified by:
extractFeatures
in class SpanFE