[* Number] Output isn't consistent across cultures
See original GitHub issueWhen using the NumberModel across multiple cultures in a single application, it can be quite confusing. For example; in Europe the decimal seperator is a comma (,) instead of a dot (.). This is parsed correctly by the Model, however in the output value
it is also reflected.
It this something which should be changed in Recognizers-Text? Or something that should be added to the documentation to avoid confusion.
> LUIS interprets the variations in user utterances and returns consistent numeric values.
English
{
"Input": "4.800",
"Results": [
{
"Text": "4.800",
"TypeName": "number",
"Resolution": {
"subtype": "decimal",
"value": "4.8"
}
}
]
},
German
{
"Input": "2.000,352",
"NotSupportedByDesign": "python",
"NotSupported": "javascript",
"Results": [
{
"Text": "2.000,352",
"TypeName": "number",
"Resolution": {
"value": "2000,352"
}
}
]
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Culture, Cross-Role Consistency, and Adjustment
Cross-role consistency in trait ratings was evident in all cultures, supporting trait perspectives. Cultural comparisons of mean consistency provided support ...
Read more >Cross-Cultural Differences in the Neural Correlates ...
Research suggests that culture influences how people perceive the world, which extends to memory specificity, or how much perceptual detail ...
Read more >How To Say “This Is Crap” In Different Cultures
Another type of downgrader is a deliberate understatement, such as “We are not quite there yet” when you really mean “This is nowhere...
Read more >Dealing with a Different Sense of Urgency Across Cultures
One of the biggest frustrations when working across cultures is a different sense of urgency, follow-through, and deadlines.
Read more >Big Five personality traits and culture
The Big Five personality traits are Openness, Conscientiousness, Extraversion, Agreeableness ... Some research shows that the Big Five holds up across cultures even...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, all values should use a consistent format (. as decimal separator). This is a known issue
and a fix is on the way. Consumers of the packages need time to adapt to potential breaking changes.Thanks for following up on this!!! This has been cancelled as the issue was considered a breaking change !!
Issue still pending as changing the default output was considered a breaking change.