Grammalecte  Check-in [80224c9502]

Overview
Comment:[fr] gendicfr: update tags
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 80224c9502a61d17b41d6df51b3a607fa99c11bc684a87b812d0c78afaeef65a
User & Date: olr on 2020-10-03 19:20:13
Other Links: manifest | tags
Context
2020-10-03
19:40
[graphpspell] ibdawg: fix dictionary building check-in: b76283a876 user: olr tags: trunk, graphspell
19:20
[fr] gendicfr: update tags check-in: 80224c9502 user: olr tags: trunk, fr
19:04
[fr] ajustements check-in: 6009946211 user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/dictionnaire/genfrdic.py from [26c22d9cd4] to [32a018663d].

1139
1140
1141
1142
1143
1144
1145
1146



1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164



1165
1166
1167
1168
1169
1170
1171
1139
1140
1141
1142
1143
1144
1145

1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176







-
+
+
+


















+
+
+







        "cjco": ":Cc", "cjsub": ":Cs", "cj": ":C", "loc.cj": ":ÉC", "loc.cjsub": ":ÉCs",
        "prn": ":M1", "patr": ":M2", "loc.patr": ":ÉM2", "npr": ":MP", "nompr": ":NM",
        "pfx": ":Zp", "sfx": ":Zs",
        "div": ":H",
        "err": ":F",
        "ponc": ":@p", "sign": ":@s",
        # LEX
        "symb": ";S", "unit": ";U", "col": ";C"
        "symb": ";S", "unit": ";U", "col": ";C", "hm": ";É", "pel": ";é",
        # SEM
        "gent": ";G"
    }

    def _getSimpleTags (self):
        s = ""
        # POS
        for sTag in self.sMorph.split():
            if sTag.startswith("v"):
                s += ":V" + sTag[1:]
            else:
                if sTag in self._dTagReplacement:
                    s += self._dTagReplacement[sTag]
                else:
                    echo(" # unknown tag: " + sTag + "  on: " + self.oEntry.lemma)
        # LEX
        for sTag in self.oEntry.lx.split():
            if sTag in self._dTagReplacement:
                s += self._dTagReplacement[sTag]
        # SEM
        for sTag in self.oEntry.se.split():
            if sTag in self._dTagReplacement:
                s += self._dTagReplacement[sTag]
        #s += "~" + self.oEntry.se  if self.oEntry.se and self.oEntry.se != "@"  else ""
        # ETY
        #s += "<" + self.oEntry.et  if self.oEntry.et and self.oEntry.et != "@"  else ""
        # IFQ
        #s += "=" + self.cFq
        # DIC
        if self.oEntry.di == "*" and self.cDic != "*":