struct.sequence
Class SequenceEvaluator

java.lang.Object
  extended by struct.sequence.SequenceEvaluator
All Implemented Interfaces:
SLEvaluator

public class SequenceEvaluator
extends java.lang.Object
implements SLEvaluator

A sequence evaluator.

Version:
07/15/2006

Field Summary
private static java.util.logging.Logger logger
           
 java.lang.String outFile
           
private  edu.umass.cs.mallet.base.types.Alphabet tagAlphabet
           
 
Constructor Summary
SequenceEvaluator(edu.umass.cs.mallet.base.types.Alphabet tagAlphabet)
           
 
Method Summary
 void evaluate(SLInstance[] data, Predictor predictor)
          Evaluates the predictor with the data according to this evaluator.
 void evaluate(SLInstance[] data, Predictor predictor, java.lang.String featureFile)
          Evaluates the predictor with the data according to this evaluator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static java.util.logging.Logger logger

tagAlphabet

private edu.umass.cs.mallet.base.types.Alphabet tagAlphabet

outFile

public java.lang.String outFile
Constructor Detail

SequenceEvaluator

public SequenceEvaluator(edu.umass.cs.mallet.base.types.Alphabet tagAlphabet)
Method Detail

evaluate

public void evaluate(SLInstance[] data,
                     Predictor predictor)
Description copied from interface: SLEvaluator
Evaluates the predictor with the data according to this evaluator.

Specified by:
evaluate in interface SLEvaluator

evaluate

public void evaluate(SLInstance[] data,
                     Predictor predictor,
                     java.lang.String featureFile)
              throws java.io.IOException
Description copied from interface: SLEvaluator
Evaluates the predictor with the data according to this evaluator.

Specified by:
evaluate in interface SLEvaluator
Throws:
java.io.IOException


Copyright (C) 2006 University of Pennsylvania.