Version classiqueVersion mobile

Proceedings of the Fourth Italian Conference on Computational Linguistics CLiC-it 2017

 | 
Roberto Basili
, 
Malvina Nissim
, 
Giorgio Satta

Ironic Gestures and Tones in Twitter

Simona Frenda

Résumé

Automatic irony detection is a young field of research related to Sentiment Analysis. When dealing with social media data, the shortness of text and the extraction of the statement from his context usually makes it hard to understand irony even for humans but especially for machines. In this paper we propose an analysis of the role that textual information plays in the perception and construction of irony in short texts like tweets. We will focus on the impact of conventional expedients of digital writing, which seem to represent a substitution of typical gestures and tones of oral communication, in figurative interpretation of messages in Italian language. Elaborated computational model has been exploited in the development of an irony detection system, which has been evaluated in the Sentipolc’s shared task at EVALITA 2016.

Texte intégral

1 Introduction

1The growing scientific interest on natural language understanding has been supported in the last decade by a great amount of user-generated texts available on the Web. People usually use social media platforms, such as Facebook and Twitter, to express their opinions on different topics, which can be exploited, for example, by companies for marketing researches. This is one of the motivations which prompted actual research in this direction on automatic analysis of short-texts. Social micro-texts are great examples of rhetorical production due to their shortness, which supports the creativity of linguistic expressions (Ghosh et al., 2015). In fact 140 characters of tweets encourage users to use some creative devices in order to communicate briefly their opinions or their feelings about events, products, services or other individuals. Among creative devices, irony and sarcasm hinder correct sentiment analysis of texts and, therefore, correct opinion mining. Indeed, irony is a figurative language device used to convey the opposite of literal meaning: contrarium quod dicitur intelligendum est (Quintiliano, Institutio Oratoria, 9, 22-44). In order to express an ironic utterance in short text, users prefer to use conventional expedients in digital writing or particular linguistic constructs which seem to represent a substitution of typical gestures and tones of oral communication. These reveal themselves as good clues for Irony Detection as demonstrated by results obtained with our system participating in SENTIPOLC’s at EVALITA 2016 (Frenda, 2016), where we ranked third on twelve participants. In this paper we present linguistic analysis on ironic tweets extracted from corpora used in SENTIPOLC and computational model elaborated in Master’s thesis upon which our rule-based system is based.

2 Related Work

2Automatically understanding texts that are susceptible to different interpretations from their literal meaning is a hard task that presents challenging aspects even for humans. Nevertheless, automatic irony detection is becoming one of the biggest challenges of Natural Language Processing (NLP), especially to correctly determine the polarity of texts. Indeed, in the last years several studies arose with the aim of detecting irony and sarcasm by extricating their multiple aspects and exploiting various computational models in different languages: as regards English the research by Utsumi (1996) was one of the first approaches; Veale and Hao (2009) focused on figurative comparisons (”as X as Y”); Reyes et al. (2013) exploited features ranging from textual to stylistic dimensions, and Barbieri and Saggion (2014) considered lexical and semantic features of the words in tweets. Relative to French, Karoui et al. (2015) focused on the presence of negation markers and the implicit and explicit opposition in ironic tweets. Finally, multilingual perspective is proposed by Karoui et al. (2017), which examine the impact of pragmatic phenomena in the interpretation of irony in English, French and Italian tweets. The main work inspiring our researches here is Carvalho et al. (2009) which distinguished eight oral and gestural ”clues” for irony detection in Portuguese online newspaper comments. Their attention focused in particular on positive comments: positive sentences are more subjected to irony and it is more difficult to recognize their true polarity. Many of these clues have been used in our analysis on ironic Italian tweets to observe how these textual features are distributed in negative and positive sentences to bring out possible incongruities between literal and real meaning.

3 Methodology

3The irony detection task is a very recent challenge in NLP community and in 2014 and 2016 EVALITA, an evaluation campaign of NLP and speech tools for Italian, proposed a battery of tasks related to Sentiment Analysis in tweets, including Irony detection. The task of automatic irony detection is treated as a problem of classification of texts in ironic and non ironic ones, and the main approaches used by previous works are based on the development of supervised machine-learning or rule-based systems.

4We developed a rule-based system, implemented in Perl, which, analysing a corpus of Italian tweets, identifies possible ironic clues and distinguishes ironic and non ironic texts. This system is based on computational model that is the result of linguistic research carried out during Master’s thesis redaction. The scope of this analysis is to understand the impact of conventional elements of web writing and syntactic constructions on automatic process of recognition of ironic short-texts.

5We tested our computational model with good results participating in SENTIPOLC’s task at EVALITA in 2016.

3.1 Corpora of tweets

6Tweet corpora used in our works have been provided by organizers of SENTIPOLC task in EVALITA 2014 and 2016: SENTIPOLC 2014 corpus includes 4513 tweets in the training set and 1935 in the test set, and SENTIPOLC 2016 includes 7410 in the training set and 2000 in the test set. The former has been used for linguistic analysis in Master’s thesis and the latter to participate at evaluation campaign. These corpora have been annotated manually and according to a multi-layered annotation scheme where tweets are labelled according to different dimensions: subjectivity, overall and literal polarity (positive/neutral/negative/mixed), irony. These corpora contain a collection of both political and generic tweets, and also a collection of socio-political tweets (concerning topic la buona scuola).

3.2 Resources and Data Processing

  • 1 Extracted from Morph-it! (Zanchetta and Baroni, 2005) and Treccani (http://www.treccani.it).
  • 2 For more details about resources see (Frenda, 2016).

7Considering various textual elements of digital writing which make up tweets, that are essential to linguistic analysis of this kind of text, we developed a lexicon of interjections1 annotated according polarity, a list of emoticons extracted from Wikipedia and annotated as EMOPOS (=), :D), EMONEG (as :(, :'() and EMOIRO (^L^, :P), and a list of ironic hashtags extracted from ironic tweets in corpora analysed2.

8In order to clean up the texts and avoid hampering syntactic analysis and ironic clues retrieval we replaced emoticons with appropriated labels and removed characters of url from text. Cleaned texts have been processed by TreeTagger (Schmid, 1994) for obtaining POS-tagged and lemmatized corpora, using Italian tagset by Baroni.

4 Irony Detection Model

9People in social network use a new kind of language between speech and writing: oral elements are included in writing by means of graphic characters, punctuation and so on. Users express their emotions and opinions with informal language especially in the social network, using interjections or expressing tones with exclamatory expressions. Considering the shortness of text users tend to use conventional marks, like hashtags, to provide additional information (context, emotion, and so on).

10In our work we exploit these textual patterns, many of whom are extracted from Carvalho et al. (2009) and adapted to Italian language. Indeed, their results demonstrated that more productive patterns in ironic texts are the ones related to orality and gestures. We considered also regional expressions and other forms of exclamation specifically of Italian language. In Italian texts, like in Portuguese, these linguistic elements, which seem to reproduce oral communication, are the most productive as demonstrated in Figure 1 and 2. In these figures we can observe the impact of our computational model in corpora analysed.

Figure 1: Ironic clues in SENTIPOLC 2014 corpus (in percentage)

Figure 1: Ironic clues in SENTIPOLC 2014 corpus (in percentage)

11Although in ironic tweets most of the frequencies of these patterns are promising for irony recognition task, these corpora contain an imbalanced data distribution (564 ironic tweets on 4513 in SENTIPOLC 2014 and 865 ironic tweets on 7410 in SENTIPOLC 2016) that hinder the possible generalization of model.

Figure 2: Ironic clues in SENTIPOLC 2016 corpus (in percentage)

Figure 2: Ironic clues in SENTIPOLC 2016 corpus (in percentage)

12Below, we summarily describe linguistic features considered in our model and their frequencies in positive and negative sentences (Figure 3 and 4), observing specifically in texts how user express ironic utterance:

  • Verb morphology: the use of pronoun tu and, in a pro-drop language like Italian, morphological inflection of the verb essere for second singular person allows to express a certain proximity also artificial or false if interlocutor is a well-known person.

  • Disjunctive conjunctions (o, oppure) sometimes introduce strange combinations that surprise the readers and encourages an ironic interpretation.

  • Positive interjections and exclamatory expressions, like expressions with an emphasised use of pronoun or adjective che (like Che sorpresa!, Che bella giornata!), represent a simple way for users to communicate emotions, feelings, mental states or reactions to specific situations, reversing also the literal meaning of statement.

  • Regional expressions, like exclamatory expressions and interjections, are a way for users to express immediately and informally their moods or opinions, especially in ironic perspective. In corpora analysed, it is prevalent the use of expressions of dialect from central Italy, such as: annamo bene, ce vuole or ce sta.

  • Onomatopoeic expressions for laughter are used by users like markers to suggest an ironic interpretation of text.

  • Ironic emoticons: emoticons allow to express briefly the user’s moods (happiness, sad, laughter, ect) or to communicate to the reader ironic or humorous intention, for instance, with wink ( ;) ).

  • Heavy punctuation is used to set a tone in writing, in particular in short texts, where the verbal components are essential to express concisely the feelings.

  • Quotation marks, also imitated in gestures of speaking, are used to quote what has been said by others or to emphasize the content suggesting a possible additional interpretation of text.

  • Ironic hashtags: the hashtag complies with necessity of simplification and containment (Chiusaroli, 2014) and plays a special role since it is employed by Twitter’s users as digital extralinguistic equivalent of non-verbal expressions (Liebrecht et al., 2013), sometimes affecting also the sentiment of tweets (Maynard and Greenwood, 2014).

Figure 3: Distribution in positive and negative sentences in SENTIPOLC 2014 corpus (in percentage)

Figure 3: Distribution in positive and negative sentences in SENTIPOLC 2014 corpus (in percentage)

Figure 4: Distribution in positive and negative sentences in SENTIPOLC 2016 corpus (in percentage)

Figure 4: Distribution in positive and negative sentences in SENTIPOLC 2016 corpus (in percentage)

5 Discussion and Conclusions

13Although limited amount of Italian ironic examples, this analysis and the results of developed computational system (Frenda, 2016) show that people tend to use textual and conventional expedients of oral communication to express irony in informal context as social networks. We can observe this in Figure 1 and 2, where some linguistic constructions expressing tone and accent of userspeaker, like regional expressions and heavy punctuation, are used mainly in ironic tweets. With respect to ironic hashtags we can observe that same hashtags are mentioned in different ironic tweets in both corpora, revealing their important role of established conventional elements in communication in social networks. Finally, in Figure 3 and 4 we can observe that there are cases of incongruity between literal and real meaning, for example there are sentences with negative polarity that contain positive interjections or exclamatory constructions used, indeed, in ironic manner. It is interesting to underline that most of ironic tweets are negative in both corpora: 493 negative ironic tweets on 564 ironic tweets in SENTIPOLC 2014 corpus and 742 on 865 in SENTIPOLC 2016 corpus.

14In this scenario where automatic irony detection is still challenging for Italian, pragmatic analysis of ironic texts allows to take a closer look at how people use the language and his expedients to express irony.

Bibliographie

Francesco Barbieri and Horacio Saggion. 2014. Modelling Irony in Twitter, Features Analysis and Evaluation. Language Resources and Evaluation conference, LREC. Reykjavik, Iceland.

Francesco Barbieri, Valerio Basile, Danilo Croce, Malvina Nissim, Nicole Novielli and Viviana Patti. 2016. Overview of the EVALITA 2016 SENTIment POLarity Classification Task. Proceedings of the 5th Evaluation Campaign of Natural Language Processing and Speech Tools for Italian (EVALITA 2016). Academia University Press.

Marco Baroni, Silvia Bernardini, Federica Comastri, Lorenzo Piccioni, Alessandra Volpi, Guy Aston, Marco Mazzoleni. 2004. Introducing the la Repubblica corpus: A large, annotated, TEI(XML)-compliant corpus of newspaper Italian. Proceedings of LREC 2004. Lisbon: ELDA. 1771-1774.

Konstantin Buschmeier, Philipp Cimiano, and Roman Klinger. 2014. An impact analysis of features in a classification approach to irony detection in product reviews. Proceedings of the 5th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis. Baltimore, Maryland, USA. 42–49.

Paula Carvalho, Luís Sarmento, Mário J. Silva and Eugénio De Oliveira. 2009. Clues for detecting irony in user-generated contents: Oh...!! it’s “so easy” ;-). Proceedings of the 1st international CIKM workshop on Topic-sentiment analysis for mass opinion.. ACM. 53–56.

Francesca Chiusaroli. 2014. Sintassi e semantica dell’hashtag: studio preliminare di una forma di Scritture Brevi. Proceedings of the Fourth International Workshop EVALITA 2014. Pisa University Press.

Dmitry Davidov, Oren Tsur, and Ari Rappoport. 2010. Semi-supervised recognition of sarcastic sentences in twitter and amazon. Proceedings of the Fourteenth Conference on Computational Natural Language Learning. CoNLL ’10. Stroudsburg, PA, USA. Association for Computational Linguistics. 107–116.

Pierluigi Di Gennaro, Arianna Rossi and Fabio Tamburini. 2014. The FICLIT+CS@UniBO System at the EVALITA 2014 Sentiment Polarity Classification Task. Proceedings of the Fourth International Workshop EVALITA 2014. Pisa University Press.

Simona Frenda. 2016. Computational rule–based model for Irony Detection in Italian Tweets. Proceedings of the 5th Evaluation Campaign of Natural Language Processing and Speech Tools for Italian (EVALITA 2016). Academia University Press.

Aniruddha Ghosh, Guofu Li, Tony Veale, Paolo Rosso, Ekaterina Shutova, Antonio Reyes, John Barnden. 2015. SemEval-2015 Task 11:Sentiment Analysis of Figurative Language in Twitter in Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015). pages 470–478, Denver, Colorado, June 4-5, 2015.

Roberto González-Ibáñez, Smaranda Muresan and Nina Wacholder. 2011. Identifying Sarcasm in Twitter: A Closer Look. Proceedings of the 49th Annual Meeting of the Association for Computa- tional Linguistics: shortpapers. Portland, Oregon, June 19-24. 581–586.

Jihen Karoui, Farah Benamara Zitoune, Veronique Moriceau, Nathalie Aussenac-Gilles and Lamia Hadrich Belguith. 2015. Detection automatique de l’ironie dans les tweet en francais. 22eme Traitement Automatique des Langues Naturelles. Caen, 2015.

Jihen Karoui, Farah Benamara, Véronique Moriceau, Viviana Patti, Cristina Bosco and Nathalie Aussenac-Gilles. 2017. Exploring the Impact of Pragmatic Phenomena on Irony Detection in Tweets: A Multilingual Corpus Study Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers. Valencia, Spain, April 2017.

Roger J. Kreuz and Gina M. Caucci. 2007. Lexical Influences on the Perception of Sarcasm. Proceedings of the Workshop on Computational Approaches to Figurative Language. Rochester, NY.1–4.

Christine Liebrecht, Florian Kunneman, and Antal Van den Bosch. 2013. The perfect solution for detecting sarcasm in tweets #not. Proceedings of the 4th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, Association for Computational Linguistics. pages 29–37, Atlanta, Georgia, June.

Diana Maynard and Mark Greenwood. 2014. Who cares about sarcastic tweets? Investigating the impact of sarcasm on sentiment analysis. Proceedings of the 9th International Conference on Language Resources and Evaluation (LREC’14) (26-31). European Language Resources Association (ELRA). Reykjavik, Iceland, 4238–4243.

Antonio Reyes, Paolo Rosso and Tony Veale. 2013. A multidimensional approach for detecting irony in- Twitter. Language Resources and Evaluation. 47:239–268.

Graeme Ritchie. 2009. Can computers create humor? AI Magazine. Volume 30, No. 3. 71-81.

Helmut Schmid. 1994. Probabilistic Part-of-Speech-Tagging Using Decision Trees. Proceedings of the International Conference on New Methods in Language Processing. Manchester, UK.

Oliviero Stock and Carlo Strapparava. 2006. Laughing with HAHAcronym, a computational humor system. Proceedings of the Twenty-First National Conference on Artificial Intelligence (AAAI-06). Boston, Massachusetts.

Mirko Tavosanis. 2010. L’italiano del web.. Carocci. Roma.

Akira Utsumi. 1996. A unified theory of irony and its computational formalization. Proceedings of the 16th conference on computational linguistics Association for Computational Linguistics. Morristown, NJ. 962–967

Tony Veale and Yanfen Hao. 2009. Support structures for linguistic creativity: A computational analysis of creative irony in similes. Proceedings of CogSci 2009, the 31st annual meeting of the cognitive science society. 1376–1381.

Eros Zanchetta and Marco Baroni. 2005. Morph-it! A free corpus-based morphological resource for the Italian language. Proceedings of Corpus Linguistics 2005. University of Birmingham, Birmingham, UK.

Notes

1 Extracted from Morph-it! (Zanchetta and Baroni, 2005) and Treccani (http://www.treccani.it).

2 For more details about resources see (Frenda, 2016).

Table des illustrations

Titre Figure 1: Ironic clues in SENTIPOLC 2014 corpus (in percentage)
URL http://books.openedition.org/aaccademia/docannexe/image/2408/img-1.jpg
Fichier image/jpeg, 144k
Titre Figure 2: Ironic clues in SENTIPOLC 2016 corpus (in percentage)
URL http://books.openedition.org/aaccademia/docannexe/image/2408/img-2.jpg
Fichier image/jpeg, 140k
Titre Figure 3: Distribution in positive and negative sentences in SENTIPOLC 2014 corpus (in percentage)
URL http://books.openedition.org/aaccademia/docannexe/image/2408/img-3.jpg
Fichier image/jpeg, 136k
Titre Figure 4: Distribution in positive and negative sentences in SENTIPOLC 2016 corpus (in percentage)
URL http://books.openedition.org/aaccademia/docannexe/image/2408/img-4.jpg
Fichier image/jpeg, 135k

CC-BY-NC-ND-4.0

Le texte seul est utilisable sous licence CC BY-NC-ND 4.0. Les autres éléments (illustrations, fichiers annexes importés) sont « Tous droits réservés », sauf mention contraire.

Lire

Open access

Acheter

Rechercher dans OpenEdition Search

Vous allez être redirigé vers OpenEdition Search