static LPair dm_gazelle_linesToIgnoreForSimpleWikipediaTopic(S topic) { L> rules = dm_allRulesFromRulesModuleWithCommentsAndIDs(); new Matches m; new LPair out; for (T3 t : rules) { S text = t.a; LS comment = lines(t.b); if (neqic(lastLine(text), "=> ignore")) continue; if (!matchAny("from simple wikipedia topic *", comment, m)) continue; if (neqic($1, topic)) continue; if (!jmatchAny("previous lines = *", comment, m)) continue; int lineIndex = countLines($1); out.add(pair(firstLine(t.a), lineIndex)); } ret out; }