Index: gc_core/py/lang_core/gc_engine.py ================================================================== --- gc_core/py/lang_core/gc_engine.py +++ gc_core/py/lang_core/gc_engine.py @@ -49,11 +49,10 @@ _rules_graph = None # module gc_rules_graph # Tools _oSpellChecker = None _oTokenizer = None -_oLexicographer = None # Data _aIgnoredRules = set() # Writer underlining style @@ -84,19 +83,10 @@ def getSpellChecker (): "return the spellchecker object" return _oSpellChecker - -def getLexicographer (): - "load and return the lexicographer" - global _oLexicographer - if _oLexicographer is None: - lxg = importlib.import_module(".lexicographe", "grammalecte.${lang}") - _oLexicographer = lxg.Lexicographe(_oSpellChecker) - return _oLexicographer - #### Rules def _getRules (bParagraph): try: