edu.cmu.sphinx.util
Class BatchItem

java.lang.Object
  extended byedu.cmu.sphinx.util.BatchItem

public class BatchItem
extends java.lang.Object

Provides a standard interface to for a single decode in a batch of decodes


Constructor Summary
BatchItem(java.lang.String filename, java.lang.String transcript)
          Creates a batch item
 
Method Summary
 java.lang.String getFilename()
          Gets the filename for this batch
 java.lang.String getTranscript()
          Gets the transcript for the batch
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchItem

public BatchItem(java.lang.String filename,
                 java.lang.String transcript)
Creates a batch item

Parameters:
filename - the filename
transcript - the transcript
Method Detail

getFilename

public java.lang.String getFilename()
Gets the filename for this batch

Returns:
the file name

getTranscript

public java.lang.String getTranscript()
Gets the transcript for the batch

Returns:
the transcript (or null if there is no transcript)