Grammalecte  Check-in [e5ad8f36b6]

Overview
Comment:[tb][bug] fix use of spellchecking
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tb
Files: files | file ages | folders
SHA3-256: e5ad8f36b6d248ca0596d599a8224e01214320ca394e05056c13db05f8a221e9
User & Date: olr on 2018-03-03 06:47:43
Other Links: manifest | tags
Context
2018-03-03
11:02
[fr] gendicfr: loc.patr > Ḿ2 check-in: adf59e2cf9 user: olr tags: trunk, fr
06:47
[tb][bug] fix use of spellchecking check-in: e5ad8f36b6 user: olr tags: trunk, tb
06:47
[graphspell][tb] char_player: exports for Thunderbird check-in: 921d166404 user: olr tags: trunk, tb, graphspell
Changes

Modified gc_lang/fr/tb/worker/gce_worker.js from [eba5411b89] to [4fc9e7a3c2].

81
82
83
84
85
86
87
88

89
90
91
92
93
94
95
81
82
83
84
85
86
87

88
89
90
91
92
93
94
95







-
+







function parse (sText, sCountry, bDebug, bContext) {
    let aGrammErr = gce.parse(sText, sCountry, bDebug, bContext);
    return JSON.stringify(aGrammErr);
}

function parseAndSpellcheck (sText, sCountry, bDebug, bContext) {
    let aGrammErr = gce.parse(sText, sCountry, bDebug, bContext);
    let aSpellErr = oTokenizer.getSpellingErrors(sText, oSpellChecker);
    let aSpellErr = oSpellChecker.parseParagraph(sText);
    return JSON.stringify({ aGrammErr: aGrammErr, aSpellErr: aSpellErr });
}

function getOptions () {
    return gce.getOptions().gl_toString();
}