You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing ./multeval.sh eval -R example/refs.test2010.lc.tok.en.0 --hyps-baseline example/hyps.lc.tok.en.baseline.opt0 --metrics ter I get the following error:
Failed to specify required options: [refs]
But when changing -R to --refs everything works as expected.
Other flags such as -t or -d are also affected, they do not change the behavior of multeval.
I do not know, if every short flag is broken.
It looks like -P is also affected, and this does change the behavior of multeval from what is expected (see table below)... Sorry this comment is so long; I wrote most of it up before seeing this existing ticket.
tl;dr
Use --ter.punctuation instead of -P
Steps to reproduce in commit bd93ed, using the following command (default setting is false, from TER.java - alternatively, you can instrument the value of punctuation)
Activity
ypeels commentedon Jan 20, 2016
It looks like
-Pis also affected, and this does change the behavior of multeval from what is expected (see table below)... Sorry this comment is so long; I wrote most of it up before seeing this existing ticket.tl;dr
Use
--ter.punctuationinstead of-PSteps to reproduce in commit bd93ed, using the following command (default setting is false, from
TER.java- alternatively, you can instrument the value ofpunctuation)And here are the resulting TER scores, for command-line arguments. Only
--ter.punctuation trueseems to have any effect.$punctFlag$punctOptionbaseline 65.5 (0.4/*/-)-Pbaseline 65.5 (0.4/*/-)-Ptruebaseline 65.5 (0.4/*/-) <-- should be 68.6?-Pfalsebaseline 65.5 (0.4/*/-)-P=truebaseline 65.5 (0.4/*/-)-Ptruebaseline 65.5 (0.4/*/-)--ter.punctuation1baseline 65.5 (0.4/*/-)--ter.punctuationtruebaseline 68.6 (0.4/*/-) <--ozancaglayan commentedon Apr 11, 2017
I think all of them are broken actually.
Remove short names for cmdline args