SpeechTilesAndamento Docs
Get started
Configuration Reference

Recognition Context

JSON property recognitionContext

JSON type object

Used in Configure Parameters, Speech Recognition Task

Provides contextual terms and phonetic mappings that can improve speech recognition.

Behavior and notes

  • Inline entries and an external file may be used together. External files use one contextualString: phoneticMap mapping per line; lines beginning with # are comments. A | inside phoneticMap separates alternative pronunciations for the same contextual string.

Developer guidance

Recognition context supplies recognition hints through entries and can also reference an external resource. Each entry pairs contextualString with phoneticMap. Use the linked Recognition Context Entry reference for the exact element shape.

Example in context

Illustrative JSON excerpt (not a complete configuration document):

{
  "configureParams": {
    "recognitionContext": {
      "enabled": true,
      "entries": [
        {
          "contextualString": "SpeechTiles",
          "phoneticMap": ""
        }
      ]
    }
  }
}

This shows the nested entries array. An empty phoneticMap is shown only as a structural placeholder; provide a meaningful phonetic mapping when needed.

Properties

enabled

booleanOptional

Enables or disables the recognition context.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

entries

arrayOptional

Inline recognition-context entries.

fileName

stringOptional

Name of an external recognition-context file.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

resourceLocation

stringOptional

Resource location containing the external context file.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].