This repo contains the algorithms we have developed for detecting sarcasm in english sentences. A overall description of the algorithms follows.
- interjection.py : in this algorithm sarcasm is detected by checking the presence of interjection words in the sentence
- pblga.py : in this algorithm we detect the presence of sarcasm by checking the occurance of certain parse trees in the sentence
- antonym.py : this algorithm checks the presence of antonym pairs to find sarcasm
If you use any of the code, please cite the following paper :
Bharti, S. K., B. Vachha, R. K. Pradhan, K. S. Babu, and S. K. Jena. "Sarcastic sentiment detection in tweets streamed in real time: a big data approach." Digital Communications and Networks 2, no. 3 (2016): 108-121.
The code in this repository is licensed under the terms of MIT License.