Hi,

the idea of decomposing translation options into several decoding steps is
currently limited to phrase-based models. So, you can't have these steps in
a hierarchical model.

In any case, the error here is triggered by the line:
    open(GEN,">$file") or die "ERROR: Can't write $file";

There may be several reasons why the file system does not allow you to
write the
file into the directory /home/eilmt/wrk-dir/wrk-jhu-fact-hiero/model/ -
maybe the file
system is full, the directory does not exist, or you do not have the right
permissions.

-phi


On Sat, May 4, 2013 at 2:01 PM, Hieu Hoang <[email protected]> wrote:

>
> On 04/05/2013 09:23, Prasanth K wrote:
>
> Hi Rakesh,
>
>  It looks like you are trying to build a hierarchical translation model
> with part-of-tags as additional factors. Looking at the archives from
> moses-support, there were a couple of threads previously where Philipp
> mentioned the lack of support for factored models in the hierarchical chart
> decoder. You can find links to these threads, both of which are about a
> couple of years old.
> http://thread.gmane.org/gmane.comp.nlp.moses.user/4420/focus=4423
>  http://thread.gmane.org/gmane.comp.nlp.moses.user/4687/focus=4688
>
>  May be Hieu / Barry / Philipp can confirm if this is still the case?
> Does Moses support factored models for hierarchical models (and the chart
> decoder) ? If it does, are there any restrictions on the type of steps that
> can be used in decoding (Generation?).
>
> having factors should work. I haven't tried it but Phil Williams has, I
> think. If it doesn't please let me know and I'll fix it.
>
> Generation steps aren't implemented. If you need them, let me know
>
>
>  - Prasanth
>
>
>
> On Sat, May 4, 2013 at 7:04 AM, jayendra rakesh <[email protected]
> > wrote:
>
>>   Hi,
>>
>>  My EMS with following settings, *crashes at build-generation stage*.
>> *
>> input-factors = word pos
>> output-factors = word pos
>> alignment-factors = "word -> word"
>> translation-factors = "word -> word,pos -> pos"
>> #reordering-factors = "word -> word"
>> generation-factors = "pos -> word"
>> decoding-steps = "t0,t1,g0"*
>>
>> The error seen in TRAINING_build-generation.1.STDERR file is as follows
>>
>> *Using SCRIPTS_ROOTDIR: /tools/mosesdecoder-master/scripts
>> (8) learn generation model @ Wed May  1 23:51:27 IST 2013
>> (8) [1-0] generate generation table @ Wed May  1 23:51:27 IST 2013
>> ERROR: Can't write
>> /home/eilmt/wrk-dir/wrk-jhu-fact-hiero/model/generation-table.1.1-0 at
>> /tools/mosesdecoder-master/scripts/training/train-model.perl line 1773.*
>>
>>  Thanking you,
>>
>> --
>> - Jayendra Rakesh.
>>    BTech CSD.
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
>  --
> "Theories have four stages of acceptance. i) this is worthless nonsense;
> ii) this is an interesting, but perverse, point of view, iii) this is true,
> but quite unimportant; iv) I always said so."
>
>   --- J.B.S. Haldane
>
>
> _______________________________________________
> Moses-support mailing 
> [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> _______________________________________________
> 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