Search Mailing List Archives
[java-nlp-user] phrase with gaps for phrasal decoder
horatio at gmail.com
Tue May 3 15:09:48 PDT 2011
There are two things you need to set to get this to work. First, in
the extract-phrases script, it calls
edu.stanford.nlp.mt.train.ExtractPhrases. You want to add the flag
"-withGaps true" to EXTRACT_OPTS.
Then, in phrasal-mert.pl, you want to it to run
edu.stanford.nlp.mt.Phrasal with the flag "--gaps". I haven't tried
this myself, but I think you can do this by using the flag
"--phrasal_flags=--gaps". You could also change the line in
phrasal-mert.pl that says $phrasal_flags=""; to make it so it passes
"--gaps" to Phrasal.
Best of luck,
On Sat, Apr 30, 2011 at 8:01 AM, ThuyLinh Nguyen <thuylinh at cs.cmu.edu> wrote:
> I want to try the phrasal decoder for discontinuous phrases as described in
> (Galley, 2010) NAACL paper but can't find that option in the document/help
> of current beta 1c release.
> can you explain how to do that?
> Thank you,
> java-nlp-user mailing list
> java-nlp-user at lists.stanford.edu
More information about the java-nlp-user