dstc
dstc copied to clipboard
Parsing of the score fails for the first dialog that is loaded
When loading dialogs, the first dialog that is parsed display scores for the ASR hyps and SLU hyps that are rounded to ints;
I suspect the problem coming from the way double are extracted by JSONcpp : 1,2 instead 1.2. 1,2 is then extract as 1 while 1.2 would be extracted as 1.2 ; I added a lot of setlocale(LC_NUMERIC, "C") before each call to value.asDouble() but this does not seem to fix the issue for the very first dialog that is loaded. However, if we move to another dialog (then coming back to the first for example), the scores are then correctly parsed.
Below are display when a dialog is displayed the first time and then when the dialog is reloaded with a "Next" "Previous" click;