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