Grammalecte  Check-in [a9ed4298f2]

Overview
Comment:[graphspell] ibdawg: fix lexicographer import (cherrypick from safxg)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | graphspell
Files: files | file ages | folders
SHA3-256: a9ed4298f200077d0abbe530d7391af4ad09c1f4decda755e2148d5fe861f6bd
User & Date: olr on 2020-08-31 10:48:27
Other Links: manifest | tags
Context
2020-08-31
11:07
[fr] ajustements (cherrypick from salxg) check-in: 7cc4578cb5 user: olr tags: fr, trunk
10:48
[graphspell] ibdawg: fix lexicographer import (cherrypick from safxg) check-in: a9ed4298f2 user: olr tags: graphspell, trunk
10:44
[graphspell] ibdawg: fix lexicographer import check-in: c88bf29423 user: olr tags: graphspell, salxg
2020-08-28
09:36
[core] fix unnoticed bug: getCleanText check-in: 050f94978a user: olr tags: core, trunk
Changes

Modified graphspell/ibdawg.py from [4f7f19d7d1] to [01e0cc9f3f].

   153    153   
   154    154           self.bAcronymValid = False
   155    155           self.bNumAtLastValid = False
   156    156   
   157    157           # lexicographer module ?
   158    158           self.lexicographer = None
   159    159           try:
   160         -            self.lexicographer = importlib.import_module("graphspell.lexgraph_"+self.sLangCode)
          160  +            self.lexicographer = importlib.import_module(".lexgraph_"+self.sLangCode, "grammalecte.graphspell")
   161    161           except ImportError:
   162    162               print("# No module <graphspell.lexgraph_"+self.sLangCode+".py>")
   163    163   
   164    164   
   165    165       def _initBinary (self):
   166    166           "initialize with binary structure file"
   167    167           if self.by[0:17] != b"/grammalecte-fsa/":