!7 module Think > DynTextArea { transient S input; start { dm_onTopInputChangeAndNow(voidfunc(S s) { input = s; updateMe() }); doEvery(10.0, r updateMe); } void update { Map map = dm_getDefinitionsMap(); new LinkedHashSet out; for (S word : words(input)) { LS defs = map.get(word); if (cic(defs, "something humans often do")) out.add("Interpretation: You want to " + word); } setText(">> " + input + "\n\n" + lines(out)); } }