static int ai_endOfNounPhrase(L tok) { int i = 1; while (eqicOneOf(get(tok, i), "the", "of")) i += 4; ret i; }