Pocket Sphinx SR Custom Dictionary JSON Reference
Declared in | Voiceflow.schema.json |
Overview
Specifies custom dictionaries to be sent to Pocket Sphinx speech recognizer for more accurate speech recognition.
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.
Tasks
-
loadCustomDictionary
Specifies whether to have Pocket Sphinx load custom dictionary. Default:
"false"
. The value can be set at runtime using the"loadCustomDictionaryRuntime"
property.Parameter is optional.
-
loadCustomDictionaryRuntime
Contains the name of a field, as a string wrapped between
"$["
and"]"
, whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the"loadCustomDictionary"
property. Example:"$[LoadCustomDictionary]"
.Parameter is optional.
-
customDictionaryEntryList
Contains a list of custom dictionary entries separated by ‘|’ as a delimiter. Example: FORWARD F AO R W ER D | ababa AH B AA B AH The value can be set at runtime using
"$[<FieldName>]"
entry convention.Parameter is optional.
-
customDictionaryFileName
File name containing the list of custom dictionary entries. The value can be set at runtime using
"$[<FieldName>]"
entry convention.Parameter is optional.
-
customDictionaryFileLocation
URL or location of folder containing the custom dictionary file. The value can be set at runtime using
"$[<FieldName>]"
entry convention.Parameter is optional.
Properties
customDictionaryEntryList
"customDictionaryEntryList": string
Discussion
Contains a list of custom dictionary entries separated by ‘|’ as a delimiter. Example: FORWARD F AO R W ER D | ababa AH B AA B AH The value can be set at runtime using "$[<FieldName>]"
entry convention.
Parameter is optional.
Declared In
Voiceflow.schema.json
customDictionaryFileLocation
"customDictionaryFileLocation": string
Discussion
URL or location of folder containing the custom dictionary file. The value can be set at runtime using "$[<FieldName>]"
entry convention.
Parameter is optional.
Declared In
Voiceflow.schema.json
customDictionaryFileName
"customDictionaryFileName": string
Discussion
File name containing the list of custom dictionary entries. The value can be set at runtime using "$[<FieldName>]"
entry convention.
Parameter is optional.
Declared In
Voiceflow.schema.json
loadCustomDictionary
"loadCustomDictionary": boolean
Discussion
Specifies whether to have Pocket Sphinx load custom dictionary. Default: "false"
. The value can be set at runtime using the "loadCustomDictionaryRuntime"
property.
Parameter is optional.
Declared In
Voiceflow.schema.json
loadCustomDictionaryRuntime
"loadCustomDictionaryRuntime": string
Discussion
Contains the name of a field, as a string wrapped between "$["
and "]"
, whose boolean value can be set at runtime by an application. If the value of the field is a valid boolean, then it will replace the value entered in the "loadCustomDictionary"
property. Example: "$[LoadCustomDictionary]"
.
Parameter is optional.
Declared In
Voiceflow.schema.json