// e.g. wordPart = "fall", sentence = "falling road" static Set ai_wordStartToSuffixes(S wordPart, S sentence) { Set out = ciSet(); new Matches m; for (S s : javaTokC(sentence)) if (swic(s, wordPart, m) && nempty(m.rest())) out.add(m.rest()); ret out; }