Hi Heidi

Can you please send me the original (unchanged) version of  moses.ini you
have, and the version you changed it to.

The format of the ini file has changed in the last few months. The online
guide was updated to reflect the new format. You are probably using the old
version and are mixing instructions for new and old format.

To get the old online guide, please see this link
    http://web.archive.org/web/20130529163920/http://www.statmt.org/moses/





On 16 August 2013 10:51, Heidi Heweidy <[email protected]> wrote:

> 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
>
>


-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to