sS replaceWords(S s, S... replacements) { SS map = litcimap(replacements); LS tok = nlTok(s); for (int i = 1; i < l(tok); i += 2) { S x = map.get(tok.get(i)); if (x != null) tok.set(i, x); } ret join(tok); }