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, comment = t.b; 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; }