IStemmer interface (indexsrv.h)

Provides methods for creating a language-specific stemmer. The stemmer generates inflected forms of a specified word.

Inheritance

The IStemmer interface inherits from the IUnknown interface. IStemmer also has these types of members:

Methods

The IStemmer interface has these methods.

 
IStemmer::GenerateWordForms

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

Gets the license information for this IStemmer implementation.
IStemmer::Init

Initializes the stemmer.

Remarks

When to Implement

Implement this interface to create a custom stemmer for a language. Windows Search calls the methods of this interface to generate inflected forms for words identified when building an index.

Stemmer components for Windows Search run in the Local Security context. They should be written to manage buffers and the stack correctly. All string copies must have explicit checks to guard against buffer overruns. You should always verify the allocated size of the buffer and test the size of the data against the size of the buffer.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header indexsrv.h
Redistributable Windows NT 4.0 Option Pack