El ds 15 de 05 de 2010 a les 02:47 -0700, en/na
[email protected] va escriure:
> 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? 

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

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

Reply via email to