Sets a word list into a recognition context HRC
int SetWordlistHRC( HRC hrc, HWL hwl )
Handle to the HRC
Handle to a word list to use, or NULL. A value of NULL means that the
recognizer should not constrain recognition based on any word list, including its own
Returns HRCR_OK if successful; otherwise, returns one of the following
||Invalid parameter or other error.
||The recognizer does not support this function.
Specifying NULL for hrc
does not destroy the word list specified by hwl
. Applications must call DestroyHWL
to destroy a word list.
Only one word list can be set into an HRC
at a time. This is independent of the recognizer's dictionary, which can be
manipulated through the function EnableSystemDictionaryHRC
For a description of word lists and how a recognizer uses them, see
"Configuring the HRC" in Chapter 5, "The Recognition Process."
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages