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;
|