Moses Support Digest: Moses seems to hang

[Moses-support] Moses seems to hang

I just built a new moses system with the newest releases of all
components:
1) GIZA++ (SVN rev 8, v 1.0.3)
2) IRSTLM (SVN rev 38, v 5.40.01)
3) Moses (SVN rev 3210, dated 4-26-2010)

My host system is the new Ubuntu-server 10.04 LTS 64-bit. I’ll be
contributing several patches as soon as I confirm they’re working.

The all components now builds successfully. The LM training goes smoothly,
as does the train-factored-phrase-model.perl training. Binarizing LM,
phrase and reordering tables goes as expected.

When I try to run my first test translations before tuning, Moses seems to
load the reordering table, phrase table and language models. Then, the
system does nothing. There is no output. It stays suspended until I hit
Ctrl-C.

Here’s the input:

dit is niet gebeurd . | moses -f ./model/moses.ini

Here’s the output:

Defined parameters (per moses.ini or switch):
config: ./model/moses.ini
distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6
./model/reordering-table
distortion-limit: 6
input-factors: 0
lmodel-file: 0 0 3 ./lm/irstlm-3.en.blm.mm
mapping: 0 T 0
ttable-file: 0 0 0 5 ./model/phrase-table
ttable-limit: 20
weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
weight-l: 0.5000
weight-t: 0.2 0.2 0.2 0.2 0.2
weight-w: -1
Loading lexical distortion models…have 1 models
Creating lexical reordering…
weights: 0.300 0.300 0.300 0.300 0.300 0.300
binary file loaded, default OFF_T: -1
Start loading LanguageModel ./lm/irstlm-3.en.blm.mm : [0.000] seconds
Loading Internal LM: ./lm/irstlm-3.en.blm.mm
./lm/europarl.v5.mini-irstlm-3.en.blm.mm
Finished loading LanguageModels : [1.000] seconds
Start loading PhraseTable ./model/phrase-table : [1.000] seconds
filePath: ./model/phrase-table

((( this is where it stops until I hit Ctrl-C )))

I’ve never seen this before. Any suggestions?

Thanks,
Tom

Re: [Moses-support] Moses seems to hang

It looks like it is trying to use the internal language model instead of
the IRSTLM one. Check the line for your language model in model.ini.
Here is what I have for an IRSTLM 5-gram unfactored language model:

# language models: type(srilm/irstlm), factors, order, file
[lmodel-file]
1 0 5 /tmp/work/sq.blm

(This might not be related to your problem, but it struck me as odd at
any rate)

Regards,

Fran

Related posts:

  1. Moses Support Digest:ConfusionNet GetSubString error when using lattice with UTF8 input
  2. Moses Support Digest: moses-irstlm memory racing with 5-gram lm
  3. Moses Support Digest:CreateBerkeleyPt and On-Disk Rule Table
  4. Moses Support Digest:Is reordering model a must-be-used component to use?
  5. Moses Support Digest: Regarding moses.weight-reused.ini
  6. Moses Support Digest:Alignment information from binary phrase table
  7. Moses Support Digest: Moses on the iPhone
  8. Moses Support Digest:about the moses-chart reordering
  9. Moses Support Digest:Tuning failure with Language model type unknown
  10. Moses Support Digest:2.718 in the phrase-table
This entry was posted in Moses, SMT and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>