OOV JSON syntax
OOV uses a dictionary of terms and their pronunciations. The dictionary is submitted with each request that uses OOV. The dictionary must include the vocab
key for OOV terms or contextual phrases that include those terms, and may include the dict
key for mapping OOV to their approximate pronunciations (sound-outs). Sound-outs are optional but should improve performance for made-up words, or when the relationship between a word's spelling and its pronunciation is otherwise unusual.
For example, the following JSON object literal defines approximate pronunciations for Voci, V-Blaze, and V-Cloud.
{ "vocab" : ["Voci Technologies", "V-Blaze transcription engine", "V-Cloud interface"],
"dict" : { "Voci" : ["vo chee","woe chee","vo see","woe see","vo sigh","woe sigh"],
"V-Blaze" : "vee blaze",
"V-Cloud" : "vee cloud"}
}
Download a copy of the file used in this example: example_oov.json
Key | Value | Description | Example |
---|---|---|---|
vocab |
string or list of strings |
Defines OOV terms, and contextual phrases in which OOV terms are likely to occur |
|
dict |
string or list of strings |
Defines OOV terms and their approximate pronunciations |
|