ELITR / SLTev

SLTev is a tool for comprehensive evaluation of (simultaneous) spoken language translation.
8 stars 3 forks source link

Using float values for timestamps gives unhelpful error #63

Closed bhaddow closed 3 years ago

bhaddow commented 3 years ago

Hi

If I have floating point values in the timestamps, then I get the error message:

File XXX and line 0 is not in the proper format please correct this line as C/P 0 0 0 <text line> or it is empty"

The only way I could see what is happening is to examine the code. I would suggest that either (i) we allow floating point values; or (ii) we provide a better error message. Probably (ii) is better.

best, Barry

mohammad2928 commented 3 years ago

Hi Barry,

I have fixed this issue in the current version (1.1.9). I have used the (i) method because there is no need to force users to use just integer numbers for the time.

Thanks, Mohammad