!7 sclass MatchInput > DynPrintLogWithInput { void update(S s) { print("\n> " + s); L pats = mL("English sentence patterns"); L tok = javaTokWithAngleBracketsC(s); printStruct(tok); for (S pat : pats) { L tokPat; tokPat = javaTokWithAngleBracketsC(pat); L> match = uniquify(dropTwinPairs(zipTwoListsToPairs_ifSameLength(tokPat, tok))); if (match != null) print(" Choose pattern " + quote(pat) + " if match: " + sfu(match)); } } }