Reputation: 75
I am using Google Speech API and whenever in the utterance there is a number spoken the API returns it as a string of digits and not letters. Say the utterance is 'He is seventeen years old.' - The API would return 'He is 17 years old.' Now that is useful most of the cases, but in my case I need the returned string to be of letters not digits - 'He is seventeen years old.' Is there any option to return the recognized utterance with letters?
Upvotes: 1
Views: 1038
Reputation: 712
Currently there's a way with Phrase hints. The API will offer the option to transcribe numbers literally in the future, but there is no timeline for this feature yet.
this question is quite a duplicate:
Google-speech-api transcribing spoken numbers incorrectly
Is there a way to force Google Speech api to return only words as response?
Upvotes: 1