IDEAS home Printed from https://ideas.repec.org/a/cup/polals/v29y2021i1p19-42_2.html
   My bibliography  Save this article

Automated Text Classification of News Articles: A Practical Guide

Author

Listed:
  • Barberá, Pablo
  • Boydstun, Amber E.
  • Linn, Suzanna
  • McMahon, Ryan
  • Nagler, Jonathan

Abstract

Automated text analysis methods have made possible the classification of large corpora of text by measures such as topic and tone. Here, we provide a guide to help researchers navigate the consequential decisions they need to make before any measure can be produced from the text. We consider, both theoretically and empirically, the effects of such choices using as a running example efforts to measure the tone of New York Times coverage of the economy. We show that two reasonable approaches to corpus selection yield radically different corpora and we advocate for the use of keyword searches rather than predefined subject categories provided by news archives. We demonstrate the benefits of coding using article segments instead of sentences as units of analysis. We show that, given a fixed number of codings, it is better to increase the number of unique documents coded rather than the number of coders for each document. Finally, we find that supervised machine learning algorithms outperform dictionaries on a number of criteria. Overall, we intend this guide to serve as a reminder to analysts that thoughtfulness and human validation are key to text-as-data methods, particularly in an age when it is all too easy to computationally classify texts without attending to the methodological choices therein.

Suggested Citation

  • Barberá, Pablo & Boydstun, Amber E. & Linn, Suzanna & McMahon, Ryan & Nagler, Jonathan, 2021. "Automated Text Classification of News Articles: A Practical Guide," Political Analysis, Cambridge University Press, vol. 29(1), pages 19-42, January.
  • Handle: RePEc:cup:polals:v:29:y:2021:i:1:p:19-42_2
    as

    Download full text from publisher

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

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Hauke Licht & Ronja Sczepanksi, 2024. "Who are They Talking About? Detecting Mentions of Social Groups in Political Texts with Supervised Learning," ECONtribute Discussion Papers Series 277, University of Bonn and University of Cologne, Germany.

    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:29:y:2021:i:1:p:19-42_2. 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.