Hello all,
              I am trying to perform factored decoding and would like my
final hypotheses to be a joint token (surface form+factor). The following is
my moses.ini file
#########################
### MOSES CONFIG FILE ###
#########################
# input factors
[input-factors]
0
# mapping steps
[mapping]
0 T 0
# translation tables: source-factors, target-factors, number of scores, file
[ttable-file]
0 0,1 5 /home/ENRICHED_TRANSLATION/Moses/words+accent/model/phrase-table.0-0
,1.gz
# no generation models, no generation-file section
# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
0 0 3 /home/ENRICHED_TRANSLATION/Moses/words+accent/lm/train.en.lm
0 1 6 /home/ENRICHED_TRANSLATION/Moses/words+accent/lm/train.accent.lm
AND SO ON...

The phrase translation table does contain 0-0,1 pairs. However, when I
decode using
~/moses/bin/moses -config ./model/moses.ini -input-file test.file > XX
The XX output contains only surface form; doesn't contain the surface
form+factor. The BEST TRANSLATION that the decoder produces however consists
of the surface form+factor. It is pretty straightforward to grep for the
output from the BEST TRANSLATION. However, I would like to understand why
the output file dumped does not contain the joint token. Any pointers ?

Best
Vivek
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to