Pith. sign in

REVIEW 2 cited by

How to use LLMs for Text Analysis

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2307.13106 v1 pith:QNGHVQ6S submitted 2023-07-24 cs.CL cs.AI

classification cs.CLcs.AI
keywords analysistextllmswillanalyzingdataguideadvice
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

This guide introduces Large Language Models (LLM) as a highly versatile text analysis method within the social sciences. As LLMs are easy-to-use, cheap, fast, and applicable on a broad range of text analysis tasks, ranging from text annotation and classification to sentiment analysis and critical discourse analysis, many scholars believe that LLMs will transform how we do text analysis. This how-to guide is aimed at students and researchers with limited programming experience, and offers a simple introduction to how LLMs can be used for text analysis in your own research project, as well as advice on best practices. We will go through each of the steps of analyzing textual data with LLMs using Python: installing the software, setting up the API, loading the data, developing an analysis prompt, analyzing the text, and validating the results. As an illustrative example, we will use the challenging task of identifying populism in political texts, and show how LLMs move beyond the existing state-of-the-art.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. From Assistance to Autonomy -- A Researcher Study on the Potential of AI Support for Qualitative Data Analysis

    cs.CY 2025-01 conditional novelty 5.0 of 10

    Interviews with 15 HCI researchers show openness to AI in qualitative data analysis under conditions of privacy, control, and reliability, leading to a framework of AI involvement levels from minimal to high.

  2. Artificially intelligent agents in the social and behavioral sciences: A history and outlook

    cs.AI 2025-10 conditional novelty 2.0 of 10

    AI and social science have co-evolved for 75 years through rapid technological adoption and slower scientific consolidation, with direct human-focused AI studies still scarce.

Pith tools