formatting configuration controls how key information is represented in the textual output, following the conventions of the primaryLanguage defined in the configuration.
Formatting options
Use the following values within theformatting configuration object to define preferences:
Example formatting configuration
Example formatting configuration
Notes on formatting options:
- The default options apply whenever no value is defined for a given formatting parameter.
- Options marked
localeformat according to local standards, dependent on theprimaryLanguagedefined in the configuration - see exact output per language in Formatting by language. - The
measurementsparameter controls units and measurements, as well as vertebrae and staging formatting. - Spoken content that is not recognized as a formattable pattern (for example, a number outside the supported magnitude) is returned verbatim.
- Use the
as_dictatedoptions to receive raw, unformatted speech to text output in transcript messages.
Formatting by language
Formatting options and defaults are the same across languages; however, the output formats and the recognized spoken forms vary by language. Select your dictation language to see the details.- English (US)
- English (AU, GB)
- Danish
- French
- German
- Spanish
- Swedish
Language codes:
en, en-USDates
Date formatting standardizes date output when dictating the year, month, and/or day. The examples show how each option formats the spoken forms shown for theas_dictated option.Recognized spoken date forms
Recognized spoken date forms
- Day and month: “February third” or “the third of February” (day numbers are ordinals: “first”, “second”, “twenty first”)
- Full date: add the year to either form: “February third twenty twenty five”
- Month and year: “February twenty twenty five”
- Year alone (years 1900 to 2100): “twenty twenty five”; also recognized: “two thousand and twenty five”, “nineteen eighty five”, “nineteen hundred eighty five”
- Digit-style dates: dictating the date as separate numbers (for example “eighteen eleven twenty twenty six”) is not recognized as a date. Instead, dictate the day, month, and year in words while using
dates: locale:shortconfiguration; “the eighteenth of November twenty twenty six” returns “11/18/2026”.
Times
Recognized spoken time forms
Recognized spoken time forms
- On the hour: “eight o’clock”, or with meridiem: “eight PM” (“a m”/“p m” dictation is also recognized)
- Quarter and half hours: “a quarter past eight” (8:15 AM), “half past eight” (8:30 AM), “a quarter to eight” (7:45 AM)
- Minutes past or to: “five past one” (1:05 AM), “twenty minutes past three” (3:20 AM)
- Hour and minutes: “eight thirty six PM”
Numbers
- “ninety eight point two” returns “98.2”
- “minus five” and “negative five” return “-5”
Recognized spoken variations
Recognized spoken variations
- “one hundred” and “hundred” both return “100”; “one hundred and twenty-five” and “hundred twenty five” return “125”
- Shorthand hundreds: “one twenty” returns “120”, “one eighty” returns “180” (applies from 110 to 199)
- “twenty five” and “twenty-five” are both recognized
Numeric ranges
Fractions use “over” or “out of” (for example “six out of ten” returns “6/10”). Blood pressure dictation uses the fraction words: “one twenty over eighty” returns “120/80”. Decimal numbers within a range are formatted individually (“one point five to two point five” returns “1.5 to 2.5”).
Ordinals
Roman numerals
Numbers from 1 to 39 are supported (
I to XXXIX). Trigger phrases: “roman numeral” or “roman number” (for example “roman numeral four”).Units and measurements
With
measurements: abbreviated (default), “ninety eight point two percent” returns “98.2%”. With measurements: as_dictated, units remain spelled out as spoken.A space is inserted between the value and the unit abbreviation (“ten milligrams” returns “10 mg”); the % and ° symbols are the exception, with no space between the value and the symbol.“times two” returns “x 2” for N from 0 to 10; “two times” is not compacted unless used for dosing (“two times five hundred” returns “2 x 500”). “two plus” returns “2+” for N from 0 to 10.Supported units and measurements
Supported units and measurements
- Time durations such as “minute(s)”, “hour(s)”, “day(s)”, and “week(s)” are matched for number formatting (“five minutes” returns “5 minutes”) but are not abbreviated, with the exception of “millisecond(s)”, which returns “ms”.
- “degree” is formatted as ° only when preceded by a number; the plural “degrees” is formatted as ° on its own (for example “thirty eight degrees celsius” returns “38 °C”, with a space before °C). “second(s)” are matched for number formatting only when preceded by a number, so everyday phrases like “wait a second” are left unchanged.
- The age unit “year old” returns a hyphenated form: “twenty five year old” returns “25-year-old” (the plural “years old” is not hyphenated: “twenty five years old” returns “25 years old”).
Vertebrae
Individual vertebrae are dictated as “letter number” (“C seven” returns “C7”): C1 to C7, T1 to T12, L1 to L5, S1 to S5. Any two vertebrae can be dictated as “letter number to letter number” (“C seven to C five” returns “C7-C5”; “through” is also recognized); the connector can be omitted (“C seven C five” also returns “C7-C5”).Staging
Staging for cancer, chronic kidney disease, and similar conditions uses the “stage” and “type” keywords, with Arabic or Roman numerals per the spoken form:- Stage: “stage zero” returns “stage 0”, “stage one” returns “stage I”, “stage one A” returns “stage IA”, through “stage four C” returning “stage IVC”
- Type: “type one” returns “type 1”, “type two” returns “type 2”
- TNM: “t two n one m zero” returns “T2 N1 M0”
Example
The following example shows expected output with the default formatting preferences applied:“the injury was sustained on the third of February twenty twenty six at half past eight, surgical repair was completed on February tenth two thousand twenty six”Expected output: “the injury was sustained on February 3, 2026 at 8:30 AM, surgical repair was completed on February 10, 2026”
How formatting options work together
The examples in this section show how different formatting settings relate to each other and impact the output. Change one setting at a time when testing, since several settings can affect the same dictated phrase. The examples are based onprimaryLanguage: en; see Formatting by language for locale-specific output such as decimal commas and time formats.
Combining multiple options
Combining multiple options
“on February third twenty twenty six at half past eight the patient received five hundred milligrams for the third time”
Each setting applies independently to its own category (dates, times, numbers, measurements, ordinals), and one dictated phrase can be affected by several settings at once.
Date examples
Date examples
“the injury was sustained on fifth of February twenty twenty six and surgical repair was completed on February tenth two thousand twenty six”
Notice that, while using
locale parameters, the date output is normalized for two different spoken form patterns in the example text“zero two zero three twenty twenty five”
Dictation of numbers to be shown in “short” date form is not supported. In this example the expected output is based on default
numbers:numerals_above_nine formatting.For text to be formatted as a date, dictate the month, day, year pattern as shown for your language.Numbers and measurements: Single-digit numbers
Numbers and measurements: Single-digit numbers
“the child had one doctor visit today and is one meter tall”
Numbers and measurements: Hundred numbers
Numbers and measurements: Hundred numbers
“one eighty centimeters”
“one hundred eighty centimeters”
Notice that both forms of “hundreds” are normalized using
numerals_above_nine and numeralsNumbers and measurements: Percentages
Numbers and measurements: Percentages
“ninety eight point two percent”
Ordinal examples
Ordinal examples
“First time he tried he came in tenth place”
Numeric ranges examples
Numeric ranges examples
“she vomited two to three times today”
“one point five to two point five”
“The pain is a six out of ten”
While these examples are based on
primaryLanguage:en, the same logic applies for other languages with formatting support. Please contact us for further assistance with formatting configuration.