Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeremyfix opened this issue Oct 24, 2014 · 0 comments
Open

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

jeremyfix opened this issue Oct 24, 2014 · 0 comments

Comments

@jeremyfix
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant