Dictionary-Based Text Analysis
Also known as: Lexicon-based political text analysis, Dictionary methods for political texts, Word-count content analysis of political texts, Political keyword counting
Dictionary-based text analysis scores documents by counting how often they use words from a predefined, validated list — a dictionary or lexicon — tied to a concept such as sentiment, emotion, or a policy area. Each document's score is essentially the rate at which dictionary terms appear, so a corpus of speeches, news articles, or manifestos can be measured for tone or thematic emphasis quickly and transparently. It is the simplest and most interpretable family of automated content-analysis methods, and Grimmer and Stewart treat it as a baseline against which more elaborate text-as-data tools are judged.
Key highlights
- Fully transparent and reproducible: the measurement rule is an inspectable word list, so results are easy to audit and replicate.
- Requires no labeled training data, making it cheap to run at scale once a dictionary exists.
- Fast and computationally trivial, scaling effortlessly to very large corpora.
- Interpretable scores: every score can be traced back to the specific words that produced it.
Intuition
This section is available to Pro members. Upgrade to Pro
How it works
This section is available to Pro members. Upgrade to Pro
When to use it
Use dictionary methods when you have a well-defined concept with a validated word list, a need for transparent and reproducible measurement, and documents whose language matches the dictionary's domain. They are ideal for large-scale sentiment or tone measurement, for tracking issue or emotion emphasis over time, and as a fast, interpretable baseline. They are inappropriate when the concept is context-dependent or sarcastic, when no validated dictionary exists for your domain and you cannot validate one, or when categories require understanding word order and meaning beyond presence — in those cases supervised classification or topic models are better. Always validate the dictionary on your own corpus before trusting its scores.
Strengths & limitations
- Fully transparent and reproducible: the measurement rule is an inspectable word list, so results are easy to audit and replicate.
- Requires no labeled training data, making it cheap to run at scale once a dictionary exists.
- Fast and computationally trivial, scaling effortlessly to very large corpora.
- Interpretable scores: every score can be traced back to the specific words that produced it.
- Ignores word order, syntax, negation, and context, so meaning beyond simple term presence is lost.
- Dictionaries validated in one domain or era often mismeasure another, and off-the-shelf lexicons travel poorly.
- Cannot capture sarcasm, irony, or implicit sentiment expressed without category words.
- Performance is capped by the quality and coverage of the word list, which can miss key terms or include ambiguous ones.
Common pitfalls
This section is available to Pro members. Upgrade to Pro
Applications
This section is available to Pro members. Upgrade to Pro
Frequently asked
How is a dictionary method different from supervised text classification?
A dictionary method applies a fixed, human-specified word list and needs no labeled examples — you decide in advance which words count. Supervised classification instead learns the mapping from text features to categories from hand-labeled training documents, so it can pick up context-dependent and non-obvious cues but requires costly labeled data. Dictionaries are more transparent and portable in principle but brittle across domains; classifiers are more accurate within the domain they are trained on but can fail to generalize. They are often combined, with a dictionary providing a baseline and a classifier improving on it. See supervised-text-classification.
Can I use an off-the-shelf sentiment dictionary on my corpus?
You can, but you must validate it on your own data first. Lexicons such as the Lexicoder Sentiment Dictionary or LIWC were built and validated on specific kinds of text, and their word lists may misfire in a different domain, register, or time period — financial 'liability', legislative 'amendment', or domain jargon can carry meanings the dictionary did not anticipate. The responsible workflow is to hand-code a sample, compare the dictionary scores to those codes, inspect disagreements, and revise or reject the dictionary accordingly.
How do dictionary methods handle negation and context?
By default they do not. Simple term counting treats 'good' and 'not good' identically, and cannot tell 'tax relief' from 'tax burden'. Some implementations add negation-handling windows, multi-word expressions, or wildcard stems to mitigate this, but these are partial fixes that themselves need validation. When context, negation, and word order are central to the concept, dictionary methods are the wrong tool, and supervised classification or model-based approaches that use richer features are preferable.
Sources
- 1.Grimmer, J., & Stewart, B. M. (2013). Text as Data: The Promise and Pitfalls of Automatic Content Analysis Methods for Political Texts. Political Analysis, 21(3), 267–297.
- 2.Young, L., & Soroka, S. (2012). Affective News: The Automated Coding of Sentiment in Political Texts. Political Communication, 29(2), 205–231.
You have read it. What now?
Cite this page
ScholarGate. (2026, June 22). Dictionary-Based Text Analysis in Politics. ScholarGate. https://scholargate.app/political-science/dictionary-based-text-analysis