Overview
Comment: | [fr] lexicographer: fix end of lemma detection |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fr |
Files: | files | file ages | folders |
SHA3-256: |
e1fceb6d5489f33f31092bfc29cd76e7 |
User & Date: | olr on 2018-09-20 09:56:46 |
Original Comment: | [fr] lexicographer: fix end of lemme detection |
Other Links: | manifest | tags |
Context
2018-09-21
| ||
08:21 | [build][fr] colors for options (draft) check-in: c93a0ed5ea user: olr tags: trunk, fr, build | |
2018-09-20
| ||
09:56 | [fr] lexicographer: fix end of lemma detection check-in: e1fceb6d54 user: olr tags: trunk, fr | |
09:01 | [tb] fix import and call of the gc engine check-in: 9174cdbe8a user: olr tags: trunk, tb | |
Changes
Modified gc_lang/fr/modules/lexicographe.py from [175c38852d] to [b4f624d13c].
︙ | |||
209 210 211 212 213 214 215 | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | - + | "returns string: readable tags" sRes = "" sTags = re.sub("(?<=V[1-3])[itpqnmr_eaxz]+", "", sTags) sTags = re.sub("(?<=V0[ea])[itpqnmr_eaxz]+", "", sTags) for m in self._zTag.finditer(sTags): sRes += _dTAGS.get(m.group(0), " [{}]".format(m.group(0)))[0] if sRes.startswith(" verbe") and not sRes.endswith("infinitif"): |
︙ |