Changes In Branch multid Through [1b2e823757] Excluding Merge-Ins
This is equivalent to a diff from 62c389aedf to 1b2e823757
2018-02-16
| ||
15:46 | [fx][graphspell] merge multid: multi-dictionaries > editable personal dictionary check-in: 607d532bca user: olr tags: trunk, new_feature, fx, graphspell | |
2018-02-13
| ||
14:26 | [core] use spellchecker instead of ibdawg directly check-in: 62304c0cd5 user: olr tags: core, multid | |
14:25 | [graphspell][js] ibdawg: remove useless var in constructor check-in: 1b2e823757 user: olr tags: graphspell, multid | |
14:24 | [graphspell][js] fix variables name check-in: 63ccb31875 user: olr tags: graphspell, multid | |
13:39 | [core][js] multi-dictionaries check-in: d8959f76a4 user: olr tags: core, multid | |
13:38 | [graphspell][js] rename vars check-in: 62c389aedf user: olr tags: trunk, graphspell | |
10:47 | [graphspell][js] spellchecker wrapper for ibdawg check-in: c989c20101 user: olr tags: trunk, graphspell | |
Modified gc_core/js/lang_core/gc_engine.js from [2f5e964b5d] to [08b8dd1900].
︙ | |||
35 36 37 38 39 40 41 42 43 44 45 46 47 48 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | + | // data let _sAppContext = ""; // what software is running let _dOptions = null; let _aIgnoredRules = new Set(); let _oDict = null; let _oSpellChecker = null; let _dAnalyses = new Map(); // cache for data from dictionary var gc_engine = { //// Informations |
︙ | |||
318 319 320 321 322 323 324 | 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 | - - + + + + + - + + + - + | }, //// Initialization load: function (sContext="JavaScript", sPath="") { try { if (typeof(require) !== 'undefined') { |
︙ | |||
386 387 388 389 390 391 392 | 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 | - - - + + + | helpers.echo("DA: " + dDA.get(aWord[0])); } helpers.echo("FSA: " + _dAnalyses.get(aWord[1])); return true; } function _storeMorphFromFSA (sWord) { |
︙ |
Modified gc_lang/fr/webext/gce_worker.js from [2a64cce6de] to [30916bedcd].
︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + | //console.log("[Worker] GC Engine Worker [start]"); //console.log(self); importScripts("grammalecte/graphspell/helpers.js"); importScripts("grammalecte/graphspell/str_transform.js"); importScripts("grammalecte/graphspell/char_player.js"); importScripts("grammalecte/graphspell/ibdawg.js"); importScripts("grammalecte/graphspell/spellchecker.js"); importScripts("grammalecte/text.js"); importScripts("grammalecte/graphspell/tokenizer.js"); importScripts("grammalecte/fr/conj.js"); importScripts("grammalecte/fr/mfsp.js"); importScripts("grammalecte/fr/phonet.js"); importScripts("grammalecte/fr/cregex.js"); importScripts("grammalecte/fr/gc_options.js"); |
︙ |
Modified graphspell-js/ibdawg.js from [cea88b04de] to [508f46740c].
︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - - + | // INDEXABLE BINARY DIRECT ACYCLIC WORD GRAPH constructor (param1, sPath="") { // param1 can be a filename or a object with all the necessary data. try { let oData = null; if (typeof(param1) == "string") { |
︙ |
Modified graphspell-js/spellchecker.js from [ee0b03faf8] to [cfdad9918e].
︙ | |||
21 22 23 24 25 26 27 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | - + - + - - - + - - + - - - + + + - | const dDefaultDictionaries = new Map([ ["fr", "fr.json"], ["en", "en.json"] ]); |
︙ | |||
95 96 97 98 99 100 101 | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | - + - + - + - + - + - + - + - + - + | return true; } return false; } isValid (sWord) { // checks if sWord is valid (different casing tested if the first letter is a capital) |
︙ |
Modified graphspell/spellchecker.py from [19c7dd4df2] to [781d3c301e].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | - + - | dDefaultDictionaries = { "fr": "fr.bdic", "en": "en.bdic" } |
︙ | |||
68 69 70 71 72 73 74 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | - + - + - + - + - + - + - + - + - + | return True if self.oPersonalDic and self.oPersonalDic.isValidToken(sToken): return True return False def isValid (self, sWord): "checks if sWord is valid (different casing tested if the first letter is a capital)" |
︙ |