Process / pipelineCommunicationText-as-data methodsPipeline

Dictionary-Based Text Analysis

Also known as: Lexicon-based text analysis, Word-count text analysis, Dictionary method for content analysis, Sözlük Tabanlı Metin Analizi

OriginatorLexicon tradition (Pennebaker LIWC; General Inquirer)Year2003Sources2Related methods6

Dictionary-based text analysis measures concepts in text by counting how often words belonging to predefined category lists — dictionaries — appear in each document. It is the workhorse lexicon method behind tools like LIWC and the General Inquirer, prized for its transparency and scalability: a category score is simply the share of a document's words that match the category's word list.

Key highlights

  • Fully transparent and reproducible: every score traces directly to counted words.
  • Fast and scalable to very large corpora with negligible computational cost.
  • No training data required when a validated dictionary exists, lowering the barrier to entry.
  • Comparable across studies and over time when the same dictionary is used, aiding cumulative research.

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-based text analysis when you need a transparent, reproducible, and fast measure of well-defined lexical categories — emotion, sentiment, moral language, cognitive style — across many documents, and when a validated dictionary exists for your construct and domain. It is excellent for descriptive trends, replication, and as a baseline against more complex models. It assumes that the target concept is reliably signaled by individual words and that a dictionary validated in one domain transfers to yours. It is less appropriate when meaning depends heavily on context, syntax, negation, or sarcasm, when the construct is not lexically transparent, or when domain-specific word senses diverge from the dictionary's — situations better served by supervised classifiers or contextual embedding models, ideally validated against human coding.

Strengths & limitations

Strengths
  • Fully transparent and reproducible: every score traces directly to counted words.
  • Fast and scalable to very large corpora with negligible computational cost.
  • No training data required when a validated dictionary exists, lowering the barrier to entry.
  • Comparable across studies and over time when the same dictionary is used, aiding cumulative research.
Limitations
  • Bag-of-words counting ignores context, syntax, negation, and sarcasm, misclassifying meaning.
  • Dictionaries validated in one domain or era may transfer poorly to another (e.g., social media slang).
  • Coverage is limited to listed words, missing synonyms, neologisms, and implicit expression.
  • Polysemy means the same word can signal different categories depending on context the method cannot see.

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 does dictionary analysis differ from supervised machine learning?

A dictionary is fixed in advance: it counts words from human-curated lists, so its decisions are fully transparent and need no training data. A supervised classifier learns patterns from human-labeled examples and can capture context and word combinations a dictionary misses, but it requires labeled data and is harder to interpret. Dictionaries trade accuracy and contextual sensitivity for transparency, reproducibility, and speed, which is why they remain a popular baseline even as classifiers improve.

Why can a validated dictionary still give wrong results in my corpus?

Validation is domain- and era-specific. A sentiment or emotion dictionary validated on essays or news may misfire on social-media text full of slang, irony, and domain-specific word senses, and it cannot handle negation or sarcasm. The same word can signal different things in different contexts (polysemy). Always check a dictionary's performance against a human-coded sample from your own corpus before trusting its scores, and consider domain adaptation.

Should I normalize dictionary scores by document length?

Almost always yes. Raw counts confound how much of a category appears with how long the document is, so a long neutral document can accumulate more category words than a short emotional one. Dividing by the number of words yields a proportion that is comparable across documents of different lengths, which is what tools like LIWC report. Without normalization, you risk measuring verbosity rather than the construct.

Sources

  1. 1.
    Pennebaker, J. W., Mehl, M. R., & Niederhoffer, K. G. (2003). Psychological aspects of natural language use: Our words, our selves. Annual Review of Psychology, 54, 547–577.
  2. 2.
    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.

You have read it. What now?

Cite this page

ScholarGate. (2026, June 22). Dictionary-Based Text Analysis. ScholarGate. https://scholargate.app/communication/dictionary-based-text-analysis-comm