Grammalecte  Check-in [1895dda13e]

Overview
Comment:[build][core] use 1 instead of empty string for specific tags
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core | build | rg
Files: files | file ages | folders
SHA3-256: 1895dda13e168b19038eec4790ad0bbbd79ca8b7b5fc901ed11ae6b45d371161
User & Date: olr on 2018-05-17 09:09:05
Other Links: branch diff | manifest | tags
Context
2018-05-18
13:11
[graphspell] tokenizer: add token index and avoid punctuations aggregation check-in: be6d99bbdc user: olr tags: graphspell, rg
2018-05-17
09:09
[build][core] use 1 instead of empty string for specific tags check-in: 1895dda13e user: olr tags: core, build, rg
08:55
[build][core] handle regex tokens check-in: a4464491a9 user: olr tags: core, build, rg
Changes

Modified datg.py from [0ecbd40da7] to [7505f580c7].

173
174
175
176
177
178
179
180
181
182
183
            if type(arc) == str and arc.startswith("~"):
                dRegex[arc[1:]] = oNode.__hash__()
            else:
                dNode[arc] = oNode.__hash__()
        if dRegex:
            dNode["<regex>"] = dRegex
        if self.bFinal:
            dNode["<final>"] = ""
        if self.bInfo:
            dNode["<info>"] = ""
        return dNode







|

|

173
174
175
176
177
178
179
180
181
182
183
            if type(arc) == str and arc.startswith("~"):
                dRegex[arc[1:]] = oNode.__hash__()
            else:
                dNode[arc] = oNode.__hash__()
        if dRegex:
            dNode["<regex>"] = dRegex
        if self.bFinal:
            dNode["<final>"] = 1
        if self.bInfo:
            dNode["<info>"] = 1
        return dNode