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

enum UWordBreak

Enum constants for the word break tags returned by getRuleStatus(). A range of values is defined for each category of word, 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.2

Enumerator:
UBRK_WORD_NONE  Tag value for "words" that do not fit into any of other categories. Includes spaces and most punctuation.
UBRK_WORD_NONE_LIMIT  Upper bound for tags for uncategorized words.
UBRK_WORD_NUMBER  Tag value for words that appear to be numbers, lower limit.
UBRK_WORD_NUMBER_LIMIT  Tag value for words that appear to be numbers, upper limit.
UBRK_WORD_LETTER  Tag value for words that contain letters, excluding hiragana, katakana or ideographic characters, lower limit.
UBRK_WORD_LETTER_LIMIT  Tag value for words containing letters, upper limit
UBRK_WORD_KANA  Tag value for words containing kana characters, lower limit
UBRK_WORD_KANA_LIMIT  Tag value for words containing kana characters, upper limit
UBRK_WORD_IDEO  Tag value for words containing ideographic characters, lower limit
UBRK_WORD_IDEO_LIMIT  Tag value for words containing ideographic characters, upper limit

Definition at line 125 of file ubrk.h.

                        {
    /** Tag value for "words" that do not fit into any of other categories.
     *  Includes spaces and most punctuation. */
    UBRK_WORD_NONE           = 0,
    /** Upper bound for tags for uncategorized words. */
    UBRK_WORD_NONE_LIMIT     = 100,
    /** Tag value for words that appear to be numbers, lower limit.    */
    UBRK_WORD_NUMBER         = 100,
    /** Tag value for words that appear to be numbers, upper limit.    */
    UBRK_WORD_NUMBER_LIMIT   = 200,
    /** Tag value for words that contain letters, excluding
     *  hiragana, katakana or ideographic characters, lower limit.    */
    UBRK_WORD_LETTER         = 200,
    /** Tag value for words containing letters, upper limit  */
    UBRK_WORD_LETTER_LIMIT   = 300,
    /** Tag value for words containing kana characters, lower limit */
    UBRK_WORD_KANA           = 300,
    /** Tag value for words containing kana characters, upper limit */
    UBRK_WORD_KANA_LIMIT     = 400,
    /** Tag value for words containing ideographic characters, lower limit */
    UBRK_WORD_IDEO           = 400,
    /** Tag value for words containing ideographic characters, upper limit */
    UBRK_WORD_IDEO_LIMIT     = 500
} UWordBreak;


Generated by  Doxygen 1.6.0   Back to index