edu.cmu.sphinx.util
Class FileReferenceSource

java.lang.Object
  extended byedu.cmu.sphinx.util.FileReferenceSource
All Implemented Interfaces:
ReferenceSource

public class FileReferenceSource
extends java.lang.Object
implements ReferenceSource

A source of reference texts.


Constructor Summary
FileReferenceSource(java.lang.String file)
          Constructs a ReferenceSource from a reference file.
 
Method Summary
 java.util.List getReferences()
          Returns a list of reference text.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileReferenceSource

public FileReferenceSource(java.lang.String file)
                    throws java.io.IOException
Constructs a ReferenceSource from a reference file.

Parameters:
file - the reference file
Method Detail

getReferences

public java.util.List getReferences()
Returns a list of reference text.

Specified by:
getReferences in interface ReferenceSource
Returns:
a list of reference text