static int ai_countIdenticalWords(S a, S b) { LS tokA = javaTokWithBrackets_cached(a); LS tokB = javaTokWithBrackets_cached(b); if (l(tokA) != l(tokB)) ret 0; int score = 0; for (int i = 1; i < l(tokA); i += 2) if (eqic(tokA.get(i), tokB.get(i))) ++score; ret score; }