|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.minorthird.text.learn.AnnotatorTeacher
public abstract class AnnotatorTeacher
Train a AnnotatorLearner and return the learned Annotator, using some unspecified source of information to get AnnotationExample's to train the learner.
Constructor Summary | |
---|---|
AnnotatorTeacher()
|
Method Summary | |
---|---|
abstract TextLabels |
availableLabels()
Labels available for training, testing |
abstract java.util.Iterator<Span> |
documentPool()
Unlabeled instances. |
abstract boolean |
hasAnswers()
Return true if this teacher can answer more queries. |
abstract AnnotationExample |
labelInstance(Span query)
Label an Span queried by the learner. |
Annotator |
train(AnnotatorLearner learner)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotatorTeacher()
Method Detail |
---|
public final Annotator train(AnnotatorLearner learner)
public abstract TextLabels availableLabels()
public abstract java.util.Iterator<Span> documentPool()
public abstract AnnotationExample labelInstance(Span query)
public abstract boolean hasAnswers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |