Avaya Logo

Home

Previous Topic

Next Topic

Book Contents

Book Index

Using TTS and speech recognition languages with VoiceXML

Consider the following information for VoiceXML applications using Text-to-Speech (TTS) and speech recognition.

TTS languages

VoiceXML applications for Avaya IR only work with the following SpeechWorks Speechify languages:

For languages other than English or Japanese, you must set the encoding attribute in the <xml> tag to ISO-8859-1.

Note:
For Japanese TTS to work with VoiceXML, the encoding attribute in the <xml> tag should be set to UTF-16. The VoiceXML document must also be saved as Unicode.

If the lang attribute is set to something other than English and English is used in the prompt, the TTS engine attempts to translate the English into the specified language.

If not otherwise specified in the VoiceXML /vs/data/vxml/defaults.xml file or in the VoiceXML application, the default TTS voice for VoiceXML is US English and female. To change the default gender to male at the system level, add the following line to the defaults.xml file:

<property name="promptgender" value="male"/>

To change the default language at the system level, modify the xml:lang property in the defaults.xml file. Note that the TTS voice administered as part of Text-to-Speech must match the defaults for VoiceXML. For example, if the VoiceXML defaults of US English and female are used, there must be a TTS voice available that is US English and female.

The xml:lang property is only valid within the defaults.xml file. To set the language for a VoiceXML document use the xml:lang attribute of the <vxml> tag and to set the language for a specific prompt use the xml:lang attribute of the <prompt> tag.

Speech recognition languages

The use of languages other than English for speech recognition is not supported by the Avaya VoiceXML interpreter on the Avaya IR system.

� 2003 Avaya Inc. All Rights Reserved.