I want to use iOS Speech API to recognize mathematical expressions. It works okay for things like two plus four times three
- reads it as 2+4*3
, but when I start expression with 1 it always reads it as "One". When "One" is in the middle of expression it works as expected.
I figured out that when I set SFSpeechAudioBufferRecognitionRequest
property taskHint
to .search
when displaying live results it recognizes 1 as "1" properly at first but at the end changes it to "One"
Is there a way to configure it to recognize only numbers? Or just force to read "One" as "1" always? Or the only way to fix it is to format result string on my own?