edu.cmu.minorthird.text.learn
Class SpanFE.Result
java.lang.Object
edu.cmu.minorthird.text.learn.SpanFE.Result
- Direct Known Subclasses:
- SpanFE.SetResult, SpanFE.SpanResult
- Enclosing class:
- SpanFE
public abstract static class SpanFE.Result
- extends java.lang.Object
Encodes an intermediate result of the SpanFE process.
Field Summary |
protected SpanFE |
fe
|
protected java.lang.String[] |
name
|
Method Summary |
protected SpanFE.Result |
doTrace()
|
abstract void |
emit()
Terminates a feature extraction pipeline by actually emitting features. |
java.lang.String[] |
extend(java.lang.String addition)
|
java.lang.String[] |
extend(java.lang.String[] partial,
java.lang.String addition)
|
java.lang.String[] |
getName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String[] name
fe
protected SpanFE fe
SpanFE.Result
public SpanFE.Result(java.lang.String[] name,
SpanFE fe)
extend
public java.lang.String[] extend(java.lang.String addition)
extend
public java.lang.String[] extend(java.lang.String[] partial,
java.lang.String addition)
doTrace
protected SpanFE.Result doTrace()
getName
public java.lang.String[] getName()
emit
public abstract void emit()
- Terminates a feature extraction pipeline by actually emitting features.