edu.cmu.sphinx.result
Class GDLLatticeFactory

java.lang.Object
  extended byedu.cmu.sphinx.result.GDLLatticeFactory

public class GDLLatticeFactory
extends java.lang.Object

Creates a Lattice from a GDL (AISee) Lattice file. One can obtain such a GDL file from a lattice by calling the Lattice.dumpAISee method.


Method Summary
static Lattice getLattice(java.lang.String gdlFile, Dictionary dictionary)
          Create a Lattice from a GDL (AISee) Lattice file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLattice

public static Lattice getLattice(java.lang.String gdlFile,
                                 Dictionary dictionary)
                          throws java.io.IOException
Create a Lattice from a GDL (AISee) Lattice file.

Parameters:
gdlFile - the lattice file
dictionary - the dictionary to use to look up words
Throws:
java.io.IOException