Filler Word Calculator
Paste your text below to analyze it for common filler words.
Total Filler Words Found: ${totalFillerWords}
`; if (totalWords > 0) { const fillerPercentage = (totalFillerWords / totalWords) * 100; resultsHtml += `Percentage of Filler Words: ${fillerPercentage.toFixed(2)}%
`; } else { resultsHtml += 'No words were detected in the input.
'; } const sortedFillerWords = Object.entries(fillerWordCounts).sort(([,countA], [,countB]) => countB - countA); if (sortedFillerWords.length > 0) { resultsHtml += 'Breakdown of Filler Words:
- ';
sortedFillerWords.forEach(([filler, count]) => {
resultsHtml += `
- ‘${filler}’: ${count} time(s) `; }); resultsHtml += '
No common filler words were detected.
'; } resultsDiv.innerHTML = resultsHtml; }); } });