Grammalecte  Check-in [dfc20f24e1]

Overview
Comment:[graphspell][js] ad hoc suggestions as private dictionary -> access via the module object
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | graphspell | gcerw
Files: files | file ages | folders
SHA3-256: dfc20f24e13249eddaa17be0906c686163a86940aab4a51f4b225b1422e056b3
User & Date: olr on 2020-04-17 19:10:59
Other Links: branch diff | manifest | tags
Context
2020-04-17
19:25
[fr] update Thunderbird path in config.ini check-in: 7d87d0d5dd user: olr tags: fr, gcerw
19:10
[graphspell][js] ad hoc suggestions as private dictionary -> access via the module object check-in: dfc20f24e1 user: olr tags: gcerw, graphspell
19:02
[core][fx] fix calls to gc_options check-in: af2ff73c99 user: olr tags: core, fx, gcerw
Changes

Modified graphspell-js/lexgraph_fr.js from [0ffbdd29e0] to [e86065b215].

     5      5   
     6      6   ${string}
     7      7   ${map}
     8      8   
     9      9   
    10     10   //// Default Suggestions
    11     11   
    12         -const dSugg = new Map ([
           12  +const _dSugg = new Map ([
    13     13       ["bcp", "beaucoup"],
    14     14       ["ca", "ça"],
    15     15       ["cad", "c’est-à-dire"],
    16     16       ["cb", "combien|CB"],
    17     17       ["cdlt", "cordialement"],
    18     18       ["construirent", "construire|construisirent|construisent|construiront"],
    19     19       ["càd", "c’est-à-dire"],
................................................................................
   128    128   ]);
   129    129   
   130    130   
   131    131   
   132    132   //// Lexicographer
   133    133   
   134    134   var lexgraph_fr = {
          135  +
          136  +    dSugg: _dSugg,
   135    137   
   136    138       dTag: new Map([
   137    139               [':N', [" nom,", "Nom"]],
   138    140               [':A', [" adjectif,", "Adjectif"]],
   139    141               [':M1', [" prénom,", "Prénom"]],
   140    142               [':M2', [" patronyme,", "Patronyme, matronyme, nom de famille…"]],
   141    143               [':MP', [" nom propre,", "Nom propre"]],
................................................................................
   716    718           return aElem;
   717    719       }
   718    720   }
   719    721   
   720    722   
   721    723   
   722    724   if (typeof(exports) !== 'undefined') {
   723         -    exports.dSugg = dSugg;
   724    725       exports.lexgraph_fr = lexgraph_fr;
   725    726   }