Topic modelling and emotion analysis of the tweets of British and American politicians on the topic of war in Ukraine

This paper focuses on the content and emotive features of four politicians' posts that were published on their official Twitter accounts during the three-month period of the russian invasion of Ukraine. We selected two British politicians – Boris Johnson, the Prime Minister of the UK, and Yvett...

Full description

Saved in:
Bibliographic Details
Published inEast European journal of psycholinguistics Vol. 9; no. 2
Main Authors Karpina, Olena, Chen, Justin
Format Journal Article
LanguageEnglish
Published Lesya Ukrainka Volyn National University 26.12.2022
Subjects
Online AccessGet full text

Cover

Loading…
Abstract This paper focuses on the content and emotive features of four politicians' posts that were published on their official Twitter accounts during the three-month period of the russian invasion of Ukraine. We selected two British politicians – Boris Johnson, the Prime Minister of the UK, and Yvette Cooper, the Labour MP and Shadow Home Secretary of the State for the Home Department – as well as two American politicians, President Joe Biden and Republican senator Marco Rubio. In the first phase, we identified the most frequent lexical tokens used by the politicians to inform the world community about the war in Ukraine. For this purpose, we used Voyant Tools, a web-based application for text analysis. These tokens were divided into three groups according to the level of their frequency. Additionally, we measured the distribution of the most frequent lexical tokens across the three-month time span. In the next phase, we analysed the context of the identified lexical tokens, thereby outlining the subject of the tweets. To do this, we extracted collocations using the Natural Language Toolkit (NLTK) library. During the final phase of the research, we performed topic modelling using the Gibbs Sampling algorithm for the Dirichlet Multinomial Mixture model (GSDMM) and emotion analysis using the NRC Lexicon library.
AbstractList This paper focuses on the content and emotive features of four politicians' posts that were published on their official Twitter accounts during the three-month period of the russian invasion of Ukraine. We selected two British politicians – Boris Johnson, the Prime Minister of the UK, and Yvette Cooper, the Labour MP and Shadow Home Secretary of the State for the Home Department – as well as two American politicians, President Joe Biden and Republican senator Marco Rubio. In the first phase, we identified the most frequent lexical tokens used by the politicians to inform the world community about the war in Ukraine. For this purpose, we used Voyant Tools, a web-based application for text analysis. These tokens were divided into three groups according to the level of their frequency. Additionally, we measured the distribution of the most frequent lexical tokens across the three-month time span. In the next phase, we analysed the context of the identified lexical tokens, thereby outlining the subject of the tweets. To do this, we extracted collocations using the Natural Language Toolkit (NLTK) library. During the final phase of the research, we performed topic modelling using the Gibbs Sampling algorithm for the Dirichlet Multinomial Mixture model (GSDMM) and emotion analysis using the NRC Lexicon library.
This paper focuses on the content and emotive features of four politicians' posts that were published on their official Twitter accounts during the three-month period of the russian invasion of Ukraine. We selected two British politicians – Boris Johnson, the Prime Minister of the UK, and Yvette Cooper, the Labour MP and Shadow Home Secretary of the State for the Home Department – as well as two American politicians, President of the USA Joe Biden and Republican senator Marco Rubio. In the first phase, we constructed a dataset containing the tweets of the four politicians, which were selected with regard to the topic of war in Ukraine. To be considered approved, the tweets were supposed to contain such words as Ukraine, russia, war, putin, invasion, spotted in one context.  In the second phase, we identified the most frequent lexical tokens used by the politicians to inform the world community about the war in Ukraine. For this purpose, we used Voyant Tools, a web-based application for text analysis. These tokens were divided into three groups according to the level of their frequency into most frequent, second most frequent and third most frequent lexical tokens. Additionally, we measured the distribution of the most frequent lexical tokens across the three-month time span to explore how their frequency fluctuated over the study period. In the third phase, we analysed the context of the identified lexical tokens, thereby outlining the subject of the tweets. To do this, we extracted collocations using the Natural Language Toolkit (NLTK) library. During the final phase of the research, we performed topic modelling using the Gibbs Sampling algorithm for the Dirichlet Multinomial Mixture model (GSDMM) and emotion analysis using the NRC Lexicon library.
Author Karpina, Olena
Chen, Justin
Author_xml – sequence: 1
  givenname: Olena
  surname: Karpina
  fullname: Karpina, Olena
– sequence: 2
  givenname: Justin
  surname: Chen
  fullname: Chen, Justin
BookMark eNp9kc9u1DAQxi1UJErpE3DxCyTYYzuJj6UCWqkSl_Zszdrj1tusvXKCqr49bhYuHDjNH83v08x8H9lZLpkY-yxFD1ao6QvR_jj3IAB620P_jPUdOwclVQdSDmdbDp2CwXxgl8uyF0JIC0JrOGe_7ssxeX4ogeY55UeOOXA6lDWV3HKcX5e08BL5-kR8fSFat-prTWtanrbpqwPV5DHzY5lb1yfMbSafiE29AS9Yecr84bliyvSJvY84L3T5J16wh-_f7q9vurufP26vr-46D8LUzhgpJUYjvY8EA6CMk54UWYJRDxCMHONusGCCnKIXI6CZdkEbYRRCGIK6YLcn3VBw7441HbC-uoLJbY1SHx3WtvJMTkQ5jtoQgJDaar-LaqeHGCHoMQDYpmVPWr6WZakUnU8rvv1pbTfNTgq32eE2O9ybHc46cM2Oxqp_2L-7_I_6DfnSlAQ
CitedBy_id crossref_primary_10_21272_Ftrk_2024_16_2__10
Cites_doi 10.3115/1225403.1225421
10.32782/tps2663-4880/2020.14-1.32
10.1145/2623330.2623715
10.1007/s00180-022-01246-z
ContentType Journal Article
DBID AAYXX
CITATION
DOA
DOI 10.29038/eejpl.2022.9.2.kar
DatabaseName CrossRef
DOAJ Directory of Open Access Journals
DatabaseTitle CrossRef
DatabaseTitleList CrossRef

Database_xml – sequence: 1
  dbid: DOA
  name: DOAJ Open Access Full Text
  url: https://www.doaj.org/
  sourceTypes: Open Website
DeliveryMethod fulltext_linktorsrc
EISSN 2313-2116
ExternalDocumentID oai_doaj_org_article_0f17745e2201494cbf3b46ff2d47d229
10_29038_eejpl_2022_9_2_kar
GroupedDBID 5VS
AAFWJ
AAYXX
ADBBV
AFPKN
ALMA_UNASSIGNED_HOLDINGS
BCNDV
CITATION
GROUPED_DOAJ
HMHOC
OK1
ID FETCH-LOGICAL-c205r-55111af51ccfe262a1f8483e9e27462d517fb6925d18fc072a58bd45053a2d6d3
IEDL.DBID DOA
ISSN 2312-3265
IngestDate Wed Aug 27 01:29:56 EDT 2025
Tue Jul 01 02:40:59 EDT 2025
Thu Apr 24 22:55:44 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Issue 2
Language English
License https://creativecommons.org/licenses/by/4.0
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-c205r-55111af51ccfe262a1f8483e9e27462d517fb6925d18fc072a58bd45053a2d6d3
OpenAccessLink https://doaj.org/article/0f17745e2201494cbf3b46ff2d47d229
ParticipantIDs doaj_primary_oai_doaj_org_article_0f17745e2201494cbf3b46ff2d47d229
crossref_citationtrail_10_29038_eejpl_2022_9_2_kar
crossref_primary_10_29038_eejpl_2022_9_2_kar
ProviderPackageCode CITATION
AAYXX
PublicationCentury 2000
PublicationDate 2022-12-26
PublicationDateYYYYMMDD 2022-12-26
PublicationDate_xml – month: 12
  year: 2022
  text: 2022-12-26
  day: 26
PublicationDecade 2020
PublicationTitle East European journal of psycholinguistics
PublicationYear 2022
Publisher Lesya Ukrainka Volyn National University
Publisher_xml – name: Lesya Ukrainka Volyn National University
References ref13
ref12
ref15
ref14
ref20
ref11
ref22
ref10
ref21
ref0
ref2
ref1
ref17
ref16
ref19
ref18
ref8
ref7
ref9
ref4
ref3
ref6
ref5
References_xml – ident: ref5
  doi: 10.3115/1225403.1225421
– ident: ref13
– ident: ref3
  doi: 10.32782/tps2663-4880/2020.14-1.32
– ident: ref20
  doi: 10.1145/2623330.2623715
– ident: ref1
– ident: ref4
– ident: ref2
– ident: ref9
  doi: 10.1145/2623330.2623715
– ident: ref6
– ident: ref17
  doi: 10.32782/tps2663-4880/2020.14-1.32
– ident: ref7
– ident: ref19
  doi: 10.1007/s00180-022-01246-z
– ident: ref8
  doi: 10.1007/s00180-022-01246-z
– ident: ref11
  doi: 10.3115/1225403.1225421
– ident: ref21
– ident: ref22
– ident: ref18
– ident: ref0
– ident: ref16
– ident: ref10
– ident: ref12
– ident: ref15
– ident: ref14
SSID ssj0001920442
ssib050730916
Score 2.2058947
Snippet This paper focuses on the content and emotive features of four politicians' posts that were published on their official Twitter accounts during the three-month...
SourceID doaj
crossref
SourceType Open Website
Enrichment Source
Index Database
SubjectTerms emotion analysis
lexical token
raw frequency
relative frequency
topic modelling
twitter
virtual discourse
Title Topic modelling and emotion analysis of the tweets of British and American politicians on the topic of war in Ukraine
URI https://doaj.org/article/0f17745e2201494cbf3b46ff2d47d229
Volume 9
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV3PS8MwFA6ykxdRVJy_yMGj3ZrXpEuPKo4h6GmD3UKaH7BNujE2_Pd9SboxL3rx1pb3Qnj9mnxpXr5HyEMY9DUrRWakNBnX-M1VtmKZLaQtrOC1qcP_jvePcjThb1MxPSj1FXLCkjxwClw_9wwZinAAgcxzU_ui5qX3YPnAAsSjezjnHSymEEkiAHdHfOaJx-Q8VtJBPgMZchaRJIigygvZd26-CvsQAL2qB72FXv-Ypg7U_OO0MzwlJy1fpE-pn2fkyDXnZDtermaGxio24Tg51Y2lLhXkweskM0KXniK7oyEPaxPvWgGjaL3bqaGrlACHKEGbJnnE1tHhS6_prKGTRagj4S7IZPg6fhllbf2EzEAu1hmSIca0F8wY76AEzbzksnCVw6VoCVawga_LCoRl0pt8AFrI2nLkRIUGW9riknSaZeOuCOXa5JZ74yUUHHCUy6WRmuHgWEtnGe8S2IVLmVZcPNS4-FS4yIgxVjHGKsRYVQoUxrhLHvdOq6St8bv5c3gPe9MgjB0fIFxUCxf1F1yu_6ORG3IcOhayWqC8JZ3NeuvukJts6vsIw2-FaN8c
linkProvider Directory of Open Access Journals
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Topic+modelling+and+emotion+analysis+of+the+tweets+of+British+and+American+politicians+on+the+topic+of+war+in+Ukraine&rft.jtitle=East+European+journal+of+psycholinguistics&rft.au=Karpina%2C+Olena&rft.au=Chen%2C+Justin&rft.date=2022-12-26&rft.issn=2312-3265&rft.eissn=2313-2116&rft.volume=9&rft.issue=2&rft_id=info:doi/10.29038%2Feejpl.2022.9.2.kar&rft.externalDBID=n%2Fa&rft.externalDocID=10_29038_eejpl_2022_9_2_kar
thumbnail_l http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=2312-3265&client=summon
thumbnail_m http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=2312-3265&client=summon
thumbnail_s http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=2312-3265&client=summon