|
|
| <!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>
|
| |