Collocation Analysis — Word Association

Machine Learning
Introduced by
Church & Hanks
Year
1990
Type
Statistical text-mining technique

What does it do?

Collocation analysis is a statistical text-mining technique that identifies word pairs or expressions occurring together more often than chance would predict, using association measures.

Church and Hanks (1990) introduced word-association norms and mutual information for lexicography, which underpin the approach; it is now used for terminology extraction and language analysis, surfacing the multi-word units that carry meaning in a corpus.

The intuition behind the method

Some words simply belong together — 'strong tea' sounds natural while 'powerful tea' does not, even though the meaning is similar. Collocation analysis looks past raw frequency and asks which pairs of words appear together far more often than chance would predict. By scoring co-occurrence statistically, it pulls out the meaningful phrases and fixed expressions hidden inside a body of text instead of just listing common words.

History

Collocation analysis as a statistical technique was established by Church and Hanks (1990), who introduced word-association norms and mutual information for lexicography, showing how co-occurrence statistics could surface meaningful word pairs. The approach was consolidated within the broader field of statistical natural-language processing by Manning and Schütze (1999).

When to use it

Choose collocation analysis when you have a text corpus and want to find recurring multi-word units, such as candidate terms for a glossary or characteristic word pairings in a body of writing, and when you are exploring rather than testing a fixed hypothesis. It is a poor fit when the corpus is very small, because association scores are unstable when pairs rarely co-occur. Avoid it when the expressions of interest depend on function words, which stop-word removal discards, or when you need grammatical relations between words; syntactic methods such as dependency parsing answer those questions more directly. The output is a ranked candidate list that still requires human judgement.

Limitations and considerations

  • Association scores depend on co-occurrence counts, so sparse corpora give unstable rankings.
  • Stop-word removal keeps frequent function words from dominating, but it also removes function words from the collocations the method can detect.
  • PMI tends to rank rare pairs highly when they co-occur only a few times; this is a property of the measure and not evidence of a real association.

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

Strengths

  • Recovers recurring multi-word units, such as 'strong tea', that a plain frequency count of single words does not show.
  • An association measure such as PMI compares observed co-occurrence with the count expected under independence, so a frequent pair is not promoted merely for being common.
  • The procedure is simple to run on a tokenised corpus, and the ranked output is easy to inspect by hand.

Applications

  • Terminology extraction — identifying domain-specific multi-word terms in a corpus.
  • Lexicography and dictionary building, surfacing characteristic word associations.
  • Linguistic and discourse analysis of how words combine in a body of text.
  • Preparing candidate phrases for downstream text-mining and information-extraction tasks.

How it works

How it works

1

The corpus is tokenised and cleaned. Stop-word removal is an optional choice: when it is applied, it keeps high-frequency function words from crowding out associations between content words, but it also alters or misses expressions built on function words, such as 'make a decision', so the results then concern mainly content-word pairs. Part-of-speech pattern filters are a common alternative when function-word expressions matter. Consistent preprocessing keeps the co-occurrence counts comparable across the corpus.

2

Candidate word pairs (typically bigrams) are formed and their co-occurrence counts are gathered across the corpus, alongside the individual frequencies of each word. These counts are the raw material every association measure is built from.

3

Each candidate pair is scored with an association measure such as pointwise mutual information (PMI), the log ratio of the observed joint probability of the pair to the product of the probabilities of its two words: PMI(x,y) = log2(P(x,y) / (P(x)P(y))). It compares the observed co-occurrence with the count expected if the two words were independent, so a high score flags an association beyond chance adjacency. Because PMI depends on sparse counts, it over-rewards rare pairs; alternatives that treat sparse counts differently, such as the t-score and the log-likelihood ratio, are commonly used in its place or alongside it, and whichever measure is chosen should be reported with the results.

4

Candidates are ranked by association score and the strongest pairs are kept, for example the top-N by PMI. Because the ranking inherits any inflation in the scores, a minimum co-occurrence filter is normally applied before ranking, and the top entries are then read in context.

Common pitfalls

  • Skipping stop-word removal lets frequent function words dominate the ranking and bury content-word associations.
  • Running the analysis on a small corpus may produce association scores that change substantially when documents are added or dropped.
  • Ranking by raw PMI without a minimum co-occurrence filter promotes rare pairs whose scores are inflated by sparse counts.
  • Treating a frequent pair as a collocation without an association test confuses commonness with association.

Frequently asked questions

What exactly is a collocation?

A collocation is a pair or sequence of words that co-occurs more often than chance would predict, such as 'strong tea'. Collocation analysis finds these by scoring co-occurrence statistically rather than reading them off a frequency list. Expressions built on function words, such as 'make a decision', are a special case, because the stop-word step described above does not preserve them.

How is collocation analysis different from frequency analysis?

Frequency analysis counts how often words or n-grams appear. Collocation analysis goes further: it asks whether two words appear together more than expected by chance, using an association measure, so it surfaces meaningful pairings rather than merely common ones.

What is PMI and why is it used?

Pointwise mutual information (PMI) compares how often two words occur together against how often they would be expected to co-occur independently. A high PMI flags a strong association. Because PMI can over-reward rare pairs, a minimum co-occurrence count is usually applied before ranking.

How much text do I need?

A corpus of roughly 50 documents is a rough starting point, not a validated minimum. The more reliable check is stability: whether the top-ranked pairs stay largely the same when the corpus is split or when rare pairs are filtered out. With too little text the scores fluctuate and the extracted collocations become unreliable.

Related methods

Sources

  1. Church, K.W. & Hanks, P. (1990). Word Association Norms, Mutual Information, and Lexicography. Computational Linguistics, 16(1), 22-29.

    Open publication reference
  2. Manning, C.D. & Schütze, H. (1999). Foundations of Statistical Natural Language Processing. MIT Press.

    ISBN: 9780262133609