Corpus Linguistics

Machine Learning
Introduced by
John Sinclair
Year
1980
Type
Empirical process pipeline
Family
Empirical Linguistics

What does it do?

Corpus linguistics is the study of language through large collections of transcribed speech or written text (corpora), analysed with computer support.

McEnery and Hardie describe it as the computer-aided analysis of very extensive collections of language data. Its methods use frequency counts, concordances and association measures to examine patterns of actual language use, and the approach serves theoretical linguistics, language teaching and natural language processing.

The intuition behind the method

A linguistic corpus is a structured collection of real speech and writing, so the analyst studies what people actually produced rather than sentences they invent. The software can retrieve every instance of a word or phrase, show it in its surrounding context, and count how often it occurs. Comparing these counts across subcorpora, such as newspaper versus fiction or spoken versus written material, shows where a pattern is typical and where it is not. The results are only as good as the corpus and the annotation behind them.

History

McEnery and Hardie's textbook describes how the discipline developed alongside the computer-aided analysis of large collections of transcribed and written language, and links that development to current topics in mainstream linguistics. John Sinclair is associated with the modern approach, notably through his book Corpus, Concordance, Collocation (1991).

When to use it

Choose corpus linguistics when the question concerns how language is actually used, for example how often a construction occurs, which words it co-occurs with, or how usage differs between registers or varieties. It suits studies that need to test a theoretical claim against naturally occurring data, and tasks that need a language resource, such as a frequency-graded word list for teaching or training data for NLP. Do not rely on it alone when the question is about whether a sentence is grammatical or acceptable to speakers, since absence or rarity in a corpus is not a judgement of acceptability. It is also a poor fit when the phenomenon is too rare for any available corpus to contain enough instances, or when the relevant speech has not been recorded and transcribed.

Limitations and considerations

  • A corpus is a finite sample. Low-frequency phenomena may be absent or under-represented, and their absence does not show that a form is impossible.
  • Annotation such as part-of-speech tagging or parsing introduces errors that carry into every later count. Manual correction is costly, so automatically annotated corpora usually contain some error.
  • Findings reflect corpus composition. A corpus dominated by written texts, for example, says little about spoken usage, and selection biases carry through to the results.
  • Frequency reflects both grammar and performance factors such as discourse conventions and genre, so high or low frequency does not directly reveal speakers' competence.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Grounds claims in attested language use, so conclusions do not depend only on the analyst's introspection or on invented example sentences.
  • Allows frequency, collocation and variation to be measured across large text collections, with the same procedure applied to each subcorpus.
  • Makes cross-register and cross-variety comparison possible when the corpora are built or selected to comparable standards.
  • Can reveal patterns such as semantic preferences or register markers that were not anticipated before the data were examined.

Applications

  • Studying frequency and usage patterns of English phrasal verbs (e.g., 'put up with', 'run into') to develop teaching materials graded by frequency.
  • Analyzing collocation patterns to improve machine translation by ensuring output respects natural word co-occurrence preferences.
  • Investigating language change over time by comparing word frequencies and collocations across diachronic corpora (e.g., Google Books Ngram Viewer).
  • Documenting endangered languages by building small, specialized corpora and analyzing them to create dictionaries and grammars.
  • Studying register variation in English (academic, news, conversation) to understand how vocabulary and syntax differ across social contexts.

How it works

How it works

1

Compile a collection of texts or transcripts in digital form, selected so that it covers the genres, registers or speaker groups the research question concerns. The composition decisions made here set the limits of what the later analysis can show.

2

Tokenise the text into words and annotate it, typically with part-of-speech tags and, where needed, syntactic or semantic labels. Automatic annotation introduces errors, so the accuracy of tags should be checked on samples before they are relied on. Tokenisation rules (for example, how clitics, hyphenated forms and punctuation are split) and the choice of tagger change the counts, so they should be recorded together with the corpus version.

3

Use concordancing software to extract every occurrence of the target word or phrase with its context, and to compute frequency lists and collocates within a chosen window. Sorting and filtering the concordance lines is how the analyst inspects the patterns behind the counts.

4

Apply statistical tests (for example, chi-square) and association measures such as Mutual Information, Log-Likelihood Ratio, T-score or Delta-P to measure how strongly words or structures are associated or how their frequencies differ between subcorpora. Each measure weights frequency differently, so raw counts should be inspected alongside the chosen metric. Standard significance tests assume independent observations, but corpus tokens cluster within texts and speakers, so significance can be overstated. Check how evenly a pattern is dispersed across texts, or analyse at the text level, before claiming a difference.

5

Relate the observed frequency and association patterns to claims about language structure, usage, or variation. Corpus frequency is evidence about use, so conclusions about grammaticality or competence need additional evidence from other methods.

Common pitfalls

  • Treating corpus frequency as grammatical acceptability. A pattern that is absent or rare may be pragmatically constrained or tied to a particular discourse context rather than ungrammatical.
  • Using automatically tagged data as if it were a gold standard. Tagging errors can change the counts that drive the conclusion, so the annotation should be checked on the subset that matters for the analysis.
  • Generalising from one corpus to the language as a whole. The British National Corpus, for example, is one particular composition, and its findings should not be assumed to hold for spoken usage in other regions without separate evidence.
  • Reading co-occurrence as a linguistic dependency without checking for topical association. Two words may appear together because they share a subject, as with 'snow' and 'winter', rather than because of a semantic or grammatical relation.
  • Reporting findings without the corpus version, tokenisation rules, tagger and metric settings. Counts and rankings can change with these choices and with corpus size, so an analysis cannot be reproduced or compared without them.

Frequently asked questions

How large does a corpus need to be?

It depends on the frequency of the phenomenon you study. Common words and basic sentence types can be examined in a fairly small corpus, while rare constructions or fine-grained variation need much larger collections. Before running statistics, check that the target phenomenon occurs often enough for the counts to be meaningful. Small specialised corpora are still useful, for example in documenting endangered languages.

What is a concordance?

A concordance is a list of all occurrences of a target word or phrase, typically shown in context (usually one or two lines on either side). The target is centered for easy scanning. Concordances reveal collocations (words that regularly appear near the target), register variation, and syntactic patterns. Modern corpus software generates concordances with frequency counts and sorting options.

How do I measure collocation strength?

Several metrics quantify collocation strength. Mutual Information (MI) measures deviation from random co-occurrence, but it tends to favour low-frequency pairs, so rare combinations can rank high by chance. Log-Likelihood Ratio (LLR) is a statistical test of whether co-occurrence departs from independence. T-score tends to favour pairs that occur often. Delta-P is asymmetric, measuring how much the presence of one word changes the probability of the other. No single metric is universally best, and different metrics suit different research questions. Inspect raw frequencies alongside metrics to avoid artifacts where low-frequency collocations show high association by chance.

Can corpus evidence prove a sentence is ungrammatical?

No. Absence from a corpus shows it is infrequent or absent in that particular collection, not that it is impossible in the language. Sentences may be rare due to pragmatic or discourse constraints, not grammaticality. Combine corpus evidence with acceptability judgments, experimental data, and theoretical reasoning to draw conclusions about grammaticality.

Related methods

Sources

  1. Sinclair, J. M. (1991). Corpus, Concordance, Collocation. Oxford: Oxford University Press.

    Open publication reference
  2. McEnery, T., & Hardie, A. (2012). Corpus Linguistics: Method, Theory and Practice. Cambridge: Cambridge University Press.

    Open DOI reference
  3. Biber, D., Conrad, S., & Reppen, R. (2006). Corpus Linguistics: Investigating Language Structure and Use. Cambridge: Cambridge University Press.

    Open publication reference