Grammalecte  Check-in [5aca2f6bbf]

Overview
Comment:[lo] fix Grammalecte init
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | lo | multid
Files: files | file ages | folders
SHA3-256: 5aca2f6bbf2916d220ed4305b76c8bb60efe88f64bf2126822193185aa85bd5c
User & Date: olr on 2018-02-16 17:47:27
Other Links: branch diff | manifest | tags
Context
2018-02-16
17:48
[build][fr] extended and personal dictionaries in config.ini check-in: 9ec0c79d20 user: olr tags: build, fr, multid
17:47
[lo] fix Grammalecte init check-in: 5aca2f6bbf user: olr tags: lo, multid
17:43
[lo] fix Grammalecte init check-in: f7bed407d3 user: olr tags: lo, multid
Changes

Modified gc_core/py/oxt/Grammalecte.py from [1551ba65fd] to [83d282c943].

    39     39           dOpt = Options.load(xCurCtx)
    40     40           gce.setOptions(dOpt)
    41     41           # store for results of big paragraphs
    42     42           self.dResult = {}
    43     43           self.nMaxRes = 1500
    44     44           self.lLastRes = deque(maxlen=self.nMaxRes)
    45     45           self.nRes = 0
    46         -        oSpellChecker = self.getSpellChecker();
           46  +        oSpellChecker = gce.getSpellChecker();
    47     47           oSpellChecker.setPersonalDictionary("fr.personal.json")
    48     48   
    49     49       # XServiceName method implementations
    50     50       def getServiceName (self):
    51     51           return self.ImplementationName
    52     52   
    53     53       # XServiceInfo method implementations