csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Times and numbers

kagemusha opened this issue · comments

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?

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?

checked this and reports just as numbers unfortunately.