Overview
Comment: | [core][js] gc_engine: fix variable name |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | core |
Files: | files | file ages | folders |
SHA3-256: |
87e2a5d44d0cd6a2102463a3ec19a734 |
User & Date: | olr on 2020-05-26 19:56:44 |
Other Links: | manifest | tags |
Context
2020-05-27
| ||
10:48 | [fr] ajustements check-in: df795b59f9 user: olr tags: trunk, fr | |
2020-05-26
| ||
19:56 | [core][js] gc_engine: fix variable name check-in: 87e2a5d44d user: olr tags: trunk, core | |
19:51 | [core][build] gc engine: new disambiguation function: rewrite() [fr] rewrite, ajustements et faux positif check-in: a53b5710d6 user: olr tags: trunk, fr, core, build | |
Changes
Modified gc_core/js/lang_core/gc_engine.js from [94477ac350] to [fd4f80b37d].
︙ | ︙ | |||
1456 1457 1458 1459 1460 1461 1462 | // Disambiguation: add a morphology to a token let lMorph = (oToken.hasOwnProperty("lMorph")) ? oToken["lMorph"] : _oSpellChecker.getMorph(oToken["sValue"]); lMorph.push(...sNewMorph.split("|")); oToken["lMorph"] = lMorph; return true; } | | | 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 | // Disambiguation: add a morphology to a token let lMorph = (oToken.hasOwnProperty("lMorph")) ? oToken["lMorph"] : _oSpellChecker.getMorph(oToken["sValue"]); lMorph.push(...sNewMorph.split("|")); oToken["lMorph"] = lMorph; return true; } function g_rewrite (oToken, sToReplace, sReplace) { // Disambiguation: rewrite morphologies let lMorph = (oToken.hasOwnProperty("lMorph")) ? oToken["lMorph"] : _oSpellChecker.getMorph(oToken["sValue"]); oToken["lMorph"] = lMorph.map(s => s.replace(sToReplace, sReplace)); return true; } function g_define (oToken, sMorphs) { |
︙ | ︙ |