NEClass: a lightweight LLM pipeline for measuring Foreign news coverage

Understanding cross-national news coverage is central to international communication research. However, quantifying how countries appear in the news remains methodologically challenging: simple keyword counts lack context, while manual coding does not scale. This paper introduces NEClass, a reproducible, open-source pipeline that combines standard Named Entity Recognition (NER) with a fine-tuned Large Language Model (LLM) to classify entities’ country affiliations. Unlike static dictionary approaches, NEClass leverages the latent world knowledge of modern LLMs and local context to resolve ambiguities dynamically. I demonstrate the pipeline’s validity regarding country attribution (weighted F1 of 0.95), show that it performs more reliably than established baseline approaches (including keyword matching and zero-shot LLM prompting), and illustrate its utility through a case study of the Eurozone crisis coverage in German and Italian newspapers. Ultimately, NEClass provides researchers with a robust and accessible toolkit to operationalize international attention patterns beyond the limitations of purely keyword-based metrics.

Authors

Institutions

Publication Details

Journal
Communication Methods and Measures
Published
2026-06-24
DOI
https://doi.org/10.1080/19312458.2026.2692353
Primary Topic
Computational and Text Analysis Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NEClass: a lightweight LLM pipeline for measuring Foreign news coverage

Tobias Schmidt
Communication Methods and Measures
Computational and Text Analysis Methods
article

NEClass: a lightweight LLM pipeline for measuring Foreign news coverage

Tobias Schmidt
article en

Abstract

Understanding cross-national news coverage is central to international communication research. However, quantifying how countries appear in the news remains methodologically challenging: simple keyword counts lack context, while manual coding does not scale. This paper introduces NEClass, a reproducible, open-source pipeline that combines standard Named Entity Recognition (NER) with a fine-tuned Large Language Model (LLM) to classify entities’ country affiliations. Unlike static dictionary approaches, NEClass leverages the latent world knowledge of modern LLMs and local context to resolve ambiguities dynamically. I demonstrate the pipeline’s validity regarding country attribution (weighted F1 of 0.95), show that it performs more reliably than established baseline approaches (including keyword matching and zero-shot LLM prompting), and illustrate its utility through a case study of the Eurozone crisis coverage in German and Italian newspapers. Ultimately, NEClass provides researchers with a robust and accessible toolkit to operationalize international attention patterns beyond the limitations of purely keyword-based metrics.

Communication Methods and Measures
TU Dortmund University (DE)
Partnerships for the goals
Openalex Percentile: Top 3%
Computational and Text Analysis Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.