static L> ai_findSimplestNounPhrases(S s) { replace P with ParsedWithTokens. new L> out; for (P det : pwt_filter isDeterminer(pwt_initial(s, 2))) for (P noun : pwt_stepRight_filter isNoun(1, det)) out.add(pwt_combine(DeterminerPlusNoun(det!, noun!), det, noun)); ret out; }