English: A vs. An(redblobgames.com)
350 points by azhenley 24 days ago | 480 comments
tl;dr: Choosing between "a" and "an" depends on the spoken sound, not the written letter (e.g., "a unicorn," "an hour"), making a naive first-letter check insufficient. The author built a lookup using cmudict pronunciations and visualizations, finding that only 129 of 32,455 words required exceptions to a simple letter-based rule.
HN Discussion:
  • •Non-native speakers find other English article issues (a/the, the/nothing) far harder than a/an
  • ↑The a/an rule is part of a broader linguistic pattern of avoiding consecutive vowel sounds across languages
  • •Curiosity about specific implementation choices in the lookup rules (e.g., the 'ub' exception)
  • ↑Pedantic correction that 'unicorn' starts with a semivowel, reinforcing the sound-based rule
  • ↑Appreciation for the article addressing a long-standing curiosity