Constructing Vec-tionaries to Extract Message Features from Texts: A Case Study of Moral Content
Abstract While researchers often study message features like moral content in text, such as party manifestos and social media posts, their quantification remains a challenge. Conventional human coding struggles with scalability and intercoder reliability. While dictionary-based methods are cost-effective and computationally efficient, they often lack contextual sensitivity and are limited by the vocabularies developed for the original applications. In this paper, we present an approach to construct “vec-tionaries” that boost validated dictionaries with word embeddings through nonlinear optimization. By harnessing semantic relationships encoded by embeddings, vec-tionaries improve the measurement of message features from text, especially those in short format, by expanding the applicability of original vocabularies to other contexts. Importantly, a vec-tionary can produce additional metrics to capture the valence and ambivalence of a message feature beyond its strength in texts. Using moral content in tweets as a case study, we illustrate the steps to construct the moral foundations vec-tionary, showcasing its ability to process texts missed by conventional dictionaries and to produce measurements better aligned with crowdsourced human assessments. Furthermore, additional metrics from the vec-tionary unveiled unique insights that facilitated predicting downstream outcomes such as message retransmission.
Authors
- Sijia Yang (ORCID: https://orcid.org/0000-0003-4209-9881)
- Kai‐Cheng Yang (ORCID: https://orcid.org/0000-0003-4627-9273)
- Zening Duan (ORCID: https://orcid.org/0000-0001-7369-657X)
- Xiaozhou Liao (ORCID: https://orcid.org/0000-0001-8565-1758)
- Kaiping Chen (ORCID: https://orcid.org/0000-0002-5864-5333)
- Yibo Hu (ORCID: https://orcid.org/0000-0003-3409-3164)
- Yoo Ji Suh
- Jisoo Kim (ORCID: https://orcid.org/0000-0002-6984-2850)
- Heysung Lee
- Anqi Shao
Institutions
- University of Wisconsin–Madison (US)
- Universidad del Noreste (MX)
Publication Details
- Journal
- Political Analysis
- Published
- 2025-04-11
- DOI
- https://doi.org/10.1017/pan.2025.6
- Citations
- 2
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 4.96
Funders
- Wisconsin Alumni Research Foundation
- American Political Science Association
- University of Pennsylvania