public BurmeseBreakEngine() : base(BreakIterator.KIND_WORD, BreakIterator.KIND_LINE) { SetCharacters(fBurmeseWordSet); // Initialize dictionary fDictionary = DictionaryData.LoadDictionaryFor("Mymr"); }
public LaoBreakEngine() : base(BreakIterator.KIND_WORD, BreakIterator.KIND_LINE) { SetCharacters(fLaoWordSet); // Initialize dictionary fDictionary = DictionaryData.LoadDictionaryFor("Laoo"); }
public KhmerBreakEngine() : base(BreakIterator.KIND_WORD, BreakIterator.KIND_LINE) { SetCharacters(fKhmerWordSet); // Initialize dictionary fDictionary = DictionaryData.LoadDictionaryFor("Khmr"); }
public CjkBreakEngine(bool korean) : base(BreakIterator.KIND_WORD) { fDictionary = DictionaryData.LoadDictionaryFor("Hira"); if (korean) { SetCharacters(fHangulWordSet); } else { //Chinese and Japanese UnicodeSet cjSet = new UnicodeSet(); cjSet.AddAll(fHanWordSet); cjSet.AddAll(fKatakanaWordSet); cjSet.AddAll(fHiraganaWordSet); cjSet.Add(0xFF70); // HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK cjSet.Add(0x30FC); // KATAKANA-HIRAGANA PROLONGED SOUND MARK SetCharacters(cjSet); } }