[SRILM User List] Generate HTK lattice from Class-based language model

Andreas Stolcke stolcke at icsi.berkeley.edu
Tue May 3 19:53:08 PDT 2011


Meng Chen wrote:
> Could I expand the class-based language model to word-based language 
> model first, then interpolate with the word-based language model to 
> work around? I mean I could generate the word lattices by HTK, because 
> there are only words in language model now.
Yes, you can do that if the LM and the class membership is small enough 
to not run out of memory.

Andreas


>
> On Wed, May 4, 2011 at 10:26 AM, Andreas Stolcke 
> <stolcke at icsi.berkeley.edu <mailto:stolcke at icsi.berkeley.edu>> wrote:
>
>     Meng Chen wrote:
>
>         I wasn't going to generate lattices from acoustic data. I mean
>         how to generate word lattices from language model which
>         interpolated the class-based language model with word-based
>         language model. Should I expand the classes in the langugage
>         model? Or by some other method?
>
>     You need a speech recognizer or some other similar constraint
>     (like a machine translation system with an input sentence) to
>     constrain the lattice generation.
>
>     Andreas
>
>         Thanks!
>
>
>         On Wed, May 4, 2011 at 1:24 AM, Andreas Stolcke
>         <stolcke at icsi.berkeley.edu <mailto:stolcke at icsi.berkeley.edu>
>         <mailto:stolcke at icsi.berkeley.edu
>         <mailto:stolcke at icsi.berkeley.edu>>> wrote:
>
>            Meng Chen wrote:
>
>                Hi, I want to generete the HTK lattice in order to do
>         speech
>                recognition with HVite. I have trained a bigram Class-based
>                language model and interpolated with a bigram word-based
>                language model. However, I don't know how to generate
>         the HTK
>                lattice from the interplolated language model. Can
>         anyone tell
>                me how to generate it in details?
>
>            This is a question for HTK people.  SRILM does not generate
>            lattices from acoustic data, it is only a language modeling
>         toolkit.
>
>            Andreas
>
>
>
>
>



More information about the SRILM-User mailing list