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: |
f7bed407d3fe82fd001948a1697723a2 |
| User & Date: | olr on 2018-02-16 17:43:16 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-02-16
| ||
| 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 | |
| 17:41 | [lo] use spellchecker instead of ibdawg check-in: 6cde77e557 user: olr tags: lo, multid | |
Changes
Modified gc_core/py/oxt/Grammalecte.py from [0f730fb3f5] to [1551ba65fd].
| ︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | + + |
dOpt = Options.load(xCurCtx)
gce.setOptions(dOpt)
# store for results of big paragraphs
self.dResult = {}
self.nMaxRes = 1500
self.lLastRes = deque(maxlen=self.nMaxRes)
self.nRes = 0
oSpellChecker = self.getSpellChecker();
oSpellChecker.setPersonalDictionary("fr.personal.json")
# XServiceName method implementations
def getServiceName (self):
return self.ImplementationName
# XServiceInfo method implementations
def getImplementationName (self):
|
| ︙ | |||
128 129 130 131 132 133 134 | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | - - + + |
gce.resetIgnoreRules()
# XServiceDisplayName
def getServiceDisplayName (self, aLocale):
return gce.name
# Grammalecte
|