Overview
Comment: | [graphspell] lexicographer: better readbility for past participle |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | graphspell |
Files: | files | file ages | folders |
SHA3-256: |
9377402874b68007e8d5f2c6c7738774 |
User & Date: | olr on 2020-11-19 18:40:57 |
Other Links: | manifest | tags |
Context
2020-11-19
| ||
23:48 | [fr] ajustements check-in: 9b10c609d3 user: olr tags: trunk, fr | |
18:40 | [graphspell] lexicographer: better readbility for past participle check-in: 9377402874 user: olr tags: trunk, graphspell | |
18:38 | [fr] ajustements check-in: 38b9862aab user: olr tags: trunk, fr | |
Changes
Modified graphspell-js/lexgraph_fr.js from [d137f983fd] to [56d17d9958].
︙ | |||
365 366 367 368 369 370 371 | 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 | - + | ['‰', "signe pour mille"], ]), _zPartDemForm: new RegExp("([a-zA-Zà-ö0-9À-Öø-ÿØ-ßĀ-ʯ]+)-(là|ci)$", "i"), _aPartDemExceptList: new Set(["celui", "celle", "ceux", "celles", "de", "jusque", "par", "marie-couche-toi"]), _zInterroVerb: new RegExp("([a-zA-Zà-ö0-9À-Öø-ÿØ-ßĀ-ʯ]+)(-(?:t-(?:ie?l|elle|on)|je|tu|ie?ls?|elles?|on|[nv]ous))$", "i"), _zImperatifVerb: new RegExp("([a-zA-Zà-ö0-9À-Öø-ÿØ-ßĀ-ʯ]+)(-(?:l(?:es?|a)-(?:moi|toi|lui|[nv]ous|leur)|y|en|[mts]['’ʼ‘‛´`′‵՚ꞌꞋ](?:y|en)|les?|la|[mt]oi|leur|lui))$", "i"), |
︙ | |||
401 402 403 404 405 406 407 | 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 | + + - + + + + + + + - - + - - - + - - - - + + + + + + + + + + + + + + | }, readableMorph: function (sMorph) { if (!sMorph) { return " mot inconnu"; } let sRes = ""; let sVType = ""; if (sMorph.includes(":V")) { |
︙ |
Modified graphspell/lexgraph_fr.py from [24bc88a28a] to [851691ac43].
︙ | |||
369 370 371 372 373 374 375 | 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | - + | '%': "signe de pourcentage", '‰': "signe pour mille" } _zElidedPrefix = re.compile("(?i)^([ldmtsnjcç]|lorsqu|presqu|jusqu|puisqu|quoiqu|quelqu|qu)[’'‘`ʼ]([\\w-]+)") _zCompoundWord = re.compile("(?i)(\\w+)(-(?:(?:les?|la)-(?:moi|toi|lui|[nv]ous|leur)|t-(?:il|elle|on)|y|en|[mts]’(?:y|en)|les?|l[aà]|[mt]oi|leur|lui|je|tu|ils?|elles?|on|[nv]ous|ce))$") |
︙ | |||
401 402 403 404 405 406 407 | 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 | + + - + + + + + - - + + + + - - - + + + + + + + | def readableMorph (sMorph): "returns string: readable tags" if not sMorph: return "mot inconnu" sRes = "" sVType = "" if ":V" in sMorph: |
︙ |