Export (0) Print
Expand All

IStemmer::GenerateWordForms method

Generates alternative forms for a word and puts these forms in the IWordFormSink object.

Syntax


HRESULT GenerateWordForms(
  [in]  const WCHAR *pwcInBuf,
  [in]  ULONG cwc,
  [in]  IWordFormSink *pWordFormSink
);

Parameters

pwcInBuf [in]

Type: const WCHAR*

Pointer to a buffer that contains the word to stem. The characters in pwcInBuf are represented in Unicode.

cwc [in]

Type: ULONG

Number of characters in pwcInBuf.

pWordFormSink [in]

Type: IWordFormSink*

Pointer to an IWordFormSink object that receives and handles the alternative word forms generated by this method.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

Successful completion.

E_INVALIDARG

Invalid argument. Either pwcInBuf or pWordFormSink is NULL.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Windows NT 4.0 Option Pack

Header

Indexsrv.h

See also

IStemmer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft