Enabling automated punctuation in the recognized text
Issue description
You need to enable automated punctuation (i.e., the punctuator) in the recognized text.
Solution
The punctuator is available in the following recognition modes:
-
In gRPC API, the punctuator is enabled by the
TEXT_NORMALIZATION_ENABLED
option. This option enables the text normalization mode that mostly adds punctuation marks. Acceptable option values are given in this SpeechKit API specification section. -
In the asynchronous recognition REST API, the punctuator functionality is enabled by the
config.specification.literature_text
option. It enables the text normalization mode that mostly adds punctuation marks. Acceptable option values are given in this SpeechKit API specification section. -
In the streaming recognition REST API, the punctuator is enabled by the
x-normalize-partials
option. If this flag istrue
, you can get intermediate recognition results (parts of a recognized utterance) in a normalized format: numerals are returned as numbers, the profanity filter is enabled, etc. Acceptable option values are given in this SpeechKit API specification section.
Note
Text normalization is currently unavailable in the synchronous recognition mode.