not really. You can specify
  -start-translation-id 555
to the decoder and the grammar file that it uses will be grammar.555,
grammar.556 ....

The sequence file that contains
   <seg grammar=
looks like something that cdec would understand


On 11 May 2014 03:13, Mohammad Salameh <[email protected]> wrote:

> Hi All,
> I am using suffix array for hierarichal models. And I have generated the
> grammar per sentence files using
> ./scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh
>
> During decoding with moses_chart I am providing the directory path in the
> config file for all the grammar sentences, which works fine. But is there
> a way that I can specify which grammar file I want to use for each sentence
> in the test file ?
>
> The script above also generates  a sentence file of the format:
> <seg grammar="/local/scratch/work/a4/evaluation/ORD/grammar.0.gz"
> id="0">erdogan states turkey to reject any pressures to urge it to
> recognize cyprus </seg>
>
> but the decoder seems not to be aware of the path in the sentence.
>
> Regards,
> Salameh
>
>
>
>
> _______________________________________________
> 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