done.inpro.system.completion
Class CompletionEvaluator

java.lang.Object
  extended by inpro.incremental.PushBuffer
      extended by inpro.incremental.evaluation.BasicEvaluator
          extended by done.inpro.system.completion.CompletionEvaluator
All Implemented Interfaces:
edu.cmu.sphinx.instrumentation.Resetable, edu.cmu.sphinx.util.props.Configurable

public class CompletionEvaluator
extends BasicEvaluator

receives timing predictions from the TurnCompleter and evalutes them once these words are committed


Nested Class Summary
private  class CompletionEvaluator.EvalEntry
           
 
Field Summary
private  java.util.Queue<CompletionEvaluator.EvalEntry> onsetResults
           
 
Fields inherited from class inpro.incremental.evaluation.BasicEvaluator
committedWords
 
Constructor Summary
CompletionEvaluator()
           
 
Method Summary
protected  void evaluate()
           
 void newOnsetResult(WordIU word, double onsetTime, int frameCount, WordIU nextWord, double nextWordEndEstimate)
           
 
Methods inherited from class inpro.incremental.evaluation.BasicEvaluator
checkForCommits, hypChange
 
Methods inherited from class inpro.incremental.PushBuffer
newProperties, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

onsetResults

private final java.util.Queue<CompletionEvaluator.EvalEntry> onsetResults
Constructor Detail

CompletionEvaluator

public CompletionEvaluator()
Method Detail

newOnsetResult

public void newOnsetResult(WordIU word,
                           double onsetTime,
                           int frameCount,
                           WordIU nextWord,
                           double nextWordEndEstimate)

evaluate

protected void evaluate()
Specified by:
evaluate in class BasicEvaluator