Differences From Artifact [fcc1145ade]:
- File gc_lang/fr/modules-js/lexicographe.js — part of check-in [8db44cfb54] at 2017-11-01 13:17:16 on branch Lexicographe — [fr] lexicographe: nouveaux labels pour locutions verbales (user: olr, size: 16259) [annotate] [blame] [check-ins using]
To Artifact [9684666070]:
- File gc_lang/fr/modules-js/lexicographe.js — part of check-in [e64f0bd3fb] at 2017-11-01 14:42:54 on branch Lexicographe — [fr][bug] lexicographe: analyse des locutions avant le signe <:> (user: olr, size: 16393) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
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;
|
| ︙ | ︙ |