File size: 6,218 Bytes
e4c5bc8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
<!DOCTYPE html>
<html>
<head>
<title>Emotion Analysis Summary</title>
<style>
body { font-family: Arial, sans-serif; margin: 40px; background-color: #f5f5f5; }
h1 { color: #2c3e50; border-bottom: 3px solid #3498db; padding-bottom: 10px; }
h2 { color: #34495e; margin-top: 30px; }
.dataset { background-color: white; padding: 20px; margin: 20px 0; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
table { border-collapse: collapse; width: 100%; margin: 20px 0; }
th, td { border: 1px solid #ddd; padding: 12px; text-align: left; }
th { background-color: #3498db; color: white; }
tr:nth-child(even) { background-color: #f2f2f2; }
.metric { display: inline-block; margin: 10px 20px 10px 0; }
.metric-value { font-size: 24px; font-weight: bold; color: #3498db; }
.metric-label { color: #7f8c8d; font-size: 14px; }
</style>
</head>
<body>
<h1>Emotion Analysis Summary Report</h1>
<p><strong>Generated:</strong> 2025-12-11 18:17:33</p>
<div class="dataset">
<h2>Twitter Dataset</h2>
<div class="metric">
<div class="metric-value">2,736</div>
<div class="metric-label">Total Posts</div>
</div>
<div class="metric">
<div class="metric-value">7</div>
<div class="metric-label">Unique Emotions</div>
</div>
<div class="metric">
<div class="metric-value">1,140</div>
<div class="metric-label">Most Common: Fear</div>
</div>
<h3>Emotion Distribution</h3>
<table>
<tr>
<th>Emotion</th>
<th>Count</th>
<th>Percentage</th>
</tr>
<tr>
<td><strong>Fear</strong></td>
<td>1,140</td>
<td>41.67%</td>
</tr>
<tr>
<td><strong>Neutral</strong></td>
<td>869</td>
<td>31.76%</td>
</tr>
<tr>
<td><strong>Anger</strong></td>
<td>335</td>
<td>12.24%</td>
</tr>
<tr>
<td><strong>Sadness</strong></td>
<td>175</td>
<td>6.40%</td>
</tr>
<tr>
<td><strong>Surprise</strong></td>
<td>110</td>
<td>4.02%</td>
</tr>
<tr>
<td><strong>Joy</strong></td>
<td>81</td>
<td>2.96%</td>
</tr>
<tr>
<td><strong>Disgust</strong></td>
<td>26</td>
<td>0.95%</td>
</tr>
</table>
</div>
<div class="dataset">
<h2>Reddit Dataset</h2>
<div class="metric">
<div class="metric-value">2,736</div>
<div class="metric-label">Total Posts</div>
</div>
<div class="metric">
<div class="metric-value">7</div>
<div class="metric-label">Unique Emotions</div>
</div>
<div class="metric">
<div class="metric-value">1,422</div>
<div class="metric-label">Most Common: Neutral</div>
</div>
<h3>Emotion Distribution</h3>
<table>
<tr>
<th>Emotion</th>
<th>Count</th>
<th>Percentage</th>
</tr>
<tr>
<td><strong>Neutral</strong></td>
<td>1,422</td>
<td>51.97%</td>
</tr>
<tr>
<td><strong>Disgust</strong></td>
<td>481</td>
<td>17.58%</td>
</tr>
<tr>
<td><strong>Anger</strong></td>
<td>310</td>
<td>11.33%</td>
</tr>
<tr>
<td><strong>Fear</strong></td>
<td>237</td>
<td>8.66%</td>
</tr>
<tr>
<td><strong>Sadness</strong></td>
<td>150</td>
<td>5.48%</td>
</tr>
<tr>
<td><strong>Surprise</strong></td>
<td>95</td>
<td>3.47%</td>
</tr>
<tr>
<td><strong>Joy</strong></td>
<td>41</td>
<td>1.50%</td>
</tr>
</table>
</div>
<div class="dataset">
<h2>Generated Files</h2>
<h3>Word Clouds (PNG)</h3>
<ul>
<li>Individual emotion word clouds for Twitter (8 files)</li>
<li>Individual emotion word clouds for Reddit (8 files)</li>
</ul>
<h3>Time-Series (HTML - Interactive)</h3>
<ul>
<li>twitter_emotion_timeseries.html (percentage view)</li>
<li>twitter_emotion_timeseries_stacked.html (count view)</li>
<li>reddit_emotion_timeseries.html (percentage view)</li>
<li>reddit_emotion_timeseries_stacked.html (count view)</li>
</ul>
</div>
</body>
</html>
|