I recently checked in the N-best re-scorer I wrote since I couldn't find a
good existing one either:
https://github.com/moses-smt/mosesdecoder/tree/master/scripts/nbest-rescore.
Given an N-best list and references, it uses K-best MIRA to learn
re-ranking weights relatively quickly.  It's agnostic to original decoder
and optimizer as long as entries are in the right format.  The readme
includes more detailed instructions.

Best,
Michael

On Tue, Mar 8, 2016 at 8:25 AM, Philipp Koehn <[email protected]> wrote:

> Hi,
>
> there is this mysterious check-in:
>
>   Commit: c6314d927d8b7b638eca387f31ccfab7facb6624
>
> https://github.com/moses-smt/mosesdecoder/commit/c6314d927d8b7b638eca387f31ccfab7facb6624
>   Author: Michael Denkowski <[email protected]>
>   Date:   2016-02-23 (Tue, 23 Feb 2016)
>
>   Changed paths:
>     A scripts/nbest-rescore/README.md
>     A scripts/nbest-rescore/rescore.py
>     A scripts/nbest-rescore/topbest.py
>     A scripts/nbest-rescore/train.py
>
> -phi
>
> On Tue, Mar 8, 2016 at 8:18 AM, Lane Schwartz <[email protected]> wrote:
>
>> I don't think there is. At my previous lab, I believe we had to build our
>> own in-house script. It would be nice to have one in moses.
>>
>> On Sat, Oct 31, 2015 at 12:56 PM, Marcin Junczys-Dowmunt <
>> [email protected]> wrote:
>>
>>> Hi,
>>> does moses include scripts for n-best-list rescoring/resorting after a
>>> new feature has been added to the list?
>>>
>>> I guess, this can probably be achieved by running a single parameter
>>> tuning step on the extended n-best-list, but then I still need to fiddle
>>> around with calculating model scores with the new weights etc. Is there
>>> anything public and working with the moses n-best-list format?
>>>
>>> Cheers,
>>> Marcin
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>
>>
>>
>> --
>> When a place gets crowded enough to require ID's, social collapse is not
>> far away.  It is time to go elsewhere.  The best thing about space travel
>> is that it made it possible to go elsewhere.
>>                 -- R.A. Heinlein, "Time Enough For Love"
>>
>> _______________________________________________
>> 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
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to