Formatting
format_text lets you control how numbers and other entities in your transcript are formatted. By default, format_text is true, so numbers, dates, and similar entities are formatted for readability.
When format_text is set to false, the transcript reflects exactly what was said instead — a speaker saying “one hundred” comes back as “one hundred” rather than 100, useful for verbatim workflows, like medical dictation.
- Python
- Python SDK
- JavaScript
- JavaScript SDK
To enable text formatting, set
format_text to True in the POST request body:Supported languages
Unformatted output (format_text: false) is supported in the following languages:
Punctuation
punctuate controls whether the transcript includes punctuation and casing. By default, punctuate is true, so the transcript comes back with periods, commas, question marks, and capitalized sentences and proper nouns.
When punctuate is set to false, punctuation is removed and the transcript is returned in lowercase. This applies to both text and the text of each item in words.
punctuate is supported in all supported languages.- Python
- Python SDK
- JavaScript
- JavaScript SDK
To turn off punctuation and casing, set
punctuate to False in the POST request body:Combine punctuation and formatting
punctuate and format_text are independent, so you can set them separately: