Enable spoken punctuation and spoken emojis

The Speech-to-Text API offers spoken punctuation and spoken emoji features. When you enable this feature, instances of spoken punctuation and emojis detected in your audio data will be replaced by the corresponding punctuation and emoji symbols. For example, if you send a request with spoken punctuation enabled, the transcript "how are you question mark" becomes "how are you?".

To determine whether this feature is available for your language, see Language support. For complete lists of available spoken symbols, see Supported spoken punctuation and Supported spoken emoji.

To enable the spoken punctuation and emoji features, set enableSpokenPunctuation and enableSpokenEmojis to true in RecognitionConfig.

Spoken punctuation is enabled by default for the command_and_search model, but can be disabled using the enableSpokenPunctuation field. For all other requests, spoken punctuation and spoken emoji are disabled by default.