Grammalecte  Check-in [169418beed]

Overview
Comment:[fx] gce_worker bug: remove useless code
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 169418beed5bdaa7ed67b87e615573ffa93c718368349137b5b61c54a890feed
User & Date: olr on 2020-09-11 07:05:23
Other Links: manifest | tags
Context
2020-09-11
08:19
[graphspell] word simplifcation: apostrophes and hyphens check-in: 2aa5cb1dba user: olr tags: trunk, graphspell
07:05
[fx] gce_worker bug: remove useless code check-in: 169418beed user: olr tags: trunk, fx
07:00
[graphspell] distance DamerauLevenshtein send a float instead of an integer check-in: 848d878b75 user: olr tags: trunk, graphspell
Changes

Modified gc_lang/fr/webext/gce_worker.js from [879c183120] to [c94d68b34b].

175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
            phonet.init(helpers.loadFile(sExtensionPath + "/grammalecte/fr/phonet_data.json"));
            mfsp.init(helpers.loadFile(sExtensionPath + "/grammalecte/fr/mfsp_data.json"));
            //console.log("[Worker] Modules have been initialized…");
            gc_engine.load(sContext, "aHSL", sExtensionPath+"grammalecte/graphspell/_dictionaries");
            oSpellChecker = gc_engine.getSpellChecker();
            oTest = new TestGrammarChecking(gc_engine, sExtensionPath+"/grammalecte/fr/tests_data.json");
            oTokenizer = new Tokenizer("fr");
            oLocution =  helpers.loadFile(sExtensionPath + "/grammalecte/fr/locutions_data.json");
            lexgraph_fr.load(oSpellChecker, oTokenizer, oLocution);
            if (dOptions !== null) {
                if (!(dOptions instanceof Map)) {
                    dOptions = helpers.objectToMap(dOptions);
                }
                gc_engine.setOptions(dOptions);
            }
            //tests();







<
<







175
176
177
178
179
180
181


182
183
184
185
186
187
188
            phonet.init(helpers.loadFile(sExtensionPath + "/grammalecte/fr/phonet_data.json"));
            mfsp.init(helpers.loadFile(sExtensionPath + "/grammalecte/fr/mfsp_data.json"));
            //console.log("[Worker] Modules have been initialized…");
            gc_engine.load(sContext, "aHSL", sExtensionPath+"grammalecte/graphspell/_dictionaries");
            oSpellChecker = gc_engine.getSpellChecker();
            oTest = new TestGrammarChecking(gc_engine, sExtensionPath+"/grammalecte/fr/tests_data.json");
            oTokenizer = new Tokenizer("fr");


            if (dOptions !== null) {
                if (!(dOptions instanceof Map)) {
                    dOptions = helpers.objectToMap(dOptions);
                }
                gc_engine.setOptions(dOptions);
            }
            //tests();