Create a new postprocessing dictionary
Changed onA 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
- Base URLhttps://api.theo.live/v2
- AuthHTTP basic
Request body
Example request
{
"terms": [
"OptiView|Optiview,Opti-view,Optivue",
"New York|NewYork,Newyork",
"|basically,literally",
"Dolby|[D|d]olby"
]
}Response
Postprocessing dictionary created successfully
Example response
{
"data": {
"terms": [
"OptiView|Optiview,Opti-view,Optivue",
"New York|NewYork,Newyork",
"|basically,literally",
"Dolby|[D|d]olby"
]
}
}Changes
- info
endpoint added
- info