Grammalecte  Diff

Differences From Artifact [6b69161b99]:

To Artifact [a3d5cf0515]:


10
11
12
13
14
15
16
17
18
19
20
21
22






23
24
25
26
27
28
29
10
11
12
13
14
15
16






17
18
19
20
21
22
23
24
25
26
27
28
29







-
-
-
-
-
-
+
+
+
+
+
+








/* jshint esversion:6, -W097 */
/* jslint esversion:6 */
/* global require, exports, console, IBDAWG, Tokenizer */

"use strict";

if(typeof process !== 'undefined') {
    var ibdawg = require('./ibdawg.js');
    var tokenizer = require('./tokenizer.js');
} else if (typeof require !== 'undefined') {
    var ibdawg = require('resource://grammalecte/graphspell/ibdawg.js');
    var tokenizer = require('resource://grammalecte/graphspell/tokenizer.js');
if(typeof(process) !== 'undefined') {
    var ibdawg = require("./ibdawg.js");
    var tokenizer = require("./tokenizer.js");
} else if (typeof(require) !== 'undefined') {
    var ibdawg = require("resource://grammalecte/graphspell/ibdawg.js");
    var tokenizer = require("resource://grammalecte/graphspell/tokenizer.js");
}

${map}


const dDefaultDictionaries = new Map([
    ["fr", "fr-allvars.json"],
301
302
303
304
305
306
307
308

309
310
301
302
303
304
305
306
307

308
309
310







-
+


        if (this.bPersonalDic) {
            lResult.push(...this.oPersonalDic.getSimilarEntries(sWord, nSuggLimit));
        }
        return lResult;
    }
}

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