where are your binary files, and what are they called?

If they are in the folder
/home/tjr/working/binarised-model/
and the are callled
   phrase-table.binphr.*
then your moses.ini file is correct.

If not, then change your ini file

On 15/06/2013 13:21, Heidi Heweidy wrote:
Hello,
I am following the guidlines on http://www.statmt.org/moses/?n=Moses.Baseline and I am currently done with binarising the phrase-table and lexicalised reordering models.
The problem is that when I re-test using this command:
echo "faire revenir les militants sur le terrain et convaincre que le vote est utile ." | ~/mosesdecoder/bin/moses -f ~/working/binarised-model/moses.ini
I get an exception at the end:
Defined parameters (per moses.ini or switch):
config: /home/tjr/working/binarised-model/moses.ini
distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6 /home/tjr/working/binarised-model/reordering-table
distortion-limit: 6
input-factors: 0
lmodel-file: 8 0 3 /home/tjr/lm/news-commentary-v7.fr-en.blm.en
mapping: 0 T 0
ttable-file: 0 0 0 5 /home/tjr/working/binarised-model/phrase-table
ttable-limit: 20
weight-d: 0.125503 0.0905361 0.00741895 -0.0183559 0.095705 0.0539418 0.0144993
weight-l: 0.0861379
weight-t: 0.0290986 0.0822169 0.0951041 0.0439481 0.120799
weight-w: -0.136735
/home/tjr/mosesdecoder/bin
ScoreProducer: Distortion start: 0 end: 1
ScoreProducer: WordPenalty start: 1 end: 2
ScoreProducer: !UnknownWordPenalty start: 2 end: 3
Loading lexical distortion models...have 1 models
ScoreProducer: LexicalReordering_wbe-msd-bidirectional-fe-allff start: 3 end: 9
Creating lexical reordering...
weights: 0.091 0.007 -0.018 0.096 0.054 0.014
binary file loaded, default OFF_T: -1
Start loading LanguageModel /home/tjr/lm/news-commentary-v7.fr-en.blm.en : [0.280] seconds
ScoreProducer: LM start: 9 end: 10
Finished loading LanguageModels : [0.329] seconds
Start loading PhraseTable /home/tjr/working/binarised-model/phrase-table : [0.330] seconds
filePath: /home/tjr/working/binarised-model/phrase-table
ScoreProducer: PhraseModel start: 10 end: 15
Finished loading phrase tables : [0.330] seconds
Start loading phrase table from /home/tjr/working/binarised-model/phrase-table : [0.330] seconds Exception: util/file.cc:63 in int util::OpenReadOrThrow(const char*) threw ErrnoException because `-1 == (ret = open(name, 00))'. No such file or directory while opening /home/tjr/working/binarised-model/phrase-table

Please help me on that.
Thank you.


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

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

Reply via email to