Home
last modified time | relevance | path

Searched refs:coreSentence (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java687 String coreSentence = line.substring(start, end); in genTestFile() local
692 while (oldPos < coreSentence.length()) { in genTestFile()
694 int pos = coreSentence.indexOf(". ", oldPos); in genTestFile()
695 if (pos < 0) pos = coreSentence.length(); else pos = pos+2; in genTestFile()
696 int pos2 = coreSentence.indexOf('\u3002', oldPos); in genTestFile()
697 if (pos2 < 0) pos2 = coreSentence.length(); else pos2 = pos2 + 1; in genTestFile()
699 String sentence = coreSentence.substring(oldPos, pos).trim(); in genTestFile()