Overview
Comment: | [graphspell][fx] lexicographer: update |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fx | graphspell | salxg |
Files: | files | file ages | folders |
SHA3-256: |
f614419de2d7f96e8f34c7944a9aa6d0 |
User & Date: | olr on 2020-09-07 09:48:27 |
Other Links: | branch diff | manifest | tags |
Context
2020-09-10
| ||
12:17 | [core][graphspell][fx][cli] lexicographer: update check-in: e0ce6b10d7 user: olr tags: cli, core, fx, graphspell, salxg | |
2020-09-07
| ||
09:48 | [graphspell][fx] lexicographer: update check-in: f614419de2 user: olr tags: fx, graphspell, salxg | |
2020-08-31
| ||
10:44 | [graphspell] ibdawg: fix lexicographer import check-in: c88bf29423 user: olr tags: graphspell, salxg | |
Changes
Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [b1e5b16e34] to [cb02a4a038].
︙ | |||
579 580 581 582 583 584 585 586 587 588 589 590 591 592 | 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 | + + + | if (oSentence.sSentence.trim() !== "") { let xSentenceBlock = oGrammalecte.createNode("div", {className: "grammalecte_lxg_paragraph_sentence_block"}); xSentenceBlock.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_list_num", textContent: this.nLxgCount})); xSentenceBlock.appendChild(oGrammalecte.createNode("p", {className: "grammalecte_lxg_paragraph_sentence", textContent: oSentence.sSentence})); let xTokenList = oGrammalecte.createNode("div", {className: "grammalecte_lxg_list_of_tokens"}); for (let oToken of oSentence.lTokens) { if (oToken["sType"] != "INFO" && !oToken.hasOwnProperty("bMerged")) { if (oToken["sType"] == "WORD" && !oToken["bValidToken"]) { oToken["sType"] = "UNKNOWN_WORD"; } xTokenList.appendChild(this._createTokenBlock2(oToken)); } } xSentenceBlock.appendChild(xTokenList); this.xLxgResultZone.appendChild(xSentenceBlock); } } |
︙ |
Modified graphspell-js/lexgraph_fr.js from [b51968eac2] to [94bb3a1779].
︙ | |||
464 465 466 467 468 469 470 | 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 | - + | setLabelsOnToken (oToken) { // Token: .sType, .sValue, .nStart, .nEnd, .lMorph let m = null; try { switch (oToken.sType) { case 'PUNC': case 'SIGN': |
︙ | |||
488 489 490 491 492 493 494 | 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 | - + | case 'HTMLENTITY': oToken["aLabels"] = ["entité caractère XML/HTML"]; break; case 'HOUR': oToken["aLabels"] = ["heure"]; break; case 'WORD_ELIDED': |
︙ | |||
522 523 524 525 526 527 528 | 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 | - + - + - + - + + + + | } if (aTags.length > 0) { oToken["aOtherLabels"] = aTags; } } } else { // no morphology, guessing |
︙ |