Author Topic: [v1.6.9.2] Numbers with thousands separators are not recognized  (Read 2357 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
[v1.6.9.2] Numbers with thousands separators are not recognized
« on: December 31, 2017, 04:57:24 AM »
When a number is large enough to include thousands separators(I.E. 10,000 and up), the speech engine will not match it to a command(it does "recognize" it, as the number appears in the log correctly).

I'm assuming this occurs on machines with regional settings that use "." as the thousands separator, because the speech engine will use "," instead(For English US/UK at least), which is probably why this hasn't been encountered before.

This can be worked around when manually entering command phrases by inserting the separator beforehand(E.G. "Travel 400,000 light seconds".
However, when interpolating numbers using dynamic command sections with numeric ranges(E.G. "Travel [1..400,1000] light seconds") the automatic addition of spaces between sections does not allow a workaround(E.G. "Travel [1..9,1000] light seconds;Travel [10..400],000 light seconds").


This does appear to be a speech engine issue, as a manually entered number without a separator(E.G. "Travel 400000 light seconds") isn't matched either(I.E. even if the numeric range does not generate thousands separators, it still wouldn't/doesn't work).


EDIT: Still applies to v1.7.3

EDIT#2: Also applies to v1.7.3.1

EDIT#3: Also applies to v1.7.3.9

EDIT#4: Also applies to v1.7.5.8

EDIT#5: Fixed in v1.8.3.22
« Last Edit: March 07, 2020, 10:02:04 PM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: [v1.6.9.2] Numbers with thousands separators are not recognized
« Reply #1 on: March 01, 2020, 05:17:43 PM »
I can *try* reprocessing first without commas and then without decimal points to see if that might help some -  this will be in the next beta.