contextualStringToPhoneticMap JSON Reference
| Declared in | Voiceflow.schema.json |
Overview
Contextual string to phonetic map entries that are sent to speech recognizer for more accurate speech recognition of specific vocabulary. The phonetic map for a contextual string can contain multiple entries separated by "|".
Contextual string example entries:
{
"contextualString": "Quvenzhané",
"phoneticMap": "Quvenzhané",
},
{
"contextualString": "Meemzee",
"phoneticMap": "Meam-zee|Mimzy",
}
Note: Unless stated otherwise, value of properties that are of type "string" can be updated at runtime by an application if their value is entered as a field name wrapped by "$[" and "]". If a property is of a type other than "string", then an additional property of type "string" with the same property name appended with the string "Runtime" is added to have its value entered as a field name wrapped by "$[" and "]". This allows the application to set the value of the field name at runtime to be the value of the original non-runtime property. Valid values of runtime fields override the values of non-runtime properties.
Properties
-
contextualStringjson parameterContextual string. Example:
"contextualString":"Quvenzhané".Parameter is required.
-
phoneticMapjson parameterPhonetic map of the contextual string. Example:
"phoneticMap":"Kwuh-ven-zha-nay".Parameter is required.