[SRILM User List] About language model rescoring output

Andreas Stolcke stolcke at icsi.berkeley.edu
Wed Jul 3 00:02:44 PDT 2013

On 6/25/2013 6:51 AM, yuan liang wrote:
> Hi all,
> I want to rescore a bigram lattice use a trigram language model.
> I tired:
>        lattice-tool -in-lattice INPUTLATTICE -read-htk -lm TRIGRAM_LM 
> -order 3 -old-expansion -out-lattice -write-htk OUTPUTLATTICE
> The problem is:
> In the output lattice, there is no acoustic model score for each arc, 
> each arc only has new language model score, did I miss some parameters?
No.  If the input lattices contain a= fields on nodes or links then so 
should the output lattice.
When I run the above command on some lattices I get outputs containining 
lines like the following

J=3     S=0     E=4     W=uhhuh a=-89.5173     l=-1.42187


More information about the SRILM-User mailing list