How to design an external term breaker library

The external term breaker library must be implemented in C/C++, and must:

  • include of the term breaker interface definition header file, exttbapiv1.h.

  • implement the a_word_source interface.

  • provide an entry point function that initializes and returns an instance of a_word_source (term breaker) and the label of the character set supported by the term breaker.

 Calling sequence for the term breaker
 External term breaker library workflow
 See also