← Sat, Sep 19 digest

English: A vs. An

read article ↗ hn thread ↗

summary

Choosing between 'a' and 'an' in English depends on the spoken sound of the following word rather than its first letter. While simple vowel-checking is insufficient for words like 'unicorn' or 'hour', the number of exceptions to the letter-based rule is surprisingly small. Only a tiny fraction of common words require specialized handling to get the article correct. This makes the problem manageable for developers implementing procedural text generation.

key points

  1. The distinction between 'a' and 'an' is based on phonetics rather than orthography. Words starting with a consonant sound take 'a', while those starting with a vowel sound take 'an', regardless of the first written letter.
  2. Data analysis of over 32,000 words shows that only 129 words deviate from the basic first-letter vowel rule. This reveals that a simple list of exceptions is a computationally efficient way to handle the most common edge cases.
  3. The author suggests that for one-off data exploration tasks, LLMs are more efficient than manually writing custom parsing and visualization code. This realization comes from the time spent re-learning tools like d3.js for a non-permanent project.

who should read it

Software developers and game designers who generate text procedurally. Those interested in linguistics and data visualization will also find the analysis useful.

discussion positive

consensus

Commenters agree that English article usage is complex and often lacks a direct one-to-one mapping with other languages like Spanish, French, or German. They observe that English lacks an indefinite plural article, making 'they are doctors' grammatically consistent within its own rules. Much of the discussion centers on the nuances between definite and indefinite articles, noting that 'the' can refer to specific instances, shared knowledge, or entire categories.

top insight

The distinction between 'some' as a quantifier and an existential determiner is a key insight. According to Huddleston & Pullum, 'some' is used to highlight the existence of a set drawn from a larger group, which explains why 'there are some vendors' is natural while 'they are some vendors' sounds awkward given that 'they' already implies a specific known group.

Generated by an LLM from the article and thread. Check the sources before relying on it.