I dumped Apple’s word list helgesver.re · 122 points · 65 comments · HN thread T...

@best

I dumped Apple’s word list helgesver.re · 122 points · 65 comments · HN thread

TL;DR The author dumps the macOS system dictionary to show how Apple flags words as vulgar, offensive or sensitive, plus topic tags like sex, drugs, politics and religion. The flags come from private Lexicon.framework functions with no public API, and the author's own VulgarWordUsage.db, which records swear words for autocorrect learning, stayed empty. Notable results include Trump being in the English sensitive tier while Biden, Obama and Putin are clean.

  • ~/Library/Keyboard/VulgarWordUsage.db stores per-app, per-recipient counts of swear words so autocorrect stops changing them (the 'ducking' problem); the author's copy had zero rows and typing in TextEdit did not populate it.
  • Apple's system dictionary tags words with one of three tiers (vulgar, offensive, sensitive) and up to eleven topic bits; en_US has 1,050 vulgar, 663 offensive and 2,558 sensitive entries.
  • The flags are read with private Lexicon.framework C functions; the author provides C and Swift dumpers, inferred bit meanings, and a gist with 15 locales.
  • Odd results include Oedipus as vulgar, Tom and Mick as offensive, pee and poo as sensitive, and Trump as sensitive with the politics topic while Biden, Obama and Putin are clean.
  • A separate blocklist.bundle holds about 2,544 words in 930 classes plus phrase-level sequence blocking, which the author has not fully decoded.
  • Caveats: meanings are inferred, the data comes from one macOS 15.6 install, and the private API could change at any time.

Discussion The thread is mostly skeptical and amused. Commenters compare their own machines (one reports a 26.2 dictionary with changed entries, others have no database at all because autocorrect is off), debate why 'trump' and 'conservatards' are flagged, and joke about the prose being AI-written. A side argument covers the UK adult-website block on iOS, which turns out to be a classifier, not a list. Several complain about iOS autocorrect generally, and the mood is irritated but curious rather than hostile.

  • Flagging words is adaptive, not censorship; it protects intentional use (some): Commenters explain that the database exists so autocorrect stops overriding words the user deliberately types, so the flags shape suggestions rather than block input.
  • The article's writing style looks AI-generated and grating (many): Several commenters say the prose reads like an LLM wrote it, with the author's 'one exception' phrasing and tidy structure cited as signs, and they find it tiring.
  • Trump's sensitive flag is odd or politically motivated (some): Some question why a sitting president's name gets the same tier as slurs, and suggest the flag is there to avoid a repeat of the dictation incident; others say it's obviously meant to avoid offending Trump.
  • The conservatard and libtard asymmetry is suspicious (a few): Commenters note that 'conservatards' is flagged while 'libtard' is also present on their own Macs, so the asymmetry is largely a misreading, though some still joke about bias.
  • Apple's autocorrect and keyboard quality is the real problem (some): Users complain that iOS autocorrect overrides intended words and that the keyboard has got worse, using the vulgar list as a sidetrack.
  • Dissent: the database is empty or missing on many machines (a few): Some report no VulgarWordUsage.db or Keyboards directory at all on Tahoe, and one says the file is absent when autocorrect is disabled, so the author's empty result is common rather than unique.

Links from the comments

#Apple #macOS #autocorrect #profanity #NLP