Index: gc_core/js/lang_core/gc_engine.js ================================================================== --- gc_core/js/lang_core/gc_engine.js +++ gc_core/js/lang_core/gc_engine.js @@ -1393,10 +1393,11 @@ exports.name = gc_engine.name; exports.version = gc_engine.version; exports.author = gc_engine.author; // init exports.load = gc_engine.load; + exports.parse = gc_engine.parse; exports.getSpellChecker = gc_engine.getSpellChecker; // sentence exports._zEndOfSentence = gc_engine._zEndOfSentence; exports._zBeginOfParagraph = gc_engine._zBeginOfParagraph; exports._zEndOfParagraph = gc_engine._zEndOfParagraph; Index: gc_lang/fr/tb/worker/gce_worker.js ================================================================== --- gc_lang/fr/tb/worker/gce_worker.js +++ gc_lang/fr/tb/worker/gce_worker.js @@ -102,11 +102,11 @@ 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 aGrammErr = gce.parse(sText, sCountry, bDebug, null, bContext); let aSpellErr = oSpellChecker.parseParagraph(sText); return JSON.stringify({ aGrammErr: aGrammErr, aSpellErr: aSpellErr }); } function suggest (sWord, nSuggLimit=10) {