Overview
| Comment: | [graphspell] lexicographer update |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | graphspell |
| Files: | files | file ages | folders |
| SHA3-256: |
23319013628709aa9ccec553d7eaa0c2 |
| User & Date: | olr on 2020-10-13 08:09:26 |
| Other Links: | manifest | tags |
Context
|
2020-10-16
| ||
| 10:45 | [fr] ajustements check-in: e2fd1a0e78 user: olr tags: trunk, fr | |
|
2020-10-13
| ||
| 08:09 | [graphspell] lexicographer update check-in: 2331901362 user: olr tags: trunk, graphspell | |
| 08:08 | [fr] ajustements check-in: abca1c84bf user: olr tags: trunk, fr | |
Changes
Modified graphspell-js/lexgraph_fr.js from [0bbeaad542] to [fa983c0b5b].
| ︙ | |||
252 253 254 255 256 257 258 259 260 261 262 263 264 265 | 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 | + |
[':@', ["", "<Caractère non alpha-numérique>"]],
[':@p', ["signe de ponctuation", "Signe de ponctuation"]],
[':@s', ["signe", "Signe divers"]],
[';S', [" : symbole (unité de mesure)", "Symbole (unité de mesure)"]],
[';C', [" : couleur", "Couleur"]],
[';G', [" : gentilé", "Gentilé"]],
[';L', ["", "Langue"]],
['/*', ["", "Sous-dictionnaire <Commun>"]],
['/C', [" <classique>", "Sous-dictionnaire <Classique>"]],
['/M', ["", "Sous-dictionnaire <Moderne>"]],
['/R', [" <réforme>", "Sous-dictionnaire <Réforme 1990>"]],
['/A', ["", "Sous-dictionnaire <Annexe>"]],
['/X', ["", "Sous-dictionnaire <Contributeurs>"]]
|
| ︙ |
Modified graphspell-js/spellchecker.js from [d92500050c] to [a2bcf6d2aa].
| ︙ | |||
176 177 178 179 180 181 182 | 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | - + |
setLabelsOnToken (oToken) {
if (!this.lexicographer) {
return;
}
if (!oToken.hasOwnProperty("lMorph")) {
oToken["lMorph"] = this.getMorph(oToken["sValue"]);
}
|
| ︙ |
Modified graphspell/lexgraph_fr.py from [82937d3981] to [e0d42e47af].
| ︙ | |||
259 260 261 262 263 264 265 266 267 268 269 270 271 272 | 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 | + |
':@': ("", "<Caractère non alpha-numérique>"),
':@p': ("signe de ponctuation", "Signe de ponctuation"),
':@s': ("signe", "Signe divers"),
';S': (" : symbole (unité de mesure)", "Symbole (unité de mesure)"),
';C': (" : couleur", "Couleur"),
';G': (" : gentilé", "Gentilé"),
';L': ("", "Langue"),
'/*': ("", "Sous-dictionnaire <Commun>"),
'/C': (" <classique>", "Sous-dictionnaire <Classique>"),
'/M': ("", "Sous-dictionnaire <Moderne>"),
'/R': (" <réforme>", "Sous-dictionnaire <Réforme 1990>"),
'/A': ("", "Sous-dictionnaire <Annexe>"),
'/X': ("", "Sous-dictionnaire <Contributeurs>")
|
| ︙ |
Modified graphspell/spellchecker.py from [3d385eb49e] to [6207eb55be].
| ︙ | |||
142 143 144 145 146 147 148 | 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | - + |
- bValidToken: True if the token is valid for the spellchecker
- lSubTokens for each parts of the split token
"""
if not self.lexicographer:
return
if "lMorph" not in dToken:
dToken["lMorph"] = self.getMorph(dToken["sValue"])
|
| ︙ |