I accidentally added an incorrectly spelt word to the macOS spelling dictionary via an Add to Dictionary menu item. Surprisingly, there was no inverse “remove from dictionary” option to undo this! Additionally, I realized there is no System Preferences page to to edit the custom dictionary. There are two ways to fix this with macOS (but none for iOS).
Solution 1: Unlearn Spelling in TextEdit
If you can still remember the misspelt word:
- Copy or type the word into TextEdit,
- Right-click and select Unlearn Spelling,
- Quit - no need to save.
Solution 2: Removing words by editing LocalDictionary
Simply edit the plain text file that stores all custom words. I do this via the Terminal:
- Edit the
~/Library/Spelling/LocalDictionaryusing your text editor of choice,
- Delete incorrect lines,
~$ vi ~/Library/Spelling/LocalDictionary