Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: "format error in lattice file"?

From: Andreas Stolcke <stolcke at ADDRESS HIDDEN>
Date: Mon, 09 May 2005 10:23:40 PDT

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 ADDRESS HIDDEN>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
>

Click here to go to the SRILM home page.