IStemmer Interface

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

IStemmer Members

GenerateWordForms Generates alternative forms for a word and puts these forms in the WordFormSink.
GetLicenseToUse Gets the license information for this IStemmer implementation.
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 to 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.

Interface Information

Inherits from IUnknown
Header indexsrv.h
Import library user-defined
Minimum operating systems Windows NT 4.0 with the Windows NT 4.0 Option Pack, Windows 2000

See Also

Implementing a Stemmer, IWordBreaker, Language Resource Samples, Secure Code Practices