Article In: Journal of Language and Politics: Online-First Articles
Belonging and borders
A critical-computational analysis of Spanish political discourse on Ukrainian refugees
This content is being prepared for publication; it may be subject to changes.
Abstract
This study examines how Spanish political parties, Partido
Socialista Obrero Español (PSOE), Partido Popular (PP), VOX, and Unidas Podemos
(UP), construct and contest representations of Ukrainian refugees on X using
Natural Language Processing (NLP), Critical Discourse Analysis (CDA), and
statistical validation. PSOE exhibits higher positive sentiment and lower hate
speech; PP shifts toward greater positivity; VOX displays negative sentiment,
fear-related emotions, and elevated hate speech; UP supports refugees while
criticizing systemic inequalities. Linguistic analyses of deixis, modality, and
verb voice complement these patterns: inclusive pronouns and active
constructions align with humanitarian discourse, whereas passive voice, deontic
modality, and distancing deixis index securitization. The Spanish case is
examined due to the implementation of the EU Temporary Protection Directive and
relatively favourable public framing, enabling analysis of how inclusionary and
exclusionary logics manifest in digital discourse. Integrating
affective/structural cues, the study shows how political actors shape perception
and legitimize inclusion or exclusion.
Article outline
- 1.Introduction
- 2.Literature review
- 3.Theoretical framework
- 3.1Critical Discourse Analysis and political communication
- 3.2Linguistic and affective markers of ideological positioning
- 4.Methodology
- 4.1Dataset and corpus
- 4.2Data processing
- 4.3Exploratory Data Analysis (EDA)
- 4.4Example selection criteria
- 5.Results
- 5.1Tweet frequency
- 5.2Sentiment analysis
- 5.3Emotion analysis
- 5.4Hate speech analysis
- 5.5Linguistic markers
- 5.5.1Modality
- 5.5.2Person deixis
- 5.5.3Verb voice
- 6.Conclusions, limitations, and future directions
- Acknowledgment
- Data availability
- Declaration of conflicting interest
- Note
- Author queries
References
References (39)
Alegría, Pilar. 2022. “Trabajamos junto a las comunidades para que el proceso sea un éxito. Un ejercicio de solidaridad de todo nuestro país. Verlos aprender y jugar emociona.” X1, April 21, 2022, 12:29 p.m. [URL]
Baladrón-Pazos, Antonio José, Beatriz Correyero-Ruiz, and Benjamin Manchado-Pérez. 2023. “Spanish Political Communication and Hate Speech on Twitter During the Russian Invasion of Ukraine.” Politics and Governance 11 (2): 160–174.
Contreras, Francisco José. 2022. “ESTOS (las mujeres y niños que huyen de Ucrania) sí son refugiados. No los hombres en edad militar que saltan la valla de Melilla, agrediendo a nuestras fuerzas del orden.” X, March 14, 2022, 12:52 p.m. [URL]
Corral, Alfonso, Cayetano Fernández Romero, and Antonio Prieto-Andrés. 2026. “La jerarquización de los refugiados afganos y ucranianos en el discurso de la prensa española.” Doxa Comunicación: Revista Interdisciplinar de Estudios de Comunicación y Ciencias Sociales, no. 42: 149–168.
Dehdarirad, Amir, and Manuel Alcántara-Plá. 2025. “Semiotics and Framing of Ukrainian Refugees in Spanish Political Discourse: A Linguistic and Cognitive Analysis.” Social Semiotics 35 (1): 1–19.
Díaz Ayuso, Isabel. 2022. “El pueblo ucraniano sigue sufriendo. No nos acostumbremos a las imágenes de la destrucción y la muerte. La Comunidad de Madrid pone en marcha esta campaña solidaria para enviar ayuda humanitaria.” X, June 16, 2022, 1:50 p.m. [URL]
Elmadany, AbdelRahim, Chiyu Zhang, Muhammad Abdul-Mageed, and Azadeh Hashemi. 2020. “Leveraging Affective Bidirectional Transformers for Offensive Language Detection.” In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, edited by Hend Al-Khalifa, Walid Magdy, Kareem Darwish, Tamer Elsayed, and Hamdy Mubarak, 102–108. Marseille, France: European Language Resources Association. [URL]
Espinosa de los Monteros, Iván. 2019. “Tenemos muchos extranjeros, muchos, de verdad; unos 3 millones de ucranianos, muchos refugiados de la zona de Donbás. No nos olvidemos que a 700 km de la frontera hay una guerra. Un millón son legales y el resto, ilegales, pero eso no le importa a nadie en Bruselas, al parecer.” X, January 31, 2019, 10:46 a.m. [URL]
Halliday, M. A. K., and Christian M. I. M. Matthiessen. 2004. An Introduction to Functional Grammar. 3rd ed. London: Routledge.
Jungherr, Andreas. 2014. “The Logic of Political Coverage on Twitter: Temporal Dynamics and Content.” Journal of Communication 64 (2): 239–259.
. 2015. “Twitter, Usage and Research.” In Analyzing Political Communication with Digital Trace Data, 1st ed., 11–23. Cham: Springer.
KhosraviNik, Majid. 2017. “Social Media Critical Discourse Studies (SM-CDS).” In The Routledge Handbook of Critical Discourse Studies, edited by John Flowerdew and John E. Richardson, 576–591. London: Routledge.
Krzyzanowski, Michal, Anna Triandafyllidou, and Ruth Wodak. 2018. “The Mediatization and the Politicization of the ‘Refugee Crisis’ in Europe.” Journal of Immigrant & Refugee Studies 161: 1–14.
Levinson, Stephen. 2004. “Deixis and Pragmatics.” In The Handbook of Pragmatics, edited by L. R. Horn and G. Ward, 97–121. Oxford: Blackwell.
Luyten, Katrien. 2024. Temporary Protection Directive. Briefing PE 762.373. Brussels: European Parliamentary Research Service, July. [URL]
Marco Gual, María Amparo. 2016. “Un placer recibir a los niños y niñas ucranianos que pasan el verano en #Castellón.” X, July 14, 2016, 11:14 a.m. [URL]
Martínez de Bartolomé, Ireide, and Beatriz Rivera Martín. 2023. “Analysis of Media Discourse and Social Audiences on Refugees in the Conflict in Ukraine.” Tripodos (53): 88–103.
Mnassri, Khouloud, Praboda Rajapaksha, Reza Farahbakhsh, and Noel Crespi. 2023. “Hate Speech and Offensive Language Detection Using an Emotion-Aware Shared Encoder.” In ICC 2023 — IEEE International Conference on Communications, 2852–2857.
Monroy Trujillo, Alberto. 2025. “Between Inclusion and Exclusion: The Representations of Illegal Immigrants and Refugees on Spanish Party VOX’s Instagram During the First Year of the War in Ukraine.” Ethnopolitics 24 (4): 363–81.
Nandwani, Pansy, and Rupali Verma. 2021. “A Review on Sentiment Analysis and Emotion Detection from Text.” Social Network Analysis and Mining 11 (1): 81.
Nockleby, John T. 2000. “Hate Speech.” In Encyclopedia of the American Constitution, edited by Leonard W. Levy and Kenneth L. Karst, 2nd ed., vol. 31, 1277–1279. Detroit: Macmillan Reference USA.
Oleart, Álvaro, and Juan Roch. 2025. “The Colonial Imaginary of ‘Europe’ in the EU’s Asymmetrical Response to the Russian and Israeli Aggressions: Ukraine as a Member of the ‘Family’ Whilst ‘Othering’ Palestine.” JCMS: Journal of Common Market Studies 631: 1685–1709.
Onyenwe, Ikechukwu, Samuel Nwagbo, Njideka Mbeledogu, and Ebele Onyedinma. 2020. “The Impact of Political Party/Candidate on the Election Results…” Social Network Analysis and Mining 10 (1): 55.
Pérez-Dasilva, Jesus, Koldobica Meso-Ayerdi, and Terrese Mendiguren-Galdospín. 2018. “Do Spanish Political Leaders Interact with the Media and Journalists via Twitter?” Communication & Society 31 (3): 299–317.
Plaza-del-Arco, Flor Miriam, Salat Halat, Sebastian Padó, and Roman Klinger. 2022. “Multi-Task Learning with Sentiment, Emotion, and Target Detection.” arXiv.
Sánchez del Real, Víctor Manuel. 2022. “Un millón de refugiados ya en otros países en una semana es una barbaridad. Que se suma a los dos millones de desplazados desde Crimea y Donbas desde 2014 y que ya había asumido Ucrania.” X, March 3, 2022, 10:02 p.m. [URL]
Sánchez, Víctor Manuel. 2022. “En otros aspectos menos alegres: la situación bélica a pocos kilómetros de donde nos encontramos marcan una incertidumbre enorme en esta nación. Y la casi absoluta certeza que la llegada del invierno provocará una avalancha de refugiados ucranianos en apenas unas semanas” X, November 8, 2022, 9:02 a.m. [URL]
Santana Perera, Noemí. 2022. “Es tremendamente hipócrita ver cómo se recibe con los brazos abiertos a los refugiados ucranianos, mientras que en la frontera sur recibimos a las personas con concertinas y palos, cuando también están huyendo de una guerra.” X, June 27, 2022, 3:05 p.m. [URL]
Tertsch, Hermann. 2019. “Da igual menores o no, es todo mentira. No son menores. No son refugiados. No son náufragos. No vienen de guerras. No son los más pobres. No pasaban hambre. No pagarán nuestras pensiones. No vienen a integrarse. La ONoGubernamental es gubernamental. Resumen: todo mentira.” X, August 17, 2019. [URL]
Tomczak-Boczko, Justyna, Klaudia Gołębiowska, and Maciej Górny. 2023. “Who is a ‘True Refugee’? Polish Political Discourse in 2021–2022.” Discourse Studies 25 (6): 799–822.
Wetherell, Margaret. 2012. Affect and Emotion: A New Social Science Understanding. London: SAGE Publications.