Returns alternative word interpretations of a previous result. (Not supported
in Japanese version.)
int GetAlternateWordsHRCRESULT( HRCRESULT hrcresult, UINT iSyv, UINT cSyv, LPHRCRESULT rghrcresults, UINT cResults )
Handle of a results object.
Index of the first of a span of symbols within the results object.
The number of symbols in the original result, starting at iSyv
, for which alternative words are required.
Address of a result array. This address cannot be NULL.
The size of the rghrcresults
array in results. This parameter must be greater than 0.
Returns the number of results actually provided, if successful. This can be
less than the space allocated in rghrcresults
, and may be 0; otherwise, returns one of the following negative values:
||Invalid parameter or other error.
||The recognizer does not support this function.
GetAlternateWordsHRCRESULT provides alternative word interpretations of a previous result. The
alternatives returned are strongly coerced to words in the recognizer's dictionary, if
enabled, and the word list, if any, of the HRC
that processed the results.
The span of symbols defined by iSyv
need not fall on word boundaries. However, the recognizer returns only a
single word per result. It is the application's responsibility to ensure that
embedding a full word within other symbols makes sense. (The application can also
choose to let the user make that decision.) For example, finding alternatives for
"polce" in the phrase "pig-in-a-polce" could legitimately return "poke" as an
alternative, but alternatives for "kef" in "markefplace" would probably be
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database