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: graphspell, gcerw
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].

1
2
3
4
5
6
7
8
9
10
11
12

13
14
15
16
17
18
19
1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18
19











-
+







// JavaScript

"use strict";


${string}
${map}


//// Default Suggestions

const dSugg = new Map ([
const _dSugg = new Map ([
    ["bcp", "beaucoup"],
    ["ca", "ça"],
    ["cad", "c’est-à-dire"],
    ["cb", "combien|CB"],
    ["cdlt", "cordialement"],
    ["construirent", "construire|construisirent|construisent|construiront"],
    ["càd", "c’est-à-dire"],
128
129
130
131
132
133
134


135
136
137
138
139
140
141
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143







+
+







]);



//// Lexicographer

var lexgraph_fr = {

    dSugg: _dSugg,

    dTag: new Map([
            [':N', [" nom,", "Nom"]],
            [':A', [" adjectif,", "Adjectif"]],
            [':M1', [" prénom,", "Prénom"]],
            [':M2', [" patronyme,", "Patronyme, matronyme, nom de famille…"]],
            [':MP', [" nom propre,", "Nom propre"]],
716
717
718
719
720
721
722
723
724
725
718
719
720
721
722
723
724

725
726







-


        return aElem;
    }
}



if (typeof(exports) !== 'undefined') {
    exports.dSugg = dSugg;
    exports.lexgraph_fr = lexgraph_fr;
}