Evidence map›Paper›PMID 37126041›Full record

ArticlePsychological methods2023

The text-package: An R-package for analyzing and visualizing human language using natural language processing and transformers.

Oscar Kjell, Salvatore Giorgi, H Andrew Schwartz

Open access · hybridAbstract read
In one paragraph

Article in Psychological methods, 2023. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 19 papers.

0numbers the graph read from it
0cells of the map it votes in
19citing papers in PubMed
56.6field-weighted citation impact, top 1% of its field
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

19 citing papers in PubMed, 55 citations in OpenAlex.

  1. Article
  2. Article
  3. Article
  4. Article
  5. The properties of personal semantics.Memory & cognition · 2026
    Article
  6. Article
  7. Article
  8. Article
  9. Article
  10. Opening the contextual black box: a case for idiographic experience sampling of context for clinical applications.Quality of life research : an international journal of quality of life aspects of treatment, care and rehabilitation · 2025
    Article
  11. Article
  12. Review
  13. Article
  14. Article
  15. Article
  16. Article
  17. Article
  18. Article
  19. Article
4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

3 authors at 3 institutions in 2 countries.

Oscar KjellDepartment of Psychology, Lund University.ORCID 0000-0002-2728-6278
Salvatore GiorgiDepartment of Computer and Information Science, University of Pennsylvania.ORCID 0000-0001-7381-6295
H Andrew SchwartzDepartment of Computer Science, Stony Brook University.ORCID 0000-0002-6383-3339
Lund University · SEStony Brook University · USUniversity of Pennsylvania · US

Funding

Large-scale Data Scientific Assessment of Unhealthy Alcohol Consumption Among Front-Line Restaurant WorkersR01AA028032 · NIAAA · STATE UNIVERSITY NEW YORK STONY BROOK · PI SCHWARTZ, HANSEN ANDREW · 2020 to 2023
$2.5M
National Institutes of Health; National Institute on Alcohol Abuse and AlcoholismNIAAA NIH HHS R01 AA028032NIOSH CDC HHS U01 OH012476Swedish Research Council
6 · The paper itself

Abstract

The language that individuals use for expressing themselves contains rich psychological information. Recent significant advances in Natural Language Processing (NLP) and Deep Learning (DL), namely transformers, have resulted in large performance gains in tasks related to understanding natural language. However, these state-of-the-art methods have not yet been made easily accessible for psychology researchers, nor designed to be optimal for human-level analyses. This tutorial introduces text (https://r-text.org/), a new R-package for analyzing and visualizing human language using transformers, the latest techniques from NLP and DL. The text-package is both a modular solution for accessing state-of-the-art language models and an end-to-end solution catered for human-level analyses. Hence, text provides user-friendly functions tailored to test hypotheses in social sciences for both relatively small and large data sets. The tutorial describes methods for analyzing text, providing functions with reliable defaults that can be used off-the-shelf as well as providing a framework for the advanced users to build on for novel pipelines. The reader learns about three core methods: (1) textEmbed(): to transform text to modern transformer-based word embeddings; (2) textTrain() and textPredict(): to train predictive models with embeddings as input, and use the models to predict from; (3) textSimilarity() and textDistance(): to compute semantic similarity/distance scores between texts. The reader also learns about two extended methods: (1) textProjection()/textProjectionPlot() and (2) textCentrality()/textCentralityPlot(): to examine and visualize text within the embedding space. (PsycInfo Database Record (c) 2024 APA, all rights reserved).

Indexed as

LanguageNatural Language ProcessingHumansSemanticsSocial Sciences

Identifiers

PMID37126041
PMCPMC12803442
OpenAlexW4367600643

What OpenQuestion holds

Textmetadata
LicenceTDM
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.