arrow
返回

Generalized word shift graphs: a method for visualizing and explaining pairwise comparisons between texts

delete2021-01-19
delete40
delete
OA
AI
R
Ryan J. Gallagher *
M
Morgan R. Frank
L
Lewis Mitchell
A
Aaron J. Schwartz
A
Andrew J. Reagan
C
Christopher M. Danforth
P
Peter Sheridan Dodds
DOI:10.1140/epjds/s13688-021-00260-3delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
A common task in computational text analyses is to quantify how two corpora differ according to a measurement like word frequency, sentiment, or information content. However, collapsing the texts' rich stories into a single number is often conceptually perilous, and it is difficult to confidently interpret interesting or unexpected textual patterns without looming concerns about data artifacts or measurement validity. To better capture fine-grained differences between texts, we introduce generalized word shift graphs, visualizations which yield a meaningful and interpretable summary of how individual words contribute to the variation between two texts for any measure that can be formulated as a weighted average. We show that this framework naturally encompasses many of the most commonly used approaches for comparing texts, including relative frequencies, dictionary scores, and entropy-based measures like the Kullback-Leibler and Jensen-Shannon divergences. Through a diverse set of case studies ranging from presidential speeches to tweets posted in urban green spaces, we demonstrate how generalized word shift graphs can be flexibly applied across domains for diagnostic investigation, hypothesis generation, and substantive interpretation. By providing a detailed lens into textual shifts between corpora, generalized word shift graphs help computational social scientists, digital humanists, and other text analysis practitioners fashion more robust scientific narratives.
Keyword:
Text as data
Data visualization
Word shift graphs
Sentiment analysis
Computational social science
Digital humanities
Natural language processing
Information theory

期刊

EPJ Data Science 封面图
EPJ Data Science
IF:
2.5
论文数:
704
被引数:
1.6K

机构

U
University of Adelaide
学者数:
2.3W
论文数: 2.4W
被引数: 4.2W
University of Colorado System 封面图
University of Colorado System
学者数:
6.3W
论文数: 5.5W
被引数: 1.8K
S
Stanford University
学者数:
9.6W
论文数: 8.2W
被引数: 17.0W
N
Northeastern University
学者数:
2.5W
论文数: 1.6W
被引数: 3.0W
P
pennsylvania commonwealth system of higher education (pcshe)
学者数:
12.9W
论文数: 11.7W
被引数: 177
学者 查看更多机构
引用论文

引用论文

Primary Extracranial Meningioma of Paranasal Sinuses
err2012-09-09
err0
errOAAI
errRanjan G. Aiyer; V. Prashanth; Kirti Ambani; Vadish S. Bhat; Geeta B. Soni
err分享
err收藏
Language from police body camera footage shows racial disparities in officer respect
err2017-06-05
err298
errOAAI
errVoigt, Rob; Camp, Nicholas P.; Prabhakaran, Vinodkumar; Hamilton, William L.; Hetey, Rebecca C.; Griffiths, Camilla M.; Jurgens, David; Jurafsky, Dan; Eberhardt, Jennifer L.
err分享
err收藏
Wetting induced instabilities in miscible polymer blends
err2010-01-01
err0
PREAI
errKatherine R. Thomas; Nigel Clarke; Rosa Poetes; Mihai Morariu; Ullrich Steiner
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容