you're quite right. there's no good reason why it changed. I've deleted the
  -distinct-nbest
and put it back to the old way, eg.

   [n-best-list]
   nbest
   100
   distinct

i've also added a regression test so that it doesn't change in the future
without us knowing about it

https://github.com/moses-smt/moses-regression-tests/commit/a9533f057b3ccf18896cd7133f066ebd8742fdde

On 13 February 2013 13:30, Joerg Tiedemann <[email protected]>wrote:

> Dear Moses developers,
>
> Would it be possible to put the old way back for compatibility reasons?
> I also used the flag in several experiments and I would like to avoid
> changing scripts and makefiles depending on the version of moses
> installed ...
> Thanks,
> Jörg
>
>
> On Wed, Feb 13, 2013 at 1:49 PM, Holger Schwenk
> <[email protected]> wrote:
> > On 02/13/2013 12:04 PM, Peled Guy wrote:
> >
> > Hi,
> >
> > We are developing a Transliteration machine and we have a problem taking
> > evaluation of Top2\Top5\Top10 results from Moses.
> > When we tell Moses to give us n-best-list we get duplication of words,
> for
> > example:
> >
> > 3 ||| c a r d i n a l s  ||| d: 0 -0.554311 0 0 -0.0434849 0 0 lm:
> -48.3492
> > w: -9 tm: -0.405465 -1.35896 -0.435318 -2.24059 1.99979 ||| -0.628302
> > 3 ||| c a r d i n e l s  ||| d: 0 -0.18903 0 0 -0.100083 0 0 lm:
> -72.2741 w:
> > -9 tm: -0.20067 -1.98284 -0.374693 -3.90471 1.99979 ||| -0.860206
> > 3 ||| c a r d i n a l e s  ||| d: 0 -0.239436 0 0 -0.167054 0 0 lm:
> -49.6022
> > w: -10 tm: -0.445845 -1.98283 -1.75803 -4.37584 1.99979 ||| -0.952976
> > 3 ||| c a r d i n a l s  ||| d: 0 -0.250828 0 0 -0.189811 0 0 lm:
> -48.3492
> > w: -9 tm: -0.370756 -1.35896 -1.47988 -2.24058 2.99969 ||| -0.957803
> > 3 ||| c a r d i n a l s  ||| d: 0 -0.53416 0 0 -0.0646484 0 0 lm:
> -48.3492
> > w: -9 tm: -0.245411 -1.35896 -1.2423 -2.24058 1.99979 ||| -0.958115
> >
> > We've try to use the distinct flag, but nothing have changed.
> >
> > Hello,
> >
> > I think that I had the same problem recently.
> > I found that the option has changed in recent versions of Moses, you
> should
> > specify "-distinct-nbest" as an extra flag.
> > Adding "distinct" after "-n-best-list" has no effect, but doesn't lead
> to an
> > error either.
> >
> > hope this helps,
> >
> > Holger
> >
> >
> > _______________________________________________
> > Moses-support mailing list
> > [email protected]
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> >
>
>
>
> --
>
> **********************************************************************************
>  Jörg Tiedemann
> [email protected]
>  Dep. of Linguistics and Philology
> http://stp.lingfil.uu.se/~joerg/
>  Uppsala University                                  tel:  +46 (0)18 -
> 471 1412
>  Box 635, SE-751 26 Uppsala/SWEDEN    fax: +46 (0)18 - 471 1094
>
> _______________________________________________
> 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
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to