[SRILM User List] Lattice Viterbi decoding

Felipe Sánchez Martínez fsanchez at dlsi.ua.es
Mon Aug 31 00:43:32 PDT 2009


Hi all,

I am using SRILM to score a set of translation candidates of a given
sentence. 

The sentence is divide into chunks, some of them having a fix
translation and others having different alternatives:

text1 | text2 | text3.1 or text3.2 | text4 | text5.1 or text5.2

As the number of combinations is exponential in the length of the
sentences I have been trying to use lattice-tool to compute the Viterbi
path but I am not able to make it work. I am using the following command
line:

$ lattice-tool -viterbi-decode -in-lattice lattice.pfsg -lm model.lm
-order 5 -debug 1

but I get exactly the same result with 5, 3 or even 0 n-gram order.

In addition, with the example sentence I am working with I get a
different path if I use SRILM in the usual way by scoring all possible
translations of the sentence.

What am I doing wrong? Thank you very much in advance.

PS: I am using srilm 1.5.7
-- 
Felipe



More information about the SRILM-User mailing list