I am using decoding feature (alternative at position) of ctranslate2 pretrain model and i want to use the metric like TER to get the difference between the translation i.e order the given alternatives acccording to the TER score. I am trying to run tercom library but getting the following mentioned error.
Could you please help me how I can get rid of this error. And Is it another or easy solution to for TER metrics.
After run this command java -jar tercom.jar -r sample-data\ref.txt -h sample-data\hyp.txt -n sample-data\output_prefix.txt, getting an error that
’java’ is not recognized as an internal or external command, operable program or batch file.
Eventhough, I tried to run without ‘java’ and -jar but still the error is same that
‘-jar’ is not recognized as an internal or external command, operable program or batch file.
I download TER Library from this link: http://www.cs.umd.edu/~snover/tercom/