The ExternalBreakEngine class define an abstract interface for the host environment to provide a low level facility to break text for unicode text in script that the text boundary cannot be handled by upper level rule based logic, for example, for Chinese and Japanese word breaking, Thai, Khmer, Burmese, Lao and other Southeast Asian scripts. More...
#include <rbbi.h>
The ExternalBreakEngine class define an abstract interface for the host environment to provide a low level facility to break text for unicode text in script that the text boundary cannot be handled by upper level rule based logic, for example, for Chinese and Japanese word breaking, Thai, Khmer, Burmese, Lao and other Southeast Asian scripts.
The host environment implement one or more subclass of ExternalBreakEngine and register them in the initialization time by calling RuleBasedBreakIterator::registerExternalBreakEngine(). ICU adopt and own the engine and will delete the registered external engine in proper time during the clean up event.
Definition at line 60 of file rbbi.h.
◆ ~ExternalBreakEngine() virtual icu::ExternalBreakEngine::~ExternalBreakEngine ( ) inlinevirtualdestructor
This API is for internal use only. ICU 74 technology preview
Definition at line 66 of file rbbi.h.
◆ fillBreaks() virtual int32_t icu::ExternalBreakEngine::fillBreaks ( UText * text, int32_t start, int32_t end, int32_t * foundBreaks, int32_t foundBreaksCapacity, UErrorCode & status ) const pure virtualDivide up a range of text handled by this break engine.
Indicate whether this engine handles a particular character.This method is used by the RuleBasedBreakIterator after it already find a break engine to see which characters after the first one can be handled by this break engine.
Indicate whether this engine handles a particular character when the RuleBasedBreakIterator is used for a particular locale. This method is used by the RuleBasedBreakIterator to find a break engine.
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4