static int indexOfVerb(L l) { Set verbs = knownVerbs(); for (int i = 0; i < l(l); i++) if (contains(verbs, lower(l.get(i)))) ret i; ret -1; }