Index: darg.py ================================================================== --- darg.py +++ darg.py @@ -224,19 +224,22 @@ dReValue = {} dReMorph = {} dRule = {} dLemma = {} dMeta = {} + dTag = {} for sArc, oNode in self.dArcs.items(): if sArc.startswith("@") and len(sArc) > 1: dReMorph[sArc[1:]] = oNode.__hash__() elif sArc.startswith("~") and len(sArc) > 1: dReValue[sArc[1:]] = oNode.__hash__() elif sArc.startswith(">") and len(sArc) > 1: dLemma[sArc[1:]] = oNode.__hash__() elif sArc.startswith("*") and len(sArc) > 1: dMeta[sArc[1:]] = oNode.__hash__() + elif sArc.startswith("/") and len(sArc) > 1: + dTag[sArc[1:]] = oNode.__hash__() elif sArc.startswith("##"): dRule[sArc[1:]] = oNode.__hash__() else: dNode[sArc] = oNode.__hash__() if dReValue: @@ -243,12 +246,14 @@ dNode[""] = dReValue if dReMorph: dNode[""] = dReMorph if dLemma: dNode[""] = dLemma + if dTag: + dNode[""] = dTag if dMeta: dNode[""] = dMeta if dRule: dNode[""] = dRule #if self.bFinal: # dNode[""] = 1 return dNode