Content deleted Content added
change order |
filter problematic sentences |
||
Line 62:
innerHTML = removePlaceholders(innerHTML, periodExceptions);
paragraph.innerHTML = innerHTML;
/*▼
spans[spans.length - 1].classList.remove("sentence");▼
function getSpanStartTag(){
Line 113 ⟶ 106:
let sentenceText = getSentenceText(sentenceElement);
let score = getSentenceScore(sentenceText);
if(!isNaN(score)){
sentenceElement.
sentenceElement.classList.add(getScoreClass(score, scoreClasses));
▲ }
else{
}
|