I am setting up a french english system as in the online guide.
Everything was fine until I reached:

Then make a copy of the ~/working/mert-work/moses.ini in the
binarised-model directory and change the phrase and reordering tables to
point to the binarised versions, as follows:

   1. Change PhraseDictionaryMemory to PhraseDictionaryBinary
   2. Set the path of the PhraseDictionary feature to point to
$HOME/working/binarised-
   model/phrase-table
   3. Set the path of the LexicalReordering feature to point to
$HOME/working/binarised-
   model/reordering-table


I cant find PhraseDictionaryMemory ! And when I decided to discard this
step, I got an exception even though I changed the LexicalReordering
[ttable] to 1 0 0 5 /home/tjr/working/binarised-model/phrase-table instead
of 0 0 0 5 /home/tjr/working/train/model/phrase-table.gz

I also tried to put this instead of the above but it was no good:
PhraseDictionaryBinary num-features=5
path=/home/tjr/working/binarised-model/phrase-table.gz input-factor=0
output-factor=0

The exception I get is:
 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

I know it is a problem of versions but I cant figure a way to recover from
this issue.
Thanks in advance :)
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to