[SRILM User List] FW: Create Phone Lattices

Andreas Stolcke stolcke at icsi.berkeley.edu
Thu Apr 10 22:49:27 PDT 2014

On 4/9/2014 3:40 PM, Andreas Stolcke wrote:
> *From:*Dmitriy Ivanko [mailto:dmitriy_ivanko at yahoo.com]
> *Sent:* Wednesday, April 9, 2014 5:19 AM
> *To:* Andreas Stolcke
> *Subject:* Create Phone Lattices
> Hello, Andreas Stolcke !
> Thank you for your programm "lattice-too.exe" in SRI LM.
> I'm sorry for my English.
>     Can you help me. I try create N-gram Language Model by using 
> EM-algorithm and Lattices. I have lattices, but I don't know: is it 
> possible create Language Model, using EM-algorithm?
> Like in article:
> Messaoudi, and H. Schwenk.
> Anyway thank you!
> Best Regards,
> Dmitriy Ivanko.

Yes, you can use

     lattice-tool -write-ngrams (plus options to specify the lattices, 
ngram order etc.)

to compute expected ngrams counts from lattices.   The lattices should 
be in HTK format.  You can then estimate LMs from the expected ngram 
counts (using ngram -float-counts ...).

I have personally used this method to implement the Gauvain et al. 
language recognition method, and it works great.  I'm not sure how well 
it works for other tasks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20140410/b3c7cc52/attachment.html>

More information about the SRILM-User mailing list