Hieu Hoang http://www.hoang.co.uk/hieu
On 11 July 2016 at 19:20, Denny Liu <[email protected]> wrote: > Hi, > > Can you please anyone help me to understand the meaning of the bellowing > outcome data, and how to compute to get these numbers? > > $ echo "is this an English sentence ?" | ~/mosesdecoder/bin/query > news-commentary-v8.fr-en.blm.en > Loading statistics: > Name:query VmPeak:46788 kB VmRSS:30828 kB RSSMax:0 kB > user:0 sys:0 CPU:0 real:0.012207 > is=35 2 -2.6704 this=287 3 -0.889896 an=295 3 -2.25226 > English=7286 1 -5.27842 sentence=4470 2 -2.69906 > ?=65 1 -3.32728 </s>=21 2 -0.0308115 Total: -17.1481 OOV: 0 > > is=35 2 -2.6704 > Total: -17.1481 > What is the meaning of "35", "2", "-2.6704", "-17.1481", and how to > generate these numbers? > > > Translating: This is a book > Line 20: Initialize search took 0.000 seconds total > Line 20: Collecting options took 0.108 seconds at moses/Manager.cpp Line > 141 > Line 20: Search took 0.046 seconds > \u8fd9 \u662f \u4e00 \u672c \u4e66 > BEST TRANSLATION: \u8fd9 \u662f \u4e00 \u672c \u4e66|UNK|UNK [1111] > [total=-0.918] > core=(0.000,-5.000,2.000,-5.404,-8.993,-2.486,-7.574,-0.659,0.000,0.000,-0.465,0.000,0.000,0.000,-16.934) > > > What is the meaning of these numbers? > [1111] > These output are for debugging. This is coverage vector. This says all 4 words have been translated, which is normal for the output hypothesis > [total=-0.918] > The total weighted score (the 'log probability') > core=(0.000,-5.000,2.000,-5.404,-8.993,-2.486,-7.574,-0.659,0.000,0.000,-0.465,0.000,0.000,0.000,-16.934) > > The unweighted score of each feature function (translation model, language model, phrase penalty etc). It's better to look at the n-best list where the unweighted score are marked with which feature function they came from > > What does|UNK| mean? > this word is unknown in the translation model, ie. it is OOV > > Thanks, > Denny > > > _______________________________________________ > 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
