edu.upenn.cis.taggers.variation
Class VariationSegmentationEvaluator

java.lang.Object
  extended by edu.umass.cs.mallet.base.fst.TransducerEvaluator
      extended by edu.umass.cs.mallet.base.fst.MultiSegmentationEvaluator
          extended by edu.upenn.cis.taggers.variation.VariationSegmentationEvaluator

public class VariationSegmentationEvaluator
extends edu.umass.cs.mallet.base.fst.MultiSegmentationEvaluator

This class should never be called directly; it exists as an auxiliary to VariationTagger.


Field Summary
 
Fields inherited from class edu.umass.cs.mallet.base.fst.TransducerEvaluator
alwaysEvaluateWhenFinished, checkpointFilePrefix, checkpointIterationsToSkip, checkpointTransducer, numIterationsToSkip, numIterationsToWait, printModelAtEnd, viterbiOutput, viterbiOutputEncoding, viterbiOutputFilePrefix, viterbiOutputIterationsToSkip, viterbiOutputIterationsToWait
 
Constructor Summary
VariationSegmentationEvaluator(java.lang.String[] segmentStartTags, java.lang.String[] segmentContinueTags)
           
 
Method Summary
 TagList output(edu.umass.cs.mallet.base.fst.Transducer crf, edu.umass.cs.mallet.base.types.InstanceList eval)
           
 TagList output(edu.umass.cs.mallet.base.fst.Transducer crf, edu.umass.cs.mallet.base.types.InstanceList eval, java.util.Vector spans)
           
 
Methods inherited from class edu.umass.cs.mallet.base.fst.MultiSegmentationEvaluator
batchTest, evaluate, numIncorrectSegments, test
 
Methods inherited from class edu.umass.cs.mallet.base.fst.TransducerEvaluator
getCheckpointFilePrefix, getCheckpointIterationsToSkip, getCheckpointTransducer, getNumIterationsToSkip, getNumIterationsToWait, getViterbiOutput, getViterbiOutputEncoding, getViterbiOutputFilePrefix, getViterbiOutputIterationsToSkip, getViterbiOutputIterationsToWait, isAlwaysEvaluateWhenFinished, isPrintModelAtEnd, setAlwaysEvaluateWhenFinished, setCheckpointFilePrefix, setCheckpointIterationsToSkip, setCheckpointTransducer, setNumIterationsToSkip, setNumIterationsToWait, setPrintModelAtEnd, setViterbiOutput, setViterbiOutputEncoding, setViterbiOutputFilePrefix, setViterbiOutputIterationsToSkip, setViterbiOutputIterationsToWait, shouldDoEvaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariationSegmentationEvaluator

public VariationSegmentationEvaluator(java.lang.String[] segmentStartTags,
                                      java.lang.String[] segmentContinueTags)
Method Detail

output

public TagList output(edu.umass.cs.mallet.base.fst.Transducer crf,
                      edu.umass.cs.mallet.base.types.InstanceList eval)
               throws java.io.IOException
Throws:
java.io.IOException

output

public TagList output(edu.umass.cs.mallet.base.fst.Transducer crf,
                      edu.umass.cs.mallet.base.types.InstanceList eval,
                      java.util.Vector spans)
               throws java.io.IOException
Throws:
java.io.IOException