Closed obo closed 1 year ago
Just tested it also with files that work and got the same problem: some ordering of arguments fails:
===== SLTeval -f ostt ref slt -i ostt ref slt =====
Evaluating the file slt in terms of translation quality against ref
P ... considering Partial segments in delay and quality calculation(in addition to Complete segments)
...good output
===== SLTeval -f ostt slt ref -i ostt slt ref =====
evaluation failed, the reference file does not exist for slt
===== SLTeval -f ref ostt slt -i ref ostt slt =====
Evaluating the file slt in terms of translation quality against ref
P ... considering Partial segments in delay and quality calculation(in addition to Complete segments)
...good output
===== SLTeval -f ref slt ostt -i ref slt ostt =====
evaluation failed, the OStt file does not exist for slt
===== SLTeval -f slt ostt ref -i slt ostt ref =====
Evaluating the file slt in terms of translation quality against ref
P ... considering Partial segments in delay and quality calculation(in addition to Complete segments)
...good output
===== SLTeval -f slt ref ostt -i slt ref ostt =====
Evaluating the file slt in terms of translation quality against ref
P ... considering Partial segments in delay and quality calculation(in addition to Complete segments)
...good output
Hi, The order of files is important because SLTev needs to support multiple documents at once. So, candidates (such as SLT or ASR) must be before or after input files (Please see issue #58).
e.g. Correct format:
Wrong format:
Idea:
Hi, Good point. Then the order can remain relevant but the documenation and error message have to be clear. Perhaps the calling convention with -f and -i, each with two lists, is not optimal. It invites for such a calling error. O.
On June 23, 2021 12:29:21 AM GMT+02:00, Mohammad Mahmoudi @.***> wrote:
Hi, The order of files is important because SLTev needs to support multiple documents at once. So, candidates (such as SLT or ASR) must be before or after input files (Please see issue #58).
e.g. Correct format:
- SLTeval -i ref ostt slt ref ostt slt -f ref ostt slt ref ostt slt
- SLTeval -i slt ref ostt slt ref ostt -f slt ref ostt slt ref ostt
Wrong format:
- SLTeval -i ref slt ostt ref slt ostt -f ref slt ostt ref slt ostt
Idea:
- We can ignore orders if there is just one candidate file.
-- Ondrej Bojar @. / @.) http://www.cuni.cz/~obo
I have added an error message to the SLTev for handling the order and update the README file.
I have three files called
slt
(the hypothesis of an SLT system),ref
(the plain text reference translation) andostt
(timed source transcript). Yes, they are somewhat problematic, but still, SLTeval should behave identically regardless the order in which I specify them.What I am getting is this: