Settings for the experimental speech recognizer.

Configuration for the speech recognizer.
Path:

speechRecognizer

Hierarchy

  • SpeechRecognizerConfig

Properties

Default:

[
  {
    "language": "en",
    "commandPhrase": "command",
    "commands": [
      {
        "phrase": "delete",
        "command": "delete"
      },
      {
        "phrase": "delete all",
        "command": "deleteAll"
      },
      {
        "phrase": "new line",
        "command": "newLine"
      }
    ]
  },
  {
    "language": "de",
    "commandPhrase": "Kommando",
    "commands": [
      {
        "phrase": "löschen",
        "command": "delete"
      },
      {
        "phrase": "alles löschen",
        "command": "deleteAll"
      },
      {
        "phrase": "neue zeile",
        "command": "newLine"
      }
    ]
  }
]


List of commands for the speech recognizer.

speechRecognizer.commandsByLanguage

emitDetectedText: boolean

Default: true

True when detected spoken text should be emitted as synthetisized keyboard events.

speechRecognizer.emitDetectedText

enabled: boolean

Default: false

True when the speech recognizer should be active.

speechRecognizer.enabled

Default: "Simple"

Which engine to use.

speechRecognizer.engine

Default: "Auto"

When the speech recognizer should start listening.

speechRecognizer.listenMode

Generated using TypeDoc