csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
351 stars 218 forks source link

Issues in recognising numbers #432

Closed k-pandey closed 8 months ago

k-pandey commented 8 months ago

At times there is an issue when listening for numbers - it takes the string of the number instead of the numeral value. For example, 4 becomes four. Can we have a property through which numbers are always treated as numerals in the resulting text?

sowens-csd commented 8 months ago

Unfortunately none of the platforms provide this option. The plugin can only expose what the platforms support.

k-pandey commented 8 months ago

okay, thanks for the response. I guess I will have to do some workaround then.

sowens-csd commented 8 months ago

Did you check the alternates to see if the number is one of the possible options returned?