Hi Barry and Hieu,

Thanks, that worked! Yes, the sample moses.ini has the extra 0 in it.

Alec

On Sun, Feb 14, 2010 at 9:25 AM, Hieu Hoang <[email protected]> wrote:

> err, it's the sample ini file from the website. I'll change it now
>
> On 14 February 2010 17:21, Barry Haddow <[email protected]> wrote:
>
>> Hi Alec
>>
>> It looks as though you have an error in your moses.ini
>>
>> > ttable-file: 0 0 0 1 ../phrase-model/phrase-table
>>
>> There's an extra 0 in this line.
>>
>> regards
>> Barry
>>
>> On Sunday 14 Feb 2010 17:01:24 Alec Go wrote:
>> > Hi,
>> >
>> > I am a beginner and I just downloaded the binary (moses-cmd.2007-05-29)
>> >  from http://goo.gl/Mrpn. I then followed the tutorial
>> >  (http://goo.gl/UNwD). I get an error when I try to use the simple
>> >  translation model:
>> >
>> > ubu...@ubuntu-desktop:~/Desktop/sample-models/phrase-model$
>> > ./moses-cmd.2007-05-29 -f moses.ini < in > out
>> > Defined parameters (per moses.ini or switch):
>> > config: moses.ini
>> > input-factors: 0
>> >  lmodel-file: 0 0 3 ../lm/europarl.srilm.gz
>> > mapping: T 0
>> > ttable-file: 0 0 0 1 ../phrase-model/phrase-table
>> >  ttable-limit: 10
>> > weight-d: 1
>> > weight-l: 1
>> >  weight-t: 1
>> > weight-w: 0
>> > *ERROR:File 1 does not exist*
>> >
>> > I verified that I have the correct paths to europarl.srilm.gz,
>> >  phrase-table, in, and out. Is the binary intended to be used this way?
>> If
>> >  not, I can try to compile everything.
>> >
>> > Thanks,
>> > Alec
>> >
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>>
>
> _______________________________________________
> 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