Cargando…
Text as signal. A tutorial with case studies focusing on social media (Twitter)
Sentiment analysis is the automated coding of emotions expressed in text. Sentiment analysis and other types of analyses focusing on the automatic coding of textual documents are increasingly popular in psychology and computer science. However, the potential of treating automatically coded text coll...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9311346/ https://www.ncbi.nlm.nih.gov/pubmed/35879505 http://dx.doi.org/10.3758/s13428-022-01917-1 |
_version_ | 1784753580010373120 |
---|---|
author | Mayor, Eric Bietti, Lucas M. Canales-Rodríguez, Erick Jorge |
author_facet | Mayor, Eric Bietti, Lucas M. Canales-Rodríguez, Erick Jorge |
author_sort | Mayor, Eric |
collection | PubMed |
description | Sentiment analysis is the automated coding of emotions expressed in text. Sentiment analysis and other types of analyses focusing on the automatic coding of textual documents are increasingly popular in psychology and computer science. However, the potential of treating automatically coded text collected with regular sampling intervals as a signal is currently overlooked. We use the phrase "text as signal" to refer to the application of signal processing techniques to coded textual documents sampled with regularity. In order to illustrate the potential of treating text as signal, we introduce the reader to a variety of such techniques in a tutorial with two case studies in the realm of social media analysis. First, we apply finite response impulse filtering to emotion-coded tweets posted during the US Election Week of 2020 and discuss the visualization of the resulting variation in the filtered signal. We use changepoint detection to highlight the important changes in the emotional signals. Then we examine data interpolation, analysis of periodicity via the fast Fourier transform (FFT), and FFT filtering to personal value-coded tweets from November 2019 to October 2020 and link the variation in the filtered signal to some of the epoch-defining events occurring during this period. Finally, we use block bootstrapping to estimate the variability/uncertainty in the resulting filtered signals. After working through the tutorial, the readers will understand the basics of signal processing to analyze regularly sampled coded text. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.3758/s13428-022-01917-1. |
format | Online Article Text |
id | pubmed-9311346 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-93113462022-07-26 Text as signal. A tutorial with case studies focusing on social media (Twitter) Mayor, Eric Bietti, Lucas M. Canales-Rodríguez, Erick Jorge Behav Res Methods Article Sentiment analysis is the automated coding of emotions expressed in text. Sentiment analysis and other types of analyses focusing on the automatic coding of textual documents are increasingly popular in psychology and computer science. However, the potential of treating automatically coded text collected with regular sampling intervals as a signal is currently overlooked. We use the phrase "text as signal" to refer to the application of signal processing techniques to coded textual documents sampled with regularity. In order to illustrate the potential of treating text as signal, we introduce the reader to a variety of such techniques in a tutorial with two case studies in the realm of social media analysis. First, we apply finite response impulse filtering to emotion-coded tweets posted during the US Election Week of 2020 and discuss the visualization of the resulting variation in the filtered signal. We use changepoint detection to highlight the important changes in the emotional signals. Then we examine data interpolation, analysis of periodicity via the fast Fourier transform (FFT), and FFT filtering to personal value-coded tweets from November 2019 to October 2020 and link the variation in the filtered signal to some of the epoch-defining events occurring during this period. Finally, we use block bootstrapping to estimate the variability/uncertainty in the resulting filtered signals. After working through the tutorial, the readers will understand the basics of signal processing to analyze regularly sampled coded text. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.3758/s13428-022-01917-1. Springer US 2022-07-25 2023 /pmc/articles/PMC9311346/ /pubmed/35879505 http://dx.doi.org/10.3758/s13428-022-01917-1 Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Mayor, Eric Bietti, Lucas M. Canales-Rodríguez, Erick Jorge Text as signal. A tutorial with case studies focusing on social media (Twitter) |
title | Text as signal. A tutorial with case studies focusing on social media (Twitter) |
title_full | Text as signal. A tutorial with case studies focusing on social media (Twitter) |
title_fullStr | Text as signal. A tutorial with case studies focusing on social media (Twitter) |
title_full_unstemmed | Text as signal. A tutorial with case studies focusing on social media (Twitter) |
title_short | Text as signal. A tutorial with case studies focusing on social media (Twitter) |
title_sort | text as signal. a tutorial with case studies focusing on social media (twitter) |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9311346/ https://www.ncbi.nlm.nih.gov/pubmed/35879505 http://dx.doi.org/10.3758/s13428-022-01917-1 |
work_keys_str_mv | AT mayoreric textassignalatutorialwithcasestudiesfocusingonsocialmediatwitter AT biettilucasm textassignalatutorialwithcasestudiesfocusingonsocialmediatwitter AT canalesrodriguezerickjorge textassignalatutorialwithcasestudiesfocusingonsocialmediatwitter |