Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

IWordBreaker interface

Parses text and identifies individual words and phrases. This interface is a language-specific language resource component. It is used in background processes and must be optimized for both throughput and minimal use of resources.

Members

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

Methods

The IWordBreaker interface has these methods.

MethodDescription
BreakText

Parses text to identify words and phrases and provides the results to the IWordSink and IPhraseSink objects.

ComposePhrase

Not currently supported.

GetLicenseToUse

Gets a pointer to the license information for this implementation of the IWordBreaker interface.

Init

Initializes the IWordBreaker implementation and indicates the mode in which the component operates.

 

Remarks

When to Implement

Implement this interface to create a custom word breaker for a language. Windows Search calls the methods of this interface when it builds content indexes and runs queries.

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.