Back to search

Texas Tech University

Modelling Topic and Sentiment Evolution in Twitter Based on Word Embedding for Classification of Trends in Different Domains

Abstract

dc:description.abstract

The social media writer’s opinion is important information and how these opinions influence different domains is becoming challenging to discern with the increasing volume of user-generated content on the web. To help with this challenge, we utilize LDA topic modeling to identify the dynamic of sentiment evolution over time. We also examine one domain’s sentiment influence over other domains by investigating the close relationship of opinion in social networks. In addition, traditional news networks are creating large amounts of news articles. Recently, many scholars have paid more attention to identifying and clarifying opinions shared in specific areas in these networks, while their analysis of how the relationship built between different domains is rarely investigated. In this thesis, we investigate the dynamic evolution of sentiment influence of one domain over another domain by examining the strength and relationships between current news and current events of the social media topics that the public discusses. To accomplish this investigation, we conduct an experiment on a real-world dataset of 6.47 million Twitter messages using the keywords of “Biden”, “Covid-19”, and “Bitcoin” respectively. These keywords in the domains of politics, health, and finance, are crawled over a period of 62 days. In conjunction with crawling tweets, six major news article websites are also crawled to collect the news published in the three domains using the same Twitter timeline. The LDA topic model is performed on each domain to derive a topic label for each tweet by dominant “topic id”. The topics are evaluated and measured using qualitative and quantitative metrics of human readability, perplexity, and topic coherence. The sentiments of tweets are found by using a lexical un-supervised approach with the NLTK package as well as the TextBlob package which is used to measure subjectivity. For modeling the dynamics of sentiment evolution, the data time frame is divided into 24 hours of 62 total bins. In each bin, total sentiments of each topic are categorized with sentiment values of positive, negative, and neutral. Furthermore, we rank the tweets by performing two ranking algorithms to identify the influencing tweets. First the “Network-rank” algorithm calculates the importance of tweets based on a tweet’s re-tweets count, follower count, friends count, and individual topic’s sentiment count in a time bin. Second the “Article-weight” algorithm identifies a tweet’s relatedness with selected news articles. The Word2Vec word embedding is utilized to form the feature vector for all three populated datasets. We measure the similarity and distance of the extracted keywords in influencing tweets in topics in one domain with another domain to examine similar discussions. This process guides and identifying the relatedness, similarity, and influence of opinion between political and health domain, health and finance domain, and finance and political domain. We model and learn the dynamic relationship between sentiment and each topic in the distribution.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Software Engineering
Department thesis:degree_department
Computer Science
Grantor
Texas Tech University
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Fernando, Kadupitiyage Sanath L.
Chair dc:contributor.committeechair
  • Mengel, Susan A.
Committee member dc:contributor.committeemember
  • Namin, Akbar S.

Subjects

dc:subject × 2

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • Restricted until 01/2027.
Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2346/97462

Chain of custody

source
Harvested from
Texas Technology University
Base URL
ttu-ir.tdl.org/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Fernando, Kadupitiyage Sanath L.. Modelling Topic and Sentiment Evolution in Twitter Based on Word Embedding for Classification of Trends in Different Domains. Masters thesis, Texas Tech University, 2023. https://hdl.handle.net/2346/97462