Hello everybody,
I tried binarizing my phrase table using the following command:
gunzip -c phrase-table2.gz | LC_ALL=C sort |
~/mosesdecoder/trunk/misc/processPhraseTable -ttable 0 0 - -nscores 5 -out
phrase-table
It seems to be successful; ls -al shows:
-rw-r--r-- 1 rico rico 805732 2010-07-02 10:17 phrase-table.binphr.idx
-rw-r--r-- 1 rico rico 75535920 2010-07-02 10:17 phrase-table.binphr.srctree
-rw-r--r-- 1 rico rico 1687900 2010-07-02 10:17 phrase-table.binphr.srcvoc
-rw-r--r-- 1 rico rico 234662596 2010-07-02 10:17 phrase-table.binphr.tgtdata
-rw-r--r-- 1 rico rico 1042163 2010-07-02 10:17 phrase-table.binphr.tgtvoc
-rw-r--r-- 1 rico rico 92194430 2010-06-14 07:54 phrase-table2.gz
but when translating a test file:
moses -f moses.ini -v 4 < input > output
I get the following error output:
Defined parameters (per moses.ini or switch):
config: moses.ini
distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6
/home/rico/smtworkspace/SACde-fr83/
model/reordering-table.wbe-msd-bidirectional-fe
distortion-limit: 6
input-factors: 0
lmodel-file: 0 0 5 /home/rico/smtworkspace/textberg/SAC.118+.lm.fr
mapping: 0 T 0
ttable-file: 0 0 0 5 /home/rico/smtworkspace/SACde-fr83/
model/phrase-table
ttable-limit: 20
verbose: 4
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
input type is: text input
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
/home/rico/smtworkspace/textberg/SAC.118+.lm.fr :[0.000] seconds
Finished loading LanguageModels : [1.000] seconds
About to LoadPhraseTables
Start loading PhraseTable
/home/rico/smtworkspace/SACde-fr83/model/phrase-table: [1.000] seconds
filePath: /home/rico/smtworkspace/SACde-fr83/model/phrase-table
using standard phrase tables
PhraseDictionaryMemory: input=FactorMask<0> output=FactorMask<0>
Can't read /home/rico/smtworkspace/SACde-fr83/model/phrase-table
Can't see what I did wrong, since this used to work on my old system.
My current system is a 64-bit Ubuntu 10.04 machine
with the newest SVN checkout of moses.
I appreciate any help/suggestions,
Rico
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support