Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Puts an alternative form of a word in the IWordFormSink object.
Syntax
HRESULT PutAltWord(
[in] const WCHAR *pwcInBuf ,
[in] ULONG cwc
);
Parameters
-
pwcInBuf [in]
-
A pointer to a buffer that contains an alternative form of a word.
-
cwc [in]
-
The number of characters in pwcInBuf.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The operation was completed successfully. |
|
Value of cwc is larger than the value for ulMaxTokenSize that is specified in IStemmer::Init. |
Remarks
This method is called from the GenerateWordForms method of the IStemmer implementation. All alternative forms for a word, except the last, are put in the IWordFormSink object by calling IWordFormSink::PutAltWord. The final alternative form of a word, which is always the original form of the word, is handled by calling IWordFormSink::PutWord.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
See also