Grammalecte  Check-in [c4ce706a6b]

Overview
Comment:[build][bug] darg: wrong statement
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build | rg
Files: files | file ages | folders
SHA3-256: c4ce706a6bc464cf7a672267db0a3005bc3d985ca9e0fc92ff0be2889ed4c0a1
User & Date: olr on 2018-05-24 11:13:20
Other Links: branch diff | manifest | tags
Context
2018-05-24
11:14
[build][core] rules graph: definitions and multiple tokens check-in: da8c5de7df user: olr tags: core, build, rg
11:13
[build][bug] darg: wrong statement check-in: c4ce706a6b user: olr tags: build, rg
09:25
[build][core] regex for token value and token morphologies check-in: fea041c0de user: olr tags: core, build, rg
Changes

Modified darg.py from [e83ec424d3] to [589e9bbc94].

170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
                dLemmas[sArc[1:]] = oNode.__hash__()
            elif sArc.startswith("##"):
                dRules[sArc[1:]] = oNode.__hash__()
            else:
                dNode[sArc] = oNode.__hash__()
        if dReValue:
            dNode["<re_value>"] = dReValue
        il dReMorph:
            dNode["<re_morph>"] = dReMorph
        if dLemmas:
            dNode["<lemmas>"] = dLemmas
        if dRules:
            dNode["<rules>"] = dRules
        #if self.bFinal:
        #    dNode["<final>"] = 1







|







170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
                dLemmas[sArc[1:]] = oNode.__hash__()
            elif sArc.startswith("##"):
                dRules[sArc[1:]] = oNode.__hash__()
            else:
                dNode[sArc] = oNode.__hash__()
        if dReValue:
            dNode["<re_value>"] = dReValue
        if dReMorph:
            dNode["<re_morph>"] = dReMorph
        if dLemmas:
            dNode["<lemmas>"] = dLemmas
        if dRules:
            dNode["<rules>"] = dRules
        #if self.bFinal:
        #    dNode["<final>"] = 1