Notes

Homonymy

English lets "bank" mean the edge of a river and a place that keeps your money. Nothing connects the two; they are separate words that happen to be spelled and pronounced alike. Homonymy is that coincidence, and it is one reason text is harder to compute over than it looks.

Homonymy and its neighbours
The distinction worth holding onto is against polysemy, where a single word carries several related senses — the "paper" you write on and the "paper" you publish are one word stretched. Homonyms are unrelated words, and lexical resources such as WordNet list them as separate entries rather than as senses of one. Two narrower cases sit underneath:

  • Homographs share spelling — "lead" the metal and "lead" the verb, which sound different.
  • Homophones share sound — "their" and "there", which are spelled differently.

What it breaks
A string is not a meaning, so any method that treats the two as equivalent merges senses that should stay apart. Counting methods collapse every sense into one feature, letting a document about flooding and a document about mortgages share evidence they have no business sharing. Static embeddings give "bank" a single vector that averages its senses into something close to neither. A search for river defences returns financial pages, and a translator has to commit — French offers "banque" or "rive" with no way to hedge.

Why it matters
Resolving it is a task of its own, word sense disambiguation, and it is the cleanest motivation for contextual embeddings: BERT gives the "bank" in each sentence a different vector, because the surrounding words decide which word it is. A system that cannot do that has a ceiling set by how ambiguous its vocabulary happens to be.

Homonymy is the coincidence of two unrelated words sharing a written or spoken form — "bank" as a riverside and "bank" as a financial institution — as distinct from polysemy, where one word carries related senses. It matters because a surface form is not a meaning: count-based features and static embeddings merge the senses into a single column or vector, degrading retrieval, classification and translation until context is used to tell them apart.

A child by a river learns that a "bank" is the muddy edge of the water. On the high street, the same child learns that a "bank" is where money is kept. One word, two meanings with nothing in common — and people barely notice, because the rest of the sentence makes it obvious which is meant.

Homonymy is the name for that coincidence, and it is a real headache for software. A computer sees the letters, not the meaning, so without the words around it there is no way to tell a flooded riverbank from a failing bank. That is why language tools now read every word together with its neighbours rather than on its own.