Elamur Research
☰
home / papers / 2014 / Sarcasm Detection on Czech and English Twitter

Sarcasm Detection on Czech and English Twitter

Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)" does not allow redistributing the text itself. Original — aclanthology.org/C14-1022.pdf

Summary

This COLING 2014 paper studies automatic sarcasm detection on Twitter in English and in Czech. It is the first work on sarcasm in Czech, and the authors know of none in any other Slavic language. Sarcasm can flip the apparent polarity of a message, so it often causes errors in sentiment analysis. Czech also has no language-specific lexical resources for this task. The authors therefore used supervised learning with features that do not depend on the language: word n-grams, character n-grams, skip-bigrams, patterns built from high-frequency and content words, pointedness, emoticons, punctuation, and POS-based cues. They tested MaxEnt and SVM classifiers with 5-fold cross-validation and compared several preprocessing pipelines to deal with Czech's rich morphology. They also built and released a manually annotated Czech tweet corpus. On English data, the approach clearly beat baselines adapted from earlier work. Czech results were much lower and serve as a first baseline. A control experiment suggests the gap comes partly from the small amount of training data and partly from the difficulty of the language itself. The work is a useful reference for sarcasm detection in other morphologically rich, low-resource languages.

Key points

  • Resources: a Czech Twitter corpus of 7,000 manually labeled tweets, only 325 of them sarcastic, with inter-annotator agreement κ = 0.54. There are also two English sets of 100,000 tweets each, one balanced and one imbalanced, labeled using the #sarcasm hashtag. The data is released under CC BY-NC-SA and the code under GPL at liks.fav.zcu.cz/sarcasm.
  • English results: the best macro F-measure was 0.947 on the balanced set and 0.924 on the imbalanced set. MaxEnt generally did better than SVM, and the strongest feature sets combined character n-grams, pointedness, patterns and POS features.
  • Czech result: the best score was F-measure 0.582, from SVM with a feature set enriched by patterns.
  • Effect of data size: when the English data was cut down to the same size and class balance as the Czech data, F-measure fell to about 0.73. That shows data volume matters a lot, but English still scored well above Czech.
  • Tooling: experiments used the Brainy Java ML framework with a linear-kernel SVM. Naive Bayes and delta TF-IDF features were also tried but did not do as well.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Linguistics & languages

Cited by

62 papers of our library cite it (of the 140673 whose bibliographies we read); 10 of them have a page here, 52 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{ptacek2014sarcasm,
  title = {{Sarcasm Detection on Czech and English Twitter}},
  author = {Ptáček, Tomáš and Habernal, Ivan and Hong, Jun},
  booktitle = {Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers},
  year = {2014},
  url = {https://aclanthology.org/C14-1022/}
}

References

7 references, 0 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Julie Kane Ahkter and Steven Soria. 2010. Sentiment analysis: Facebook status messages. Technical report, Stanford University. Final Project CS224N. find
  2. Joshua M Averbeck and Dale Hample. 2008. Ironic message production: How and why we produce ironic messages. Communication Monographs, 75(4):396–410. find
  3. Joshua M Averbeck. 2013. Comparisons of ironic and sarcastic arguments in terms of appropriateness and effectiveness in personal relationships. Argumentation & Advocacy, 50(1). find
  4. Daniel M Bikel, Scott Miller, Richard Schwartz, and Ralph Weischedel. 1997. Nymble: a high-performance learning name-finder. In Proceedings of the fifth conference on Applied natural language processing, pages 194–201. Association for Computational Linguistics. find
  5. Ben Blamey, Tom Crick, and Giles Oatley. 2012. R U : -) or : -( ? character- vs. word-gram feature selection for sentiment classification of OSN corpora. In Proceedings of AI-2012, The Thirty-second SGAI International Conference on Innovative Techniques and Applications of Artificial Intelligence, pages 207–212. Springer. find
  6. Cristina Bosco, Viviana Patti, and Andrea Bolioli. 2013. Developing corpora for sentiment analysis: The case of irony and senti-tut. IEEE Intelligent Systems, 28(2):55–63. find
  7. Tomáš Brychcı́n and Ivan Habernal. 2013. Unsupervised improving of sentiment analysis using global target context. In Proceedings of the International Conference Recent Advances in Natural Language Processing RANLP 2013, pages 122–128, Hissar, Bulgaria, September. INCOMA Ltd. Shoumen, BULGARIA. find