dstc icon indicating copy to clipboard operation
dstc copied to clipboard

Parsing of the score fails for the first dialog that is loaded

Open jeremyfix opened this issue 10 years ago • 0 comments

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;

selection_005 selection_006

jeremyfix avatar Oct 24 '14 08:10 jeremyfix