PeerJ Computer Science (Sep 2024)

Top-k sentiment analysis over spatio-temporal data

  • Abdulaziz Almaslukh,
  • Aisha Almaalwy,
  • Nasser Allheeib,
  • Abdulaziz Alajaji,
  • Mohammed Almukaynizi,
  • Yazeed Alabdulkarim

DOI
https://doi.org/10.7717/peerj-cs.2297
Journal volume & issue
Vol. 10
p. e2297

Abstract

Read online Read online

In recent years, social media has become much more popular to use to express people’s feelings in different forms. Social media such as X (i.e., Twitter) provides a huge amount of data to be analyzed by using sentiment analysis tools to examine the sentiment of people in an understandable way. Many works study sentiment analysis by taking in consideration the spatial and temporal dimensions to provide the most precise analysis of these data and to better understand people’s opinions. But there is a need to facilitate and speed up the searching process to allow the user to find the sentiment analysis of recent top-k tweets in a specified location including the temporal aspect. This work comes with the aim of providing a general framework of data indexing and search query to simplify the search process and to get the results in an efficient way. The proposed query extends the fundamental spatial distance query, commonly used in spatial-temporal data analysis. This query, coupled with sentiment analysis, operates on an indexed dataset, classifying temporal data as positive, negative, or neutral. The proposed query demonstrates over a tenfold improvement in query time compared to the baseline index with various parameters such as top-k, query distance, and the number of query keywords.

Keywords