All Projects → AniSkywalker → Sarcasmdetection

AniSkywalker / Sarcasmdetection

Sarcasm detection on tweets using neural network

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sarcasmdetection

Ncrfpp
NCRF++, a Neural Sequence Labeling Toolkit. Easy use to any sequence labeling tasks (e.g. NER, POS, Segmentation). It includes character LSTM/CNN, word LSTM/CNN and softmax/CRF components.
Stars: ✭ 1,767 (+1684.85%)
Mutual labels:  neural-networks, cnn, lstm
Lstm Context Embeddings
Augmenting word embeddings with their surrounding context using bidirectional RNN
Stars: ✭ 57 (-42.42%)
Mutual labels:  neural-networks, cnn, lstm
Deepseqslam
The Official Deep Learning Framework for Route-based Place Recognition
Stars: ✭ 49 (-50.51%)
Mutual labels:  cnn, lstm
Meme Generator
MemeGen is a web application where the user gives an image as input and our tool generates a meme at one click for the user.
Stars: ✭ 57 (-42.42%)
Mutual labels:  neural-networks, cnn
Pytorch Pos Tagging
A tutorial on how to implement models for part-of-speech tagging using PyTorch and TorchText.
Stars: ✭ 96 (-3.03%)
Mutual labels:  cnn, lstm
Twitter Sentiment Analysis
Sentiment analysis on tweets using Naive Bayes, SVM, CNN, LSTM, etc.
Stars: ✭ 978 (+887.88%)
Mutual labels:  cnn, lstm
Keras basic
keras를 이용한 딥러닝 기초 학습
Stars: ✭ 39 (-60.61%)
Mutual labels:  cnn, lstm
Convisualize nb
Visualisations for Convolutional Neural Networks in Pytorch
Stars: ✭ 57 (-42.42%)
Mutual labels:  neural-networks, cnn
Neural Image Captioning
Implementation of Neural Image Captioning model using Keras with Theano backend
Stars: ✭ 12 (-87.88%)
Mutual labels:  cnn, lstm
Tensorflow seq2seq chatbot
Stars: ✭ 81 (-18.18%)
Mutual labels:  neural-networks, lstm
Deepzip
NN based lossless compression
Stars: ✭ 69 (-30.3%)
Mutual labels:  cnn, lstm
Dltk
Deep Learning Toolkit for Medical Image Analysis
Stars: ✭ 1,249 (+1161.62%)
Mutual labels:  neural-networks, cnn
Neural Networks
All about Neural Networks!
Stars: ✭ 34 (-65.66%)
Mutual labels:  cnn, lstm
Rnn Theano
使用Theano实现的一些RNN代码,包括最基本的RNN,LSTM,以及部分Attention模型,如论文MLSTM等
Stars: ✭ 31 (-68.69%)
Mutual labels:  cnn, lstm
Yann
This toolbox is support material for the book on CNN (http://www.convolution.network).
Stars: ✭ 41 (-58.59%)
Mutual labels:  neural-networks, cnn
Qa Rankit
QA - Answer Selection (Rank candidate answers for a given question)
Stars: ✭ 30 (-69.7%)
Mutual labels:  cnn, lstm
Cnn lstm for text classify
CNN, LSTM, NBOW, fasttext 中文文本分类
Stars: ✭ 90 (-9.09%)
Mutual labels:  cnn, lstm
Tensorflow Tutorial
Some interesting TensorFlow tutorials for beginners.
Stars: ✭ 893 (+802.02%)
Mutual labels:  cnn, lstm
Deep Music Genre Classification
🎵 Using Deep Learning to Categorize Music as Time Progresses Through Spectrogram Analysis
Stars: ✭ 23 (-76.77%)
Mutual labels:  cnn, lstm
Lstm Cnn classification
Stars: ✭ 64 (-35.35%)
Mutual labels:  cnn, lstm

Pre-requisite:
nltk (TweetTokenizer)
Keras
Tensorflow
numpy
scipy
gensim (if you are using word2vec)
itertools

Clone the repository:
git clone [email protected]:AniSkywalker/SarcasmDetection.git
cd SarcasmDetection/src/

You can find the trained model file in the following link https://drive.google.com/drive/folders/0B7C_0ZfEBcpRbDZKelBZTFFsV0E?usp=sharing

Download the trained model in /resource/text_model/weights/

run the script:
python sarcasm_detection_model_CNN_LSTM_DNN.py

If you want to train the model with your own data, you can place your the Train, Development and Test data file at /resource/train, /resource/dev, /resource/test folder correspondingly. The system accepts dataset in the tab separated format: id<tab>label<tab>tweet (see /resource/train/train_v1.txt as example)

0: Non-sarcastic 1: Sarcastic

Please cite the following paper

Fracking Sarcasm using Neural Network. Aniruddha Ghosh and Tony Veale. 7th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis (WASSA 2016). NAACL-HLT. 16th June 2016, San Diego, California, U.S.A.

===============================================================================================

To run the model with context information and psychological dimensions(Using Tensorflow):

python sarcasm_context_moods.py

Please cite the following paper

Magnets for Sarcasm: Making Sarcasm Detection Timely, Contextual and Very Personal Aniruddha Ghosh and Tony Veale Conference on Empirical Methods in Natural Language Processing (EMNLP). 7th-11th September, 2017, Copenhagen, Denmark.

Sample of train, dev, and test files are added for both versions.

For test data set, please contact at [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].