On 5 February 2014 14:34, Jose Casimiro Pereira <[email protected]> wrote:

> Hi all,
>
>
>
> I'm trying to train a syntax-based "string-to-tree" model with syntactic
> annotation.
>
>
>
> I read the "Syntax Tutorial" at
> http://www..statmt.org/moses/?n=Moses.SyntaxTutorial<http://www.statmt.org/moses/?n=Moses.SyntaxTutorial>and
>  I'm finding several difficulties.
>
> I'll appreciate your  help, and answers, to these questions:
>
>
>
> When training,
>
> - what is supposed to use with "-hierarchical" parameter?
>

this just tells the train-model.perl script to create a syntax model,
rather than a phrase-based model. (it was originally used just to create
hierarchical model, hence the name)

>
>
> - I suppose that "-glue-grammar" parameter is to specify the location of
> 'glue-grammar' file. Ok, but how to obtain that file?
>

The glue grammar is created when extracted the rules from your parallel
corpus,


>
> - In http://www.statmt.org/moses/?n=moses.baseline there is a complete
> explanation on how to train a phrase-based system.
>
> There is any place where I can find similar tutorial to "string-to-tree"?
>

If you haven't already done so, you should start by training a hiearchical
model. There are good examples for that, eg.

https://github.com/moses-smt/mosesdecoder/blob/master/scripts/ems/example/config.hierarchical

I can't find a good explanation of how to train a string-to-tree model.
It's difficult to create a simple example for syntax models because you
need to use external tools like parsers.



>
>
> - In http://www.statmt.org/moses/download/sample-models.tgz is provided a
> sample to "string-to-tree" model. The files provided, are the "final" ones,
> after training. Where can I get the "source" files?
>

It's just a toy model. I don't think it's a very good example so I may
remove it.


> I ask this because I'm a litle confused with the type of files that I must
> have to make a "string-to-tree 'system.
>
>
>
> Thank you very much in advance.
>
>
>
> Best regards,
>
> j.casimiro
>
>
>
>
> ------------------------------
>    <http://www.avast.com/>
>
> Este email está liivre de vírus e malware porque a proteção avast!
> Antivirus <http://www.avast.com/> está ativa.
>
>
> _______________________________________________
> 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