hltfbk / MT-EQuAl

a Toolkit for Manual Assessment of Machine Translation Output
Other
6 stars 3 forks source link

Sentence level ratings for error annotation throw an error #5

Open pmarcis opened 9 years ago

pmarcis commented 9 years ago

Hi,

The in-line annotation works now, however, the sentence level ratings (the first two static options) throw an error whenever selected.

I got the following error message:

</td></tr></table></td></tr></table><BR>Query failed:<li> errorno=1364<li> error=Field 'evalids' doesn't have a default value<b><li> query=INSERT INTO annotation (sentence_num,output_id,user_id,eval,lasttime) VALUES ('80596','80606',49,0,now())<p><a href="javascript:history.go(-1)"> Back</a>0 Sorry but an error occured saving data. Try again, please!
pmarcis commented 9 years ago

This issue was due to MySQL 5.6 (starting from) having sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES as the default parameter. That means that non-strict behaviour was not allowed. However, I would encourage writing queries that are compliant with SQL table definitions nonetheless (makes support easier as well, because you won't have to troubleshoot issues that could have been avoided).

saeedmoradie commented 9 years ago

Hi, I'm a newcomer to MT-EQuAl and am really confused as what to do with this service. I'm working on my M.A thesis which is to compare two MT services in terms of fluency and adequacy. how can I employ this tool to help me by my thesis? how can I get to the task tab and start a rating?