static Map> dm_ai_analyzeLineCategoryWithFeature_map(S category, fS feature) { LPair pairs = map(objectsWhere(dm_lineToCategory_entries(), +category), func(Line2Category l) -> Pair { pair(callAndMake(feature, l.line), l.answer) }); ret pairsToMapWithSetValues(pairs); }