static L splitIntoSentences_v1(S s) { ret splitIntoSentences_v1_tok(nlTok3(s)); } static L splitIntoSentences_v1_tok(L s) { int i = 0; new L l; while (i <= l(s)) { int j = smartIndexOf(s, ".", i)+1; addIfNempty(l, trim(join(subList(s, i, j)))); i = j; } ret l; }