Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
speech_recognition_guide:voiceinteration_asr:start [2014/02/20 22:59] – created ivan | legacy:speech_recognition_guide:voiceinteration_asr:start [2017/07/28 23:33] (current) – ↷ Page moved from speech_recognition_guide:voiceinteration_asr:start to legacy:speech_recognition_guide:voiceinteration_asr:start javier | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== About ===== | ===== About ===== | ||
- | VoiceInteraction | + | VoiceInteraction |
+ | Rua Alves Redol, 9 \\ | ||
+ | 1000-029 Lisboa \\ | ||
+ | Portugal | ||
+ | |||
+ | Website: http:// | ||
+ | |||
+ | ===== Definition ===== | ||
+ | |||
+ | VoiceInteraction, | ||
===== Languages ===== | ===== Languages ===== | ||
+ | |||
+ | Portuguese · Portuguese (Brazil) | ||
+ | ===== Installation ===== | ||
+ | |||
+ | This is for de Debian Lenny version, for other Linux, read the official Audimus Installation manual. | ||
+ | To configure the apt client, just edit and add to the file / | ||
+ | |||
+ | For asterisk 1.Y.X | ||
+ | |||
+ | < | ||
+ | deb http:// | ||
+ | deb http:// | ||
+ | </ | ||
+ | |||
+ | Refresh the package lacal base with: | ||
+ | |||
+ | < | ||
+ | # apt-get update | ||
+ | </ | ||
+ | |||
+ | And Install the package audimus-asterisk-xx-xx (where xx-xx is the language requested): | ||
+ | |||
+ | < | ||
+ | # apt-get install audimus-asterisk-es-es | ||
+ | </ | ||
+ | |||
+ | The following extra packages will be installed: | ||
+ | |||
+ | < | ||
+ | audimus audimus-config audimus-model-es-es-monophones-g2p-phonemodels audimus-model-es-es-monophones-mlp-telephone audimus-model-es-es-monophones-task-asterisk | ||
+ | </ | ||
+ | |||
+ | Activate the license with: | ||
+ | |||
+ | < | ||
+ | # audimus_activate_license | ||
+ | </ | ||
+ | |||
+ | Please enter your Audimus license: | ||
+ | |||
+ | < | ||
+ | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
+ | Your License was successfully activated! | ||
+ | </ | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | To enable speech recognition, | ||
+ | The “speech” parameter can get three values, “yes”, “automatic”, | ||
+ | |||
+ | < | ||
+ | … | ||
+ | speech=automatic | ||
+ | speechprovider=verbio | ||
+ | … | ||
+ | </ | ||
+ | |||
+ | In the VoiceXML browser configuration file: | ||
+ | |||
+ | < | ||
+ | ############################ | ||
+ | # ASR server configuration # | ||
+ | ############################ | ||
+ | |||
+ | client.rec.resource.0.cacheDir | ||
+ | client.rec.resource.0.format | ||
+ | client.rec.resource.0.syntax | ||
+ | </ | ||
+ | |||
+ | You need to restart the Vxi and Asterisk to get all the changes. | ||
+ | |||
+ | Logs file from the ASR engine: | ||
+ | |||
+ | < | ||
+ | # tail -f / | ||
+ | </ | ||
+ | |||
+ | The following VoiceXML example uses the speech recognition, | ||
+ | |||
+ | < | ||
+ | <?xml version=" | ||
+ | <vxml version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <field name=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | Speak to me: | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | You say me: | ||
+ | <value expr=" | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||