Overview
Comment: | [graphspell][lo][fx] modify default dictionary name |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx | lo | graphspell | v0.6.4.2 |
Files: | files | file ages | folders |
SHA3-256: |
6e9947d6aa172770587dfda51000910a |
User & Date: | olr on 2018-05-06 19:08:24 |
Other Links: | manifest | tags |
Context
2018-05-07
| ||
20:23 | [fr] faux positif: npr +nms check-in: 563a27a8e8 user: olr tags: trunk, fr | |
2018-05-06
| ||
19:08 | [graphspell][lo][fx] modify default dictionary name check-in: 6e9947d6aa user: olr tags: trunk, fx, lo, graphspell, v0.6.4.2 | |
2018-05-05
| ||
13:47 | [fr][bug] répartition des graphies lors de la genèse du lexique pour Grammalecte check-in: 7dc9adf073 user: olr tags: trunk, fr | |
Changes
Modified gc_lang/fr/oxt/DictOptions/SearchWords.py from [2ba69c4e6b] to [75f9b461cf].
︙ | ︙ | |||
182 183 184 185 186 187 188 | elif xActionEvent.ActionCommand == "Close": self.xContainer.endExecute() except: traceback.print_exc() def initSpellChecker (self): if not self.oSpellChecker: | | | 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | elif xActionEvent.ActionCommand == "Close": self.xContainer.endExecute() except: traceback.print_exc() def initSpellChecker (self): if not self.oSpellChecker: self.oSpellChecker = sc.SpellChecker("fr", "fr-allvars.bdic", "", "", self.oPersonalDicJSON) @_waitPointer def searchSimilar (self): self.initSpellChecker() sWord = self.xWord.Text.strip() if sWord: xGridDataModel = self.xGridModel.GridDataModel |
︙ | ︙ |
Modified gc_lang/fr/setup.py from [e665601366] to [7f38b8e2c3].
︙ | ︙ | |||
88 89 90 91 92 93 94 | # 'test': ['coverage'], # }, # If there are data files included in your packages that need to be # installed, specify them here. If using Python 2.6 or less, then these # have to be included in MANIFEST.in as well. package_data={ | | | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | # 'test': ['coverage'], # }, # If there are data files included in your packages that need to be # installed, specify them here. If using Python 2.6 or less, then these # have to be included in MANIFEST.in as well. package_data={ 'grammalecte': ['graphspell/_dictionaries/*.bdic', '*.txt'] }, # Although 'package_data' is the preferred approach, in some case you may # need to place data files outside of your packages. See: # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa # In this case, 'data_file' will be installed into '<sys.prefix>/my_data' # data_files=[('my_data', ['data/data_file'])], |
︙ | ︙ |
Modified gc_lang/fr/webext/panel/lex_editor.js from [6d5b05bd83] to [afffd7df96].
︙ | ︙ | |||
605 606 607 608 609 610 611 | const oSearch = { oSpellChecker: null, load: function () { | | | 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 | const oSearch = { oSpellChecker: null, load: function () { this.oSpellChecker = new SpellChecker("fr", browser.extension.getURL("")+"grammalecte/graphspell/_dictionaries", "fr-allvars.json"); }, loadOtherDictionaries: function () { //TODO }, listen: function () { |
︙ | ︙ |
Modified graphspell-js/spellchecker.js from [327e00c673] to [3df103d578].
︙ | ︙ | |||
18 19 20 21 22 23 24 | } ${map} const dDefaultDictionaries = new Map([ | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | } ${map} const dDefaultDictionaries = new Map([ ["fr", "fr-allvars.json"], ["en", "en.json"] ]); class SpellChecker { constructor (sLangCode, sPath="", mainDic="", extentedDic="", communityDic="", personalDic="") { |
︙ | ︙ |
Modified graphspell/spellchecker.py from [696f7480ec] to [cbd22d2c4d].
︙ | ︙ | |||
12 13 14 15 16 17 18 | import traceback from . import ibdawg from . import tokenizer dDefaultDictionaries = { | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | import traceback from . import ibdawg from . import tokenizer dDefaultDictionaries = { "fr": "fr-allvars.bdic", "en": "en.bdic" } class SpellChecker (): def __init__ (self, sLangCode, sfMainDic="", sfExtendedDic="", sfCommunityDic="", sfPersonalDic=""): |
︙ | ︙ |