scope ai_mechPatternListNamesForAngleBracketCategory. static TimedCache>> #cache = TimedCache(5.0); static Set ai_mechPatternListNamesForAngleBracketCategory(S s) { Map> map = cache.get(f newHashMap); s = dropTrailingNumberFromAngleBracketCategory(s); if (map.containsKey(s)) ret map.get(s); // Derive from the category name Set set = litCISet(replace(deAngleBracket(s), "_", " ") + " patterns"); set.addAll(mechMultiMapCI("Word category => Pattern List").get(s)); map.put(s, set); ret set; } end scope