csdcorp / speech_to_text

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

Times and numbers #462

Closed kagemusha closed 5 months ago

kagemusha commented 5 months ago

Speech recognition automatically converts numbers and times to number and string representations

e.g. if I say "one thirty" is will return "1:30" if I say on thirty nine" it will return "139" "one oh nine" => 109 etc

is there a way to tell it to get the actual spoken text not the number/time translation?

sowens-csd commented 5 months ago

Unfortunately no. The speech frameworks don't provide that level of control. Have you checked the alternates list to see if the words are also reported?

kagemusha commented 5 months ago

checked this and reports just as numbers unfortunately.