Find answers to your technical questions and learn how to use our products
Search suggestions:
Find answers to your technical questions and learn how to use our products
Search suggestions:
|
Type
|
Description
|
Design recommendation
|
|---|---|---|
|
VXML scope of vendor property
|
The vendor property, that is in the VXML scope at the time the interpreter runs a grammar, defines which speech recognition vendor the grammar is be loaded on. It defines which speech recognition vendor will perform the recognition.
If multiple vendors are in use within the same VXML document, it is possible to accidentally load two grammars on two speech recognition vendors. This is solely dependent on the scope of both the VXML vendor property and the grammars.
Note:
Only one speech recognition vendor can perform recognition at a time. Therefore, loading grammars on multiple vendors simultaneously, results in some grammars not being active during the recognition. This is because the grammars are loaded on another speech recognition vendor.
|
The outcome of this design is that all grammars in a VXML document are loaded on a single speech recognition vendor. Defining the property at the form or field level can complicate the design of the application.
|
|
Application root documents
|
If the application is designed with an application root document, defining grammars in the application root document introduces complications regarding the following:
|
If the application root document defines grammars which need to be common across all speech recognition vendors, ensure that these application root grammars are defined for each speech recognition vendor that is used by the application.
For example, an application root document defines a common return grammar that allows the user to speak a return command that brings them back to the start of the application. The application uses both Nuance and Loquendo speech recognition in different sections and there is a leaf document per recognition vendor. To load and activate the common return grammar on both Nuance and Loquendo speech recognition vendors, the grammar must be defined twice in the application root document (per vendor).
This can be accomplished by defining a <form> per vendor with the document scope in the application root document.
|
|
Event handler documents
|
Like the application root document, defining grammars in the event handler documents can introduce complications.
|
If the application defines grammars within event handler documents, ensure that the grammar is defined for all required speech recognition vendors.
|