Companion

object Companion

Properties

Link copied to clipboard
const val DONE: Int

DONE is returned by previous() and next() after all valid boundaries have been returned.

Link copied to clipboard
const val WORD_IDEO: Int = 400

Tag value for words containing ideographic characters, lower limit

Link copied to clipboard
const val WORD_IDEO_LIMIT: Int = 500

Tag value for words containing ideographic characters, upper limit

Link copied to clipboard
const val WORD_KANA: Int = 300

Tag value for words containing kana characters, lower limit

Link copied to clipboard
const val WORD_KANA_LIMIT: Int = 400

Tag value for words containing kana characters, upper limit

Link copied to clipboard
const val WORD_LETTER: Int = 200

Tag value for words that contain letters, excluding hiragana, katakana or ideographic characters, lower limit.

Link copied to clipboard
const val WORD_LETTER_LIMIT: Int = 300

Tag value for words containing letters, upper limit

Link copied to clipboard
const val WORD_NONE: Int = 0

Tag value for "words" that do not fit into any of other categories. Includes spaces and most punctuation.

Link copied to clipboard
const val WORD_NONE_LIMIT: Int = 100

Upper bound for tags for uncategorized words.

Link copied to clipboard
const val WORD_NUMBER: Int = 100

Tag value for words that appear to be numbers, lower limit.

Link copied to clipboard
const val WORD_NUMBER_LIMIT: Int = 200

Tag value for words that appear to be numbers, upper limit.

Functions

Link copied to clipboard

Returns a new BreakIterator instance for character breaks for the default locale.

Link copied to clipboard
fun makeLineInstance(locale: String? = null): BreakIterator

Returns a new BreakIterator instance for line breaks for the default locale.

Link copied to clipboard

Returns a new BreakIterator instance for sentence breaks for the default locale.

Link copied to clipboard
fun makeWordInstance(locale: String? = null): BreakIterator

Returns a new BreakIterator instance for word breaks for the default locale.