Grammalecte  Check-in [e64f0bd3fb]

Overview
Comment:[fr][bug] lexicographe: analyse des locutions avant le signe <:>
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fr | Lexicographe
Files: files | file ages | folders
SHA3-256: e64f0bd3fba420214de9bdf621d80716977b2a4fd7132d0ee512c029c3035066
User & Date: olr on 2017-11-01 14:42:54
Other Links: branch diff | manifest | tags
Context
2017-11-02
07:16
[fr] lexicographe: mot composé indéterminé check-in: a21ae98cee user: olr tags: fr, Lexicographe
2017-11-01
14:42
[fr][bug] lexicographe: analyse des locutions avant le signe <:> check-in: e64f0bd3fb user: olr tags: fr, Lexicographe
13:17
[fr] lexicographe: nouveaux labels pour locutions verbales check-in: 8db44cfb54 user: olr tags: fr, Lexicographe
Changes

Modified gc_lang/fr/modules-js/lexicographe.js from [fcc1145ade] to [9684666070].

410
411
412
413
414
415
416



417
418
419
420
421
422
423
            if (oToken.sType == "WORD" || oToken.sType == "ELPFX"){
                let iKeyTree = iKey + 1;
                let oLocNode = this.oLocGraph[oToken.sValue.toLowerCase()];
                while (oLocNode) {
                    let oTokenNext = aTokenList[iKeyTree];
                    iKeyTree++;
                    if (oTokenNext) {



                        oLocNode = oLocNode[oTokenNext.sValue.toLowerCase()];
                    }
                    if (oLocNode && iKeyTree <= aTokenList.length) {
                        sMorphLoc = oLocNode[":"];
                        aTokenTempList.push(oTokenNext);
                    } else {
                        break;







>
>
>







410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
            if (oToken.sType == "WORD" || oToken.sType == "ELPFX"){
                let iKeyTree = iKey + 1;
                let oLocNode = this.oLocGraph[oToken.sValue.toLowerCase()];
                while (oLocNode) {
                    let oTokenNext = aTokenList[iKeyTree];
                    iKeyTree++;
                    if (oTokenNext) {
                        if (oTokenNext.sValue == ":") { // temporary fix
                            break;
                        }
                        oLocNode = oLocNode[oTokenNext.sValue.toLowerCase()];
                    }
                    if (oLocNode && iKeyTree <= aTokenList.length) {
                        sMorphLoc = oLocNode[":"];
                        aTokenTempList.push(oTokenNext);
                    } else {
                        break;