Skip to main content

SS-PT: A Stance and Sentiment Data Set from Portuguese Quoted Tweets

  • Conference paper
  • First Online:
Computational Processing of the Portuguese Language (PROPOR 2022)

Abstract

Our contribution presents the first ever stance and sentiment annotated corpus in Portuguese. Using data from Twitter, we annotated a data set with over 15,000 tweets. In building the corpus, we made both random and supervised searches to maximize balance. Using four annotators, we have classified each tweet on four categories: support, against, neutral or inconclusive. Furthermore, we have annotated each tweet for sentiment: positive, negative, neutral, sarcasm or inconclusive. Our annotators yield strong inter-annotator agreement. In addition, we test a baseline model using a pre-trained BERT model for Portuguese. Results suggest that our data set is in line with its counterparts in other languages.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://developer.twitter.com/en/docs/twitter-api.

  2. 2.

    We use Node2Vec’s package nodevectors (https://github.com/VHRanger/nodevectors) with the following parameters. \(n\_components = 10\), \(walklen = 50\), \(epochs = 20\), \(window = 10\), \(negative = 20\), \(iter = 10\), \(batch\_words = 128\).

  3. 3.

    We publish the data in agreement with Twitter API terms and conditions.

References

  1. AlDayel, A., Magdy, W.: Stance detection on social media: state of the art and trends. Inf. Process. Manage. 58(4), 102597 (2021)

    Article  Google Scholar 

  2. Anand, P., Walker, M., Abbott, R., Tree, J.E.F., Bowmani, R., Minor, M.: Cats rule and dogs drool!: classifying stance in online debate. In: Proceedings of the 2nd Workshop on Computational Approaches to Subjectivity and Sentiment Analysis (WASSA 2011), pp. 1–9 (2011)

    Google Scholar 

  3. Cignarella, A.T., Lai, M., Bosco, C., Patti, V., Paolo, R., et al.: Sardistance@ EVALITA2020: overview of the task on stance detection in Italian tweets. In: EVALITA 2020 Seventh Evaluation Campaign of Natural Language Processing and Speech Tools for Italian, pp. 1–10. CEUR (2020)

    Google Scholar 

  4. Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (2019)

    Google Scholar 

  5. Dias, M., Becker, K.: INF-UFRGS-OPINION-MINING at SemEval-2016 task 6: automatic generation of a training corpus for unsupervised identification of stance in tweets. In: Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval 2016), pp. 378–383 (2016)

    Google Scholar 

  6. Fleiss, J.L., Cohen, J.: The equivalence of weighted kappa and the intraclass correlation coefficient as measures of reliability. Educ. Psychol. Measur. 33(3), 613–619 (1973)

    Article  Google Scholar 

  7. Ghosh, S., Singhania, P., Singh, S., Rudra, K., Ghosh, S.: Stance detection in web and social media: a comparative study. In: Crestani, F., et al. (eds.) CLEF 2019. LNCS, vol. 11696, pp. 75–87. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-28577-7_4

    Chapter  Google Scholar 

  8. Grover, A., Leskovec, J.: node2vec: scalable feature learning for networks. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 855–864. ACM (2016)

    Google Scholar 

  9. Hasan, K.S., Ng, V.: Predicting stance in ideological debate with rich linguistic knowledge. In: Proceedings of COLING 2012: Posters, pp. 451–460 (2012)

    Google Scholar 

  10. Hasan, K.S., Ng, V.: Stance classification of ideological debates: data, models, features, and constraints. In: Proceedings of the Sixth International Joint Conference on Natural Language Processing, pp. 1348–1356 (2013)

    Google Scholar 

  11. Igarashi, Y., Komatsu, H., Kobayashi, S., Okazaki, N., Inui, K.: Tohoku at SemEval-2016 task 6: feature-based model versus convolutional neural network for stance detection. In: Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval 2016), pp. 401–407 (2016)

    Google Scholar 

  12. Küçük, D., Can, F.: Stance detection: a survey. ACM Comput. Surv. (CSUR) 53(1), 1–37 (2020)

    Article  Google Scholar 

  13. Mohammad, S.: A practical guide to sentiment annotation: challenges and solutions. In: Proceedings of the 7th Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, pp. 174–179 (2016)

    Google Scholar 

  14. Mohammad, S., Kiritchenko, S., Sobhani, P., Zhu, X., Cherry, C.: A dataset for detecting stance in tweets. In: Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC 2016), pp. 3945–3952 (2016)

    Google Scholar 

  15. Siddiqua, U.A., Chy, A.N., Aono, M.: Tweet stance detection using an attention based neural ensemble model. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1868–1873 (2019)

    Google Scholar 

  16. Sobhani, P., Inkpen, D., Zhu, X.: A dataset for multi-target stance detection. In: Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers, pp. 551–557 (2017)

    Google Scholar 

  17. Somasundaran, S., Wiebe, J.: Recognizing stances in ideological on-line debates. In: Proceedings of the NAACL HLT 2010 Workshop on Computational Approaches to Analysis and Generation of Emotion in Text, pp. 116–124 (2010)

    Google Scholar 

  18. Souza, F., Nogueira, R., Lotufo, R.: Portuguese named entity recognition using BERT-CRF. arXiv preprint arXiv:1909.10649 (2019). http://arxiv.org/abs/1909.10649

  19. Souza, F., Nogueira, R., Lotufo, R.: BERTimbau: pretrained BERT models for Brazilian Portuguese. In: 9th Brazilian Conference on Intelligent Systems, BRACIS, Rio Grande do Sul, Brazil, 20–23 October (2020, to appear)

    Google Scholar 

  20. Sridhar, D., Foulds, J., Huang, B., Getoor, L., Walker, M.: Joint models of disagreement and stance in online debate. In: Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 116–125 (2015)

    Google Scholar 

  21. Sridhar, D., Getoor, L., Walker, M.: Collective stance classification of posts in online debate forums. In: Proceedings of the Joint Workshop on Social Dynamics and Personal Attributes in Social Media, pp. 109–117 (2014)

    Google Scholar 

  22. Taulé, M., et al.: Overview of the task on stance and gender detection in tweets on catalan independence at Ibereval 2017. In: 2nd Workshop on Evaluation of Human Language Technologies for Iberian Languages, IberEval 2017, vol. 1881, pp. 157–177. CEUR-WS (2017)

    Google Scholar 

  23. Thomas, M., Pang, B., Lee, L.: Get out the vote: determining support or opposition from congressional floor-debate transcripts. arXiv preprint cs/0607062 (2006)

    Google Scholar 

  24. Toutanova, K., et al.: Proceedings of the 2021 conference of the North American chapter of the association for computational linguistics: human language technologies. In: Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (2021)

    Google Scholar 

  25. Vamvas, J., Sennrich, R.: X-stance: a multilingual multi-target dataset for stance detection. arXiv preprint arXiv:2003.08385 (2020)

  26. Walker, M., Anand, P., Abbott, R., Grant, R.: Stance classification using dialogic properties of persuasion. In: Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 592–596 (2012)

    Google Scholar 

  27. Walker, M.A., Anand, P., Abbott, R., Tree, J.E.F., Martell, C., King, J.: That is your evidence?: classifying stance in online political debate. Decis. Support Syst. 53(4), 719–729 (2012)

    Article  Google Scholar 

  28. Wei, P., Mao, W., Chen, G.: A topic-aware reinforced model for weakly supervised stance detection. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 33, pp. 7249–7256 (2019)

    Google Scholar 

  29. Wei, W., Zhang, X., Liu, X., Chen, W., Wang, T.: pkudblab at SemEval-2016 task 6: a specific convolutional neural network system for effective stance detection. In: Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval 2016), pp. 384–388 (2016)

    Google Scholar 

  30. Wolf, T., et al.: Huggingface’s transformers: state-of-the-art natural language processing. arXiv preprint arXiv:1910.03771 (2019)

  31. Won, M., Fernandes, J.M.: Analyzing twitter networks using graph embeddings: an application to the British case. J. Comput. Soc. Sci., 1–11 (2021)

    Google Scholar 

  32. Xu, R., Zhou, Yu., Wu, D., Gui, L., Du, J., Xue, Y.: Overview of NLPCC shared task 4: stance detection in Chinese microblogs. In: Lin, C.-Y., Xue, N., Zhao, D., Huang, X., Feng, Y. (eds.) ICCPOL/NLPCC -2016. LNCS (LNAI), vol. 10102, pp. 907–916. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-50496-4_85

    Chapter  Google Scholar 

Download references

Acknowledgements

This research was supported by the Portuguese Science and Technology Foundation (FCT), as part of the “Into the ‘Secret Garden’ of Portuguese Politics: Parliamentary Candidate Selection in Portugal, 1976-2015” project (PTDC/CPO-CPO/30296/2017), and the project with ref UIDB/50021/2020. We also thank BioData.pt for the computer resources.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miguel Won .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Won, M., Fernandes, J. (2022). SS-PT: A Stance and Sentiment Data Set from Portuguese Quoted Tweets. In: Pinheiro, V., et al. Computational Processing of the Portuguese Language. PROPOR 2022. Lecture Notes in Computer Science(), vol 13208. Springer, Cham. https://doi.org/10.1007/978-3-030-98305-5_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-98305-5_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-98304-8

  • Online ISBN: 978-3-030-98305-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics