Adds words to a word list.
int AddWordsHWL( HWL hwl, LPSTR lpsz, UINT uType )
Handle to a word list, or the constant HWL_SYSTEM for the recognizer's master
A pointer to a source of words, depending on the uType
Word list type. This can be one of the following values:
||lpsz points to a single null-terminated character string in memory.
||lpsz points to an array of null-terminated character strings in memory. The list
is terminated by two null characters.
||lpsz is the handle of a previously created word list, cast as LPSTR.
Returns HRCR_OK if successful; otherwise, returns one of the following
||Invalid parameter or other error.
If a user wants to add a word to the system word list, which is available
whenever the system dictionary is enabled (see EnableSystemDictionaryHRC
), then hwl
should be set to the predefined constant HWL_SYSTEM. Words that are not
normally found in a dictionary, such as a person's name, can be added to the system
word list. How this list is implemented, its size, or if it even exists,
depends on the recognizer. A typical recognizer might maintain a thousand-word list,
replacing random entries on overflow.
The HWL_SYSTEM constant cannot be used in any of the other word-list
functions. For example, it is not possible to destroy the system word list with the DestroyHWL
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
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database