Sarcasm Detection in News Headlines

Project Code :TCMAPY1952

Objective

The objective of this project is to develop a sarcasm detection system for news headlines using BERT-based machine learning models to classify headlines as sarcastic or not.

Abstract

This project focuses on detecting sarcasm in news headlines by utilizing a combination of machine learning and deep learning models. The aim is to enhance the accuracy of sentiment analysis systems by addressing the challenge posed by sarcasm. The dataset used is sourced from Kaggle, which contains labeled news headlines. The proposed solution includes training two separate models: a stacking model (using SVM, Random Forest, and XGBoost) combined with LSTM, and a BERT-based model. The stacking model with LSTM captures both structural and contextual features of sarcasm, while the BERT model leverages pre-trained embeddings for better text representation. The system is deployed through a Flask backend with a user-friendly interface. The project evaluates both models for sarcasm detection and compares their performances.

Keywords: Sarcasm detection, news headlines, stacking, LSTM, BERT, sentiment analysis, machine learning, deep learning, sarcasm classification, Flask.

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Specifications

SOFTWARE REQUIREMENS

 

Operating System                               :  Windows 7/8/10

Server side Script                                :  HTML, CSS, Bootstrap & JS

Programming Language                     :  Python

Libraries                                              Flask, Pandas, Torch, Sklearn, Librosa,                                                                                     Numpy , Seaborn, Matplotlib

IDE/Workbench                                  :  VSCode

Server Deployment                             :  Xampp Server

Database                                             :  MySQL    

 

HARDWARE REQUIREMENTS

 

Processor                                   - I3/Intel Processor

RAM                                       - 8GB (min)

Hard Disk                                - 128 GB

Key Board                               - Standard Windows Keyboard

Mouse                                      - Two or Three Button Mouse

Monitor                                    - Any

Demo Video

mail-banner
call-banner
contact-banner
Request Video