Grammalecte  Check-in [b9365d6a6c]

Overview
Comment:[fr] lexicographe: commentaire erroné
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fr | Lexicographe
Files: files | file ages | folders
SHA3-256: b9365d6a6ce6dcf4e4baac1861dc2562ae6fd4a8c6fea226f7cd256a449fd5ea
User & Date: olr on 2017-10-30 09:21:32
Other Links: branch diff | manifest | tags
Context
2017-10-30
09:27
[fr] lexicographe: remplacement de l’apostrophe seulement pour l’analyse de la suite des tokens check-in: 4fe9cf871e user: olr tags: fr, Lexicographe
09:21
[fr] lexicographe: commentaire erroné check-in: b9365d6a6c user: olr tags: fr, Lexicographe
2017-10-29
23:33
Renommage des variables pour se conformer au reste du code check-in: 85d2c18b0e user: IllusionPerdu tags: Lexicographe
Changes

Modified gc_lang/fr/modules-js/lexicographe.js from [1cdb365c76] to [1593c7b9f4].

207
208
209
210
211
212
213
214

215
216
217
218
219
220
221
207
208
209
210
211
212
213

214
215
216
217
218
219
220
221







-
+







        this._zCompoundWord = new RegExp("([a-zA-Zà-ö0-9À-Öø-ÿØ-ßĀ-ʯ]+)-((?:les?|la)-(?:moi|toi|lui|[nv]ous|leur)|t-(?:il|elle|on)|y|en|[mts][’'](?:y|en)|les?|l[aà]|[mt]oi|leur|lui|je|tu|ils?|elles?|on|[nv]ous)$", "i");
        this._zTag = new RegExp("[:;/][a-zA-Zà-ö0-9À-Öø-ÿØ-ßĀ-ʯ*Ṽ][^:;/]*", "g");

    }

    getInfoForToken (oToken) {
        // Token: .sType, .sValue, .nStart, .nEnd
        // return a list [type, token_string, values]
        // return a object {sType, sValue, aLabel}
        let m = null;
        try {
            switch (oToken.sType) {
                case 'SEPARATOR':
                    return {
                        sType: oToken.sType,
                        sValue: oToken.sValue,