Lattice Viterbi decoding

Felipe Sánchez Martínez fsanchez at dlsi.ua.es
Wed Jul 1 08:50:52 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 Sánchez Martínez
Departamento de Lenguajes y Sistemas Informáticos
Universidad de Alicante, E-03071 Alicante (Spain)
Tel.: +34 965 903 400, ext: 2966 Fax: +34 965 909 326
http://www.dlsi.ua.es/~fsanchez




More information about the SRILM-User mailing list