rKarthik

I was trying to use the BreakText function from the IWordBreaker interface to tokenize some english text just to see how it works and noticed that, it throws an exception when the source text has some spaces. It works fine when I pass a source text without spaces.

The function prototype is

HRESULT BreakText(
  TEXT_SOURCE * pTextSource,
  IWordSink * pWordSink,
  IPhraseSink * pPhraseSink
);

Any suggestions

Thanks,

KarthikR




Re: Windows SDK IWordBreaker throws exception when I pass text with space

rKarthik

I figured out the problem. The problem seems to be in my code. IWordBreaker works fine. Sorry about that.

Thanks,

KarthikR