Skip to content

rajdipa/Sarcasm-Detection-Using-Emoji

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sarcasm-Detection-Using-Emoji

Sarcasm Detection Using Emoji and Text Analysis.

The dataset.xlsx file has the data stats and the data before and after preprocessing. I have taken the 12.9K input data (emoji + text) separately and put it in a csv file in the 'Data to work with' folder(zip). These are supposed to be the input files for word_to_vec and emoji_to_vec codes.

Dependencies:

  1. Numpy
  2. Keras
  3. NLTK
  4. emoji
  5. gensim
  6. scikit-learn
  7. pandas
  8. codecs
  9. enchant

Instructions to execute Basline model code:

  1. Place data in /Data directory and run:
python Baseline/Run_ML.py

Instructions to execute LSTM + Attention code:

Change file names in settings.json and run:

python Model/BiLSTM+Attention.py

About

Sarcasm Detection Using Emoji and Text Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%