578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
|
this.nLxgCount += 1;
if (oSentence.sSentence.trim() !== "") {
let xSentenceBlock = oGrammalecte.createNode("div", {className: "grammalecte_lxg_paragraph_sentence_block"});
xSentenceBlock.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_list_num", textContent: this.nLxgCount}));
xSentenceBlock.appendChild(oGrammalecte.createNode("p", {className: "grammalecte_lxg_paragraph_sentence", textContent: oSentence.sSentence}));
let xTokenList = oGrammalecte.createNode("div", {className: "grammalecte_lxg_list_of_tokens"});
for (let oToken of oSentence.lTokens) {
if (oToken["sType"] != "INFO") {
xTokenList.appendChild(this._createTokenBlock2(oToken));
}
}
xSentenceBlock.appendChild(xTokenList);
this.xLxgResultZone.appendChild(xSentenceBlock);
}
}
|
|
|
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
|
this.nLxgCount += 1;
if (oSentence.sSentence.trim() !== "") {
let xSentenceBlock = oGrammalecte.createNode("div", {className: "grammalecte_lxg_paragraph_sentence_block"});
xSentenceBlock.appendChild(oGrammalecte.createNode("div", {className: "grammalecte_lxg_list_num", textContent: this.nLxgCount}));
xSentenceBlock.appendChild(oGrammalecte.createNode("p", {className: "grammalecte_lxg_paragraph_sentence", textContent: oSentence.sSentence}));
let xTokenList = oGrammalecte.createNode("div", {className: "grammalecte_lxg_list_of_tokens"});
for (let oToken of oSentence.lTokens) {
if (oToken["sType"] != "INFO" && !oToken.hasOwnProperty("bMerged")) {
xTokenList.appendChild(this._createTokenBlock2(oToken));
}
}
xSentenceBlock.appendChild(xTokenList);
this.xLxgResultZone.appendChild(xSentenceBlock);
}
}
|