${d.method === 'ml'
? 'Sentiment is scored by a multilingual model (XLM-RoBERTa, fine-tuned on tweets across 8 languages and reasonably capable well beyond those) — works on non-Indonesian text, not just the lexicon fallback below. Still a heuristic, not ground truth: short text, sarcasm and irony all still degrade accuracy. Click a tile below to see which items landed in it and the model\'s confidence per item.'
- : 'Sentiment is scored against an Indonesian positive/negative word lexicon with negation handling (e.g. "tidak bagus" flips to con) — a transparent rule-based heuristic, Indonesian-only. Install torch+transformers (see requirements.txt) for multilingual ML-based scoring instead. Click a tile below to see exactly which items landed in it and which words drove each score.'}
+ : 'Sentiment is scored con an Indonesian positive/negative word lexicon with negation handling (e.g. "tidak bagus" flips to con) — a transparent rule-based heuristic, Indonesian-only. Install torch+transformers (see requirements.txt) for multilingual ML-based scoring instead. Click a tile below to see exactly which items landed in it and which words drove each score.'}
${d.total_items - d.total_scored > 0 ? `${d.total_items - d.total_scored} of ${d.total_items} record(s) had no text to score (bare follower/following/user entries) and are excluded below.` : ''}
@@ -1135,6 +1145,18 @@ function calendarHtml(daily) {
return `
@@ -1150,8 +1172,9 @@ function calendarHtml(daily) {
More
${undated ? `· ${undated} item(s) with no usable date not shown` : ''}
- ${activeDateFilter ? `Filtered: ${esc(activeDateFilter)} ×` : ''}
+ ${activeDateFilter ? `${esc(activeDateFilter)} ×` : ''}
+ ${selStat ? `
${esc(activeDateFilter)}: ${esc(selStat)}
` : ''}
`;
}
diff --git a/Script/SOCMINT-Twitter/templates/archive.html b/Script/SOCMINT-Twitter/templates/archive.html
index 990f9e3..6ebb9b7 100644
--- a/Script/SOCMINT-Twitter/templates/archive.html
+++ b/Script/SOCMINT-Twitter/templates/archive.html
@@ -578,6 +578,8 @@
@@ -690,6 +750,7 @@
{% include "_field_glossary.html" %}
+
@@ -734,6 +781,8 @@