Export (0) Print
Expand All

IStemmer interface

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

Members

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

Methods

The IStemmer interface has these methods.

MethodDescription
GenerateWordForms

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

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 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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft