Apple's Internal Vulgar Word Database Exposed
A user shared Apple's internal database tracking profanity usage, revealing how the system categorizes sensitive and offensive terms across different languages.
A user named Nick posted a dump of Apple's internal database located at ~/Library/Keyboard/VulgarWordUsage.db. The file tracks profanity usage per app and recipient with specific granularity. Nick's specific database file contained zero rows and was last written in April 2024. He attempted to populate the database by typing profanity in TextEdit but observed no changes or log lines. Craig Federighi announced the iOS 17 autocorrect rewrite at WWDC in June 2023, stating the keyboard would learn vulgar words.
The Lexicon.framework contains private C API functions used to access dictionary entry flags for vulgarity ratings. A script analyzing the English US dictionary found 199,019 total entries, of which 4,271 have a vulgarity tier. The system categorizes words into three tiers: vulgar, offensive, and sensitive. Donald Trump is flagged as a sensitive word in the English US dictionary with a politics topic tag. The German dictionary flags Trump as clean while placing Hitler in the offensive tier. The Swedish dictionary flags Putin as a sensitive word.
In February 2025, iPhone dictation briefly displayed "Trump" when users said "racist," which Apple fixed within a day citing a phonetic overlap. The user speculates that the sensitive flag for Trump prevents it from appearing in unprompted keyboard suggestions to avoid similar incidents. The sensitive tier contains words like Al-Qaeda, Auschwitz, Hamas, Hezbollah, Hitler, and various Nazi-related terms. The word "fuck" is tagged as vulgar in the English US dictionary. Arabic and Hebrew dictionaries return hundreds of thousands of "sensitive" entries, suggesting they reuse flags differently. The user is Norwegian and noted that every political party in the Norwegian dictionary gets the politics topic but none get a vulgarity tier.
Sources
Every sentence of this story was checked against facts quoted from these articles. How we make the news
Spotted an error? Tell us
