MT-ComparEval
MT-ComparEval copied to clipboard
Uncomment for TER
In my config.neon
TER lines is already uncommented, why it doesn't work?
Have you reimported your experiments? Try to remove temp directory before reimporting the experiments.
But it seems I can't open localhost if I remove it... Have I deleted the wrong one?
Have you checked that tercpp.0.6.2 works on your platform when executed manually? It is executed as an external command: https://github.com/choko/MT-ComparEval/blob/5d48281396e534545574c82521826b4709b15409/libs/Metrics/Ter.php#L48
I am sorry, I meant removing only contents of the temp directory - run mkdir temp && chmod 777 temp
.
I've tried and it still can't work.
What doesn't work? localhost or TER? Set this to TRUE (https://github.com/choko/MT-ComparEval/blob/master/app/bootstrap.php#L13), you might get more information. If that doesn't help, just reinstall MT-ComparEval.
I mean TER, localhost works normally.
In that case download/compile a TER version which works on your machine and then edit the path to the binary: https://github.com/choko/MT-ComparEval/blob/5d48281396e534545574c82521826b4709b15409/libs/Metrics/Ter.php#L12
The download website is empty... can I find it in other place?
I see. Try https://github.com/cservan/tercpp or http://www.cs.umd.edu/~snover/tercom/ (the latter is Java-based and you would have to change also the command on line 42, probably to something like java -Dfile.encoding=UTF8 -jar tercom.7.25.jar -N -s
).
Note that I have never used TER, so cannot provide more help.