edu.cmu.minorthird.text.learn.experiments
Class SequenceAnnotatorExpt
java.lang.Object
edu.cmu.minorthird.text.learn.experiments.SequenceAnnotatorExpt
public class SequenceAnnotatorExpt
- extends java.lang.Object
Run an annotation-learning experiment based on pre-labeled text , using a
sequence learning method, and showing the result of evaluation of the
sequence-classification level.
- Author:
- William Cohen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceAnnotatorExpt
public SequenceAnnotatorExpt(TextLabels labels,
Splitter<Example[]> splitter,
SequenceClassifierLearner learner,
java.lang.String inputLabel)
SequenceAnnotatorExpt
public SequenceAnnotatorExpt(TextLabels labels,
Splitter<Example[]> splitter,
SequenceClassifierLearner learner,
java.lang.String inputLabel,
java.lang.String tokPropFeats)
getLabels
public TextLabels getLabels()
getInputLabel
public java.lang.String getInputLabel()
getTokPropFeats
public java.lang.String getTokPropFeats()
crossValidatedDataset
public CrossValidatedSequenceDataset crossValidatedDataset()
evaluation
public Evaluation evaluation()
toSeqLearner
public static SequenceClassifierLearner toSeqLearner(java.lang.String learnerName)
main
public static void main(java.lang.String[] args)