Specifying RecoDefinitions for an application

If all the applications running in a node are to use the same speech recognition technology, there is no need to specify RecoDefinitions in the AppName configuration entry. All applications can use the RecoDefinitions in the NodeName configuration entry. However, if you are using different technologies for different applications, you need to read this section.

If all the applications running in a node are to use the same speech recognition technology, there is no need to specify RecoDefinitions in the AppName configuration entry. All applications can use the RecoDefinitions in the NodeName configuration entry. However, if you are using different technologies for different applications, you need to read this section.

When a Blueworx Voice Response application attempts to use speech recognition, the current locale of the application is used to find the appropriate RecoDefinition. In VoiceXML, the value of the vxml xml:lang attribute determines the current locale of the application. The AppName configuration entry is searched first, and if a RecoDefinition is found for the locale, or for “all locales”, it is used. If no RecoDefinition is found for the locale, the NodeName configuration entry is searched.

Figure 1. Searching for the RecoType: contrasting examples
This picture shows two contrasting examples of searching for the RecoType.
Figure 2. Searching for the RecoType: more contrasting examples
This picture shows three more contrasting examples of searching for the RecoType.

Figure 1 and Figure 2 show five contrasting examples of the search for a RecoDefinition to be used for Canadian French.

If this seems over-complicated, you can avoid any confusion by specifying all your RecoDefinitions in the NodeName configuration entry.

Once a suitable RecoDefinition is found, the RecoType is used to search for the RecoService configuration entry. All the RecoServices specified in the NodeName configuration entry are searched until the RecoType is found. Once the RecoService has been found, the name of the speech recognition plug-in is known, and the plug-in is used to pass the recognition request to the speech recognizer.

Figure 3. The search for the speech recognition plug-in
This picture shows the search for the speech recognition plug-in.