Logo Search packages:      
Sourcecode: icu version File versions  Download package

Enum constants for the sentence break tags returned by getRuleStatus(). A range of values is defined for each category of sentence, to allow for further subdivisions of a category in future releases. Applications should check for tag values falling within the range, rather than for single individual values. ICU 2.8

Enumerator:
UBRK_SENTENCE_TERM  Tag value for for sentences ending with a sentence terminator ('.', '?', '!', etc.) character, possibly followed by a hard separator (CR, LF, PS, etc.)
UBRK_SENTENCE_TERM_LIMIT  Upper bound for tags for sentences ended by sentence terminators.
UBRK_SENTENCE_SEP  Tag value for for sentences that do not contain an ending sentence terminator ('.', '?', '!', etc.) character, but are ended only by a hard separator (CR, LF, PS, etc.) or end of input.
UBRK_SENTENCE_SEP_LIMIT  Upper bound for tags for sentences ended by a separator.

Definition at line 180 of file ubrk.h.

                               {
    /** Tag value for for sentences  ending with a sentence terminator
      * ('.', '?', '!', etc.) character, possibly followed by a
      * hard separator (CR, LF, PS, etc.)
      */
    UBRK_SENTENCE_TERM       = 0,
    /** Upper bound for tags for sentences ended by sentence terminators.    */
    UBRK_SENTENCE_TERM_LIMIT = 100,
    /** Tag value for for sentences that do not contain an ending
      * sentence terminator ('.', '?', '!', etc.) character, but
      * are ended only by a hard separator (CR, LF, PS, etc.) or end of input.
      */
    UBRK_SENTENCE_SEP        = 100,
    /** Upper bound for tags for sentences ended by a separator.              */
    UBRK_SENTENCE_SEP_LIMIT  = 200
    /** Tag value for a hard, or mandatory line break  */
} USentenceBreakTag;


Generated by  Doxygen 1.6.0   Back to index