Dictation
Dictation automatically formats spoken commands for punctuation into their respective punctuation marks.
Dictation is a feature of Deepgram’s Speech-to-Text API that converts spoken dictation commands into their corresponding punctuation marks.
This feature enhances the readability of transcriptions by accurately representing verbal commands as punctuation. For example, saying “comma” as a word will be transcribed as the punctuation mark ”,“.
Enable Feature
To enable Dictation, set the dictation
parameter to true
in your API request. Note that the punctuate
parameter must also be enabled for Dictation to work.
The Punctuation feature must be enabled for Dictation to work. Be sure to add dictation=true&punctuate=true
to your request.
cURL Example
To transcribe audio with dictation enabled, run the following cURL command in a terminal or your favorite API client:
Query Parameters
Analyze Response
Once dictation is enabled, the results will appear in the transcript with the spoken commands converted to punctuation marks. Below is an example of what the transcript will look like when dictation is enabled.
Response Example
Before Dictation
After Dictation
In the response example above, spoken commands such as “comma” and “period” have been converted to their corresponding punctuation marks, making the transcription more readable and easier to understand.
Commands List
The following commands will be converted.