edu.cmu.minorthird.text.learn
Class SpanFE.Result

java.lang.Object
  extended by 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
           
 
Constructor Summary
SpanFE.Result(java.lang.String[] name, SpanFE fe)
           
 
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
 

Field Detail

name

protected java.lang.String[] name

fe

protected SpanFE fe
Constructor Detail

SpanFE.Result

public SpanFE.Result(java.lang.String[] name,
                     SpanFE fe)
Method Detail

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.