IDEAS home Printed from https://ideas.repec.org/a/cup/polals/v33y2025i4p425-445_9.html

Constructing Vec-tionaries to Extract Message Features from Texts: A Case Study of Moral Content

Author

Listed:
  • Duan, Zening
  • Shao, Anqi
  • Hu, Yicheng
  • Lee, Heysung
  • Liao, Xining
  • Suh, Yoo Ji
  • Kim, Jisoo
  • Yang, Kai-Cheng
  • Chen, Kaiping
  • Yang, Sijia

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.

Suggested Citation

  • Duan, Zening & Shao, Anqi & Hu, Yicheng & Lee, Heysung & Liao, Xining & Suh, Yoo Ji & Kim, Jisoo & Yang, Kai-Cheng & Chen, Kaiping & Yang, Sijia, 2025. "Constructing Vec-tionaries to Extract Message Features from Texts: A Case Study of Moral Content," Political Analysis, Cambridge University Press, vol. 33(4), pages 425-445, October.
  • Handle: RePEc:cup:polals:v:33:y:2025:i:4:p:425-445_9
    as

    Download full text from publisher

    File URL: https://www.cambridge.org/core/product/identifier/S1047198725000063/type/journal_article
    File Function: link to article abstract page
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:cup:polals:v:33:y:2025:i:4:p:425-445_9. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Kirk Stebbing (email available below). General contact details of provider: https://www.cambridge.org/pan .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.