Index: gc_core/py/lang_core/gc_engine.py ================================================================== --- gc_core/py/lang_core/gc_engine.py +++ gc_core/py/lang_core/gc_engine.py @@ -680,10 +680,17 @@ continue if not sPattern or any(re.search(sPattern, sMorph) for sMorph in _oSpellChecker.getMorph(dToken["sValue"])): if bDebug: print(" MATCH: @" + sRegex) yield dGraph[dNode[""][sRegex]] + # token tags + if "tags" in dToken and "" in dNode: + for sTag in dNode[""]: + if sTag in dToken["tags"]: + if bDebug: + print(" MATCH: $" + sTag) + yield dGraph[dNode[""][sTag]] # meta arc (for token type) if "" in dNode: for sMeta in dNode[""]: # not regex here, we just search if exists within if sMeta == "*":