Usefull for artificial intelligence Part-2

Artificial Intelligence



2.         Recognizer as an Engine


The basic functionality provided by a Recognizer includes grammar management and the production of results when a user says things that match active grammars. The Recognizer interface extends the Engine interface to provide this functionality.

The following is a list of the functionality that the javax.speech.recognition package inherits from the javax.speech package and outlines some of the ways in which that functionality is specialized.

The properties of a speech engine defined by the EngineModeDesc class apply to recognizers. The RecognizerModeDesc class adds information about dictation capabilities of a recognizer and about users who have trained the engine. Both EngineModeDesc and RecognizerModeDesc are described in Section .
Recognizers are searched, selected and created through the Central class in the javax.speech package as described in Section . That section explains default creation of a recognizer, recognizer selection according to defined properties, and advanced selection and creation mechanisms.
Recognizers inherit the basic state systems of an engine from the Engine interface, including the four allocation states, the pause and resume state, the state monitoring methods and the state update events. The engine state systems are described in Section . The two state systems added by recognizers are described in Section .
Recognizers produce all the standard engine events . The javax.speech.recognition package also extends the EngineListener interface as RecognizerListener to provide events that are specific to recognizers.
Other engine functionality inherited as an engine includes the runtime properties, audio management  and vocabulary management .


Comments

Popular Posts