- Introduced by
- James W. Pennebaker and colleagues
- Year
- 2001
- Type
- Dictionary-based quantitative text analysis
- Family
- Lexicon / word-count text analysis
What does it do?
LIWC (Linguistic Inquiry and Word Count) is a dictionary-based text-analysis method.
It reports the percentage of a text's words that fall into categories such as positive emotion, cognitive processes, social references, and function words such as pronouns. Developed by James Pennebaker and colleagues, it is used to quantify the psychological and stylistic character of written and spoken text.
The intuition behind the method
How people write can reveal aspects of their psychological state or communicative style that the content alone does not. A text with many first-person singular pronouns or negative-emotion words may, as hypothesized in the literature, reflect a different state from one dominated by social or causal vocabulary; whether such an interpretation holds depends on validation in the target domain. LIWC makes this measurable by matching each word in a text against a fixed dictionary that assigns words to categories, then reporting what share of the text's words fall into each category. Because it relies on frequently used style words as well as content words, it can capture signals that content-focused coding often overlooks, and it applies the same rules to every document.
History
LIWC was developed by James Pennebaker and colleagues, and the first public version is usually dated to 2001. Later versions include LIWC2015 and LIWC-22. Tausczik and Pennebaker's review in the Journal of Language and Social Psychology describes how LIWC was created and validated, and reports empirical findings on attentional focus, emotionality, social relationships, thinking styles, and individual differences.
When to use it
Use LIWC when you want a fast, transparent, replicable measure of the psychological, emotional, or stylistic properties of text across many documents — for example, comparing the emotional tone of campaigns, detecting cognitive engagement in deliberation, or tracking sentiment in social media. It is ideal when you need standardized, validated categories and cross-study comparability, and when function-word style (pronouns, tense, articles) is theoretically relevant. It assumes that word frequency is a valid index of the underlying construct and that the dictionary's categories fit your domain and language. It is a poor fit for irony, context-dependent meaning, or domain-specific jargon the dictionary does not cover, and for tasks where a supervised classifier trained on labeled data would outperform a fixed lexicon. Choose between LIWC and a supervised classifier according to the research question and the amount of labeled data available. Whichever is used, validate LIWC scores against a hand-coded subsample from the target corpus before drawing substantive conclusions, and size that subsample to the precision the study requires.
Limitations and considerations
- As a bag-of-words dictionary it ignores syntax, negation, and context, so 'not happy' counts toward positive emotion.
- Coverage is bounded by the dictionary; domain-specific or novel vocabulary may go uncounted or miscategorized.
- Category validity depends on the language and register; non-English or specialized texts may need adapted dictionaries.
- Word frequency is an indirect proxy for psychological states and can be gamed or confounded by topic.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Validated, standardized categories enable direct comparison of findings across studies and disciplines.
- Extremely fast and fully replicable: the same text always yields the same scores, with no coder drift.
- Captures style and function-word signals (pronouns, tense, causal words) that content-coding usually overlooks.
- Transparent and interpretable — every score traces back to specific words, unlike opaque black-box models.
Applications
- Measuring the emotional tone and cognitive complexity of political speeches, debates, and campaign messaging.
- Exploratory indicators of stress or emotional state in social-media and interview text, requiring validation against hand-coded or ground-truth data in the target domain.
- Studying the language of health, including expressive-writing interventions and patient narratives.
- Comparing the rhetorical style of news outlets, brands, or organizations across documents.
- Providing validated linguistic features as inputs to predictive models in computational social science.
How it works
How it works
Texts are collected in machine-readable form and segmented into the units of interest, such as speeches, posts, or essays. Preparation should keep the words themselves intact, because LIWC matches words against its dictionary rather than analysing grammar or meaning.
Each word is looked up in the LIWC dictionary, where entries, including wildcarded stems, are assigned to one or more categories. These categories cover linguistic dimensions (for example pronouns, articles, and verbs), psychological processes such as affect, cognition, and social concerns, and topical concerns.
For each category c, LIWC reports p_c, the number of the text's words matching c divided by the total number of words, multiplied by 100. Expressing scores as percentages of words makes texts of different lengths comparable. Because a word may match more than one category, the p_c values are not additive and do not sum to 100, so each one should be read on its own. Words that match no category also occur, so it is useful to report the share of words matched by the dictionary at all (coverage) alongside the category scores.
Formula
p_c = \frac{\#\text{words matching category } c}{\#\text{total words}}\times 100The category scores are treated as quantitative variables and analysed with standard statistical methods, for example by comparing groups, correlating scores with outcomes, or tracking change over time. Short texts yield unstable percentages, so a minimum word count should be set and reported, and results should be checked for sensitivity to it. Category distributions are often skewed and contain many zeros, so non-parametric tests, transformations, or models suited to bounded or zero-inflated data may be needed. Because many categories are typically tested, a correction for multiple comparisons is required. The same attention to reliability and validity that applies to any content-analytic measure applies here, including checking how well the categories match the construct in the target domain.
Common pitfalls
- Interpreting a category score as a direct measure of a psychological state without validating the link in the target domain.
- Applying the English dictionary to other languages or to heavy slang/emoji text without an appropriate adapted dictionary.
- Ignoring negation and intensifiers, leading to systematic misclassification of affect.
- Comparing scores across LIWC versions (e.g., LIWC2015 vs LIWC-22) whose dictionaries and category definitions differ.
Frequently asked questions
Does LIWC understand context or just count words?
LIWC is fundamentally a word-count (bag-of-words) tool: it matches individual words to dictionary categories and reports percentages, without parsing grammar, negation, or context. This makes it fast, transparent, and replicable but means it can misread phrases like 'not happy.' For context-sensitive tasks, researchers either validate LIWC against hand-coded data, restrict claims to aggregate patterns where noise averages out, or supplement it with context-aware NLP models.
How does LIWC differ from sentiment analysis?
Sentiment analysis specifically estimates the valence (positive/negative) of text and may use lexicons or machine-learning models. LIWC is broader: positive- and negative-emotion categories give a sentiment-like signal, but LIWC also quantifies dozens of non-affective dimensions — pronouns, cognitive processes, social references, time orientation. LIWC's affect categories are one widely used lexicon approach to sentiment, but its main value is the breadth of validated psychological and linguistic categories.
Can I use LIWC for languages other than English?
Yes, but only with a dictionary built and validated for that language. Applying the English dictionary to another language produces invalid scores. Check whether a validated dictionary exists for your language, use it, and report its source and any validation you carried out.
Related methods
Sources
Tausczik, Y. R., & Pennebaker, J. W. (2010). The psychological meaning of words: LIWC and computerized text analysis methods. Journal of Language and Social Psychology, 29(1), 24–54.
Open DOI referenceKrippendorff, K. (2004). Content Analysis: An Introduction to Its Methodology (2nd ed.). Thousand Oaks, CA: Sage.
ISBN: 9780761915454