Skip to main content
Version: v2

Create a new postprocessing dictionary

POST 

/enhancements/speech/postprocessing-dictionaries

A postprocessing dictionary is a list of find/replace rules applied to the source-language transcript of a speech enhancement after speech recognition and before translation: it reliably corrects spellings, standardizes formatting, removes filler words or censors terms, and the corrected text carries over into every translated text track. Unlike a speech dictionary (a hint to the speech recognition) the rules are always applied. Connect a postprocessing dictionary to an ingest via the postprocessingDictionary field of the speech enhancement entry; the dictionary language must match that enhancement's sourceLanguage. Each entry has the format "replacement|pattern,pattern" (an empty replacement removes the matched word). Entries are cleaned up automatically (whitespace normalized, empty and duplicate entries dropped); entries without a pattern, with spaces in a pattern, or rejected by the captioning provider (e.g. an invalid regular expression) fail with invalid_value.

Request​

Responses​

Postprocessing dictionary created successfully