Giter Club home page Giter Club logo

sarcasm-detection's Introduction

Sarcasm Detection

This repository contains code and resources for detecting sarcasm in textual data. The sarcasm detection model is implemented in a Jupyter notebook sarcasm_detection.ipynb.

Dataset

The sarcasm detection model in this repository relies on the following dataset:

Dataset Source: NLPrinceton/SARC

Please download the dataset from the provided source and follow the instructions in the notebook to load and preprocess the data for training the model.

Feature Engineering

To enhance the performance of the sarcasm detection models, this repository explores the use of different types of feature embeddings, including TF-IDF and GloVe embeddings.

For GloVe embeddings:

  1. Visit the GloVe project page for pre-trained word vectors.
  2. Download the GloVe embeddings.
  3. Once downloaded, extract the contents of the ZIP file in the root directory.

By following these steps, you will have the necessary dataset and GloVe embeddings set up for running the sarcasm detection model.

Notebook

The main component of this repository is the Jupyter notebook sarcasm_detection.ipynb. The notebook provides a comprehensive analysis of sarcasm detection using different feature embeddings (such as TF-IDF and GloVe) and various models.

Please refer to the notebook for detailed instructions on running the code, modifying parameters, and interpreting the results.

sarcasm-detection's People

Contributors

faizi-ch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.