botframework-components
botframework-components copied to clipboard
[Telephony] Alphanumeric Input code only supports English disambiguation
Describe the bug
This is too fragile, and only works for English.
Originally posted by @arturl in https://github.com/microsoft/botframework-components/pull/1389#discussion_r1027234002
https://github.com/microsoft/botframework-components/blob/66ab00872181255ade27b7556fb8434023239102/packages/Telephony/Actions/SerialNumberPattern.cs#L400
The SerialNumberInput node which supports alphanumeric input aggregation only supports English (e.g. listening for "as" or "in" and only supporting disambiguating '8' and 'A' at this time)
https://github.com/microsoft/botframework-components/blob/66ab00872181255ade27b7556fb8434023239102/packages/Telephony/Actions/SerialNumberPattern.cs#L15-L18
Version
latest of Microsoft.Bot.Components.Telephony
Expected behavior
More languages than just English are supported or configurable by bot authors