Create Google Speech Engine

Verb: googleEngine

Creates a speech engine using Google Cloud's "Speech to Text" and "Text to Speech" speech recognition and synthesis service from a specified language and voice.

Syntax

googleEngine --culture(Culture) --voice(String) (SpeechEngine)=value

Inputs

Script Designer Required AcceptedTypes Description
--culture Culture Required Culture Language used:
  • en-US
  • pt-BR
  • pt-PT
  • --voice Voice Required Text Speech patterns for recognition and synthesis in the chosen language:
  • pt-BR-Standard-A (Female)
  • en-US-Standard-B (Male)
  • en-US-Standard-C (Female)
  • en-US-Standard-D (Male)
  • en-US-Standard-E (Female)
  • en-US-Wavenet-A (Male)
  • en-US-Wavenet-B (Male)
  • en-US-Wavenet-C (Female)
  • en-US-Wavenet-D (Male)
  • en-US-Wavenet-E (Female)
  • en-US-Wavenet-F (Female)

  • 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 interaction with the IVR begins, and a female voice synthesis is applied to the speech to communicate with the user.

    defVar --name engineSpeaksEN --type SpeechEngine
    defVar --name languageEN --type Language
    defVar --name answerRecognized --type String
    defVar --name phraseInserted --type String
    // Definition of the speech engine.
    googleEngine --culture en-US --voice "en-US-Standard-C" engineSpeaksEN=value
    createLanguage --culture en-US --speech ${engineSpeaksEN} 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 answerRecognized=value phraseInserted=utterance
        logMessage --message "Phrase Said: ${phraseInserted}\rAnswer Recognized: ${answerRecognized}" --type "Info"
    botDisconnect
    


    1. Output values vary depending on the interaction with the bot.

    See Also

  • Create Amazon Speech Engine
  • Create Bing Speech Engine
  • Create Nuance Speech Engine
  • Create Verbio Speech Engine
  • Watson Engine