"format error in lattice file"?

Andreas Stolcke stolcke at speech.sri.com
Mon May 9 10:23:40 PDT 2005


PFSG format supports only a single score so there is no way to
combine acoustic and LM probabilities etc.

You should encode your lattices in HTK format, rescore the
lattices with your chosen LM, and decode using a weighted 
combination of scores.

--Andreas

In message <a3290a1a050509085529c7ce75 at mail.gmail.com>you wrote:
> Hi,
> 
> I'm trying to use lattices and language models. I have a lattice of
> words coming from a low level decoding process (each word is
> associated to a probability).
> 
> If I use 
> 
> lattice-tool.exe -in-lattice my_lattice.pfsg -viterbi-decode
> 
> I get the best path in this lattice. So far so good.
> 
> Now I want to add a language model to this decoding. But if I use 
> 
> lattice-tool.exe -in-lattice my_lattice.pfsg -viterbi-decode -lm
> my_language_model.bo
> 
> it seems that I get the best path according to the language model, not
> taking into account the low level probabilities.
> 
> Am I right ? Is there a way to decode with both probabilities ?
> 
> Thanks in advance,
> 
> --
> C. Kermorvant
> 




More information about the SRILM-User mailing list