public String getType(int script, int ruleStatus) {switch (ruleStatus) {case RuleBasedBreakIterator.WORD_IDEO:return WORD_IDEO;case RuleBasedBreakIterator.WORD_KANA:return script == UScript.HIRAGANA ? WORD_HIRAGANA : WORD_KATAKANA;case RuleBasedBreakIterator.WORD_LETTER:return script == UScript.HANGUL ? WORD_HANGUL : WORD_LETTER;case RuleBasedBreakIterator.WORD_NUMBER:return WORD_NUMBER;case EMOJI_SEQUENCE_STATUS:return WORD_EMOJI;default: return "<OTHER>";}}
public override string GetType(int script, int ruleStatus){switch (ruleStatus){case BreakIterator.WordIdeo:return WORD_IDEO;case BreakIterator.WordKana: return script == UScript.Hiragana ? WORD_HIRAGANA : WORD_KATAKANA;case BreakIterator.WordLetter: return script == UScript.Hangul ? WORD_HANGUL : WORD_LETTER;case BreakIterator.WordNumber: return WORD_NUMBER;default: return "<OTHER>";}}