Create Nuance Speech Engine
Verb: nuanceEngine
Available from: <Standard>
Creates a speech engine using "Nuance Transcription" and "Automatic Speech Recognition" speech recognition and synthesis service according to a specified language and voice.
Syntax
nuanceEngine --culture(Culture) [--voice(String)] (SpeechEngine)=value
Inputs
| Script | Designer | Required | AcceptedTypes | Description |
|---|---|---|---|---|
| --culture | Culture | Required | Culture | Language to use:
|
| --voice | Voice | Optional | Text | Speech patterns for recognition and synthesis in the chosen language.
Vocalization must be compatible with the language selected in Culture. |
Outputs
| Script | Designer | AcceptedTypes | Description |
|---|---|---|---|
| value | Speech Engine | Speech Engine | Returns the speech engine with the specified language and speech synthesis. |
Example
An IVR interaction begins, using the "Nuance Speech" voice engine.
defVar --name engineSpeechEn --type SpeechEngine
defVar --name languageEn --type Language
defVar --name recognizedValue --type String
defVar --name phraseInserted --type String
// Definition of the speech engine.
nuanceEngine --culture en-US engineSpeechEn=value
createLanguage --culture en-US --speech ${engineSpeechEn} languageEn=value
botConnect --type "Ivr" --language ${languageEn} --autoanswer --timeout 00:01:00
botAsk --beep --language ${languageEn} --text "Welcome to IBM Robotic Process Automation. How can I help you?" --timeout 00:01:00 recognizedValue=value phraseInserted=utterance
botDisconnect
1. Output values vary depending on the interaction with the bot.