!7 sclass Entry { long msgID; S originalLine; S interpretableText; sS _fieldOrder = "msgID originalLine interpretableText"; } set flag DynModule. cmodule InterpretableTest > DynObjectTable { start { thread { scan(); } } visualize { ret withCenteredButtons(super.visualize(), "Scan", rThread scan); } void scan enter { new L list; new Flag interrupted; temp AutoCloseable action = dm_currentAction("Scanning chat", rRaiseFlag(interrupted)); F0 contextMaker = new GazelleContextCache_v2().fill(); L lines = dm_discord_allLines(); int i = 0; for (GazelleLine line : lines) { ++i; if (!licensed() || interrupted!) break; getInterpretables(line, +contextMaker); list.add(nu Entry(originalLine := line.text, msgID := line.msgID)); call(action, 'setText, "Scanned " + i + "/" + n2(lines, "line")); } setList(list); } Collection getInterpretables(GazelleLine line, O... _) { Set interpretables = linkedCISet(); // fancy new set! _addAll(interpretables, collect text( dm_gazelle_reasonAboutChatInput_v2(line.user, line.text, paramsPlus(_, acceptablePurposes := litset('preprocess))))); ret interpretables; } }