Overview
Comment: | [lo][fr] Recenseur de mots: compte double pour les mots composés formes verbales interrogatives |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | lo |
Files: | files | file ages | folders |
SHA3-256: |
f02cd26db17dafe9362576ed01288fc8 |
User & Date: | olr on 2020-03-02 15:15:16 |
Other Links: | manifest | tags |
Context
2020-03-04
| ||
13:50 | [fr] ajustements check-in: e65aa598d3 user: olr tags: trunk, fr | |
2020-03-02
| ||
15:15 | [lo][fr] Recenseur de mots: compte double pour les mots composés formes verbales interrogatives check-in: f02cd26db1 user: olr tags: trunk, lo | |
12:59 | [graphspell][py] count words occurrence: count elided words check-in: f1c63ee223 user: olr tags: trunk, graphspell | |
Changes
Modified gc_lang/fr/oxt/Lexicographer/Enumerator.py from [e3348f90d5] to [60452afcd6].
︙ | |||
305 306 307 308 309 310 311 312 313 314 315 316 317 318 | 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | + + | i = 0 nTotOccur = 0 for sWord, nOccur in sorted(self.dWord.items(), key=lambda t: t[1], reverse=True): xGridDataModel.addRow(i, (sWord, nOccur)) self.xProgressBar.ProgressValue += 1 i += 1 nTotOccur += nOccur if sWord.lower().endswith(("-je", "-tu", "-il", "-elle", "-on", "-nous", "-vous", "-ils", "-elles", "-iel", "-iels")): nTotOccur += nOccur self.xProgressBar.ProgressValue = self.xProgressBar.ProgressValueMax self.xNumWord.Label = str(i) self.xTotWord.Label = nTotOccur def export (self): if not self.dWord: return |
︙ |