edu.cmu.minorthird.text.learn.experiments
Class SequenceAnnotatorExpt

java.lang.Object
  extended by 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

Constructor Summary
SequenceAnnotatorExpt(TextLabels labels, Splitter<Example[]> splitter, SequenceClassifierLearner learner, java.lang.String inputLabel)
           
SequenceAnnotatorExpt(TextLabels labels, Splitter<Example[]> splitter, SequenceClassifierLearner learner, java.lang.String inputLabel, java.lang.String tokPropFeats)
           
 
Method Summary
 CrossValidatedSequenceDataset crossValidatedDataset()
           
 Evaluation evaluation()
           
 java.lang.String getInputLabel()
           
 TextLabels getLabels()
           
 java.lang.String getTokPropFeats()
           
static void main(java.lang.String[] args)
           
static SequenceClassifierLearner toSeqLearner(java.lang.String learnerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)