Hieu,

Yes. Without the "-print-alignment-info" argument, moses outputs 5 expected translations from a small input file. With the "-print-alignment-info" argument, the 1st, 3rd and 5th expected translations are fine. The 2nd and 4th are zero-length strings. Unexpectedly strange results, indeed. Since "-print-alignment-info" was not in R-1, this is my first time using it.

The model is very small from a 15,000 pair NL-EN example corpus we've used for years for testing. The model is small. Phrase & reordering tables are compact format. The LM is trained by lmplz, binarized in KenLM format and loaded with "9" option.

Let me put together a package with examples and get back to you. The package will include the .gz files, compact & binary files, the moses.ini file, the input file, the command lines I use and the corresponding outputs. I'll have that ready early next week.

Tom


On 03/16/2015 11:58 PM, Hieu Hoang wrote:
You're saying it gives a different translation depending on whether -print-alignment-info is used or not? That would be a very strange behaviour. Which phrase-table are you using?

If you can share your model files, i'll take a look at it.

Hieu Hoang
Research Associate (until March 2015)
University of Edinburgh
http://www.hoang.co.uk/hieu

On 16 March 2015 at 02:53, Tom Hoar <[email protected] <mailto:[email protected]>> wrote:

    This is my first time using the '-print-alignment-info' option and I'm
    getting some unexpected results.

    In a set of five sentences, when using no option or
    '-report-segmentation' or '-report-segmentation-enriched', all five
    sentence translations are output with respective alignment info. With
    the '-print-alignment-info' option, two sentence translations are
    output
    as zero-length strings.

    Is this what is meant when the help prompt says: "Word-to-word
    alignments are taken from the phrase table if any"?

    When no word-to-word alignment info is in the phrase table, I would
    expect the translated output followed by " ||| " and then nothing.

    Thanks.

    _______________________________________________
    Moses-support mailing list
    [email protected] <mailto:[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