-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Description
Version
v4.5
Describe the bug
Found this bug while investigating for parity with regards to this NumberPrompt bug filed in the dotnet repo
-
in constructor,
default_localeattribute is set, but never used inNumberPrompt's implementation (not inon_prompt()noron_recognize() -
on_recognize()does allow you to pass inlocaleviaActivity, however locale will not be used if onlydefault_localeis specified -
"
English" is used as string to specify locale, when we should be using the constants provided by the python recognizers-text repo -
Separately, there's definitely a lack of unit test coverage for this feature (only 2 tests written)
Expected behavior
- implement use of
default_locale - implement use of recognizers-text constants to specify locale
[bug]
Metadata
Metadata
Assignees
Labels
No labels