How to edit your Mac's dictionary: use TextEdit?
For the most part, this feature is going to look at editing the system-wide TextEdit autocorrection. This is the spell checker that is used in TextEdit, Pages, Mail and other Apple apps. It's also used by some, but not all, third-party apps.
If you want to add a word to your autocorrect library, then you use a contextual menu in any supporting app. Here's how to add a new word to your custom dictionary in TextEdit.
- Open TextEdit and create a new document (Control-N).
- Enter the word you want to add to autocorrect (but do not press the space bar).
- Hover the mouse over the bubble underneath the word and click the "x".
- Control-click on the word and choose Learn Spelling.
The word will now be added to your custom dictionary.
How to remove a word from your Mac's dictionary
The easiest way to sort out a single annoying word in the system-wide dictionary is to use this process in reverse. If for example, the dictionary was accepting the word "teh" as correct, you'd follow these steps to correct it:
- Open TextEdit.
- Open a new document (Command-N).
- Write the word "teh".
- Control-click and choose Unlearn Spelling
The word will be removed from your custom dictionary.
How to edit your Mac's dictionary
If you want to view the list of words in the Mac's dictionary, and edit them en-masse you can do so by diving into a file called "LocalDictionary" in your Library folder. Follow these steps:
- Click on Finder and choose Go > Go To Folder.
- Enter "~/Library/Spelling" and click Go.
- Double-click the file marked LocalDictionary.
The file will open in TextEdit, and each line in the text file contains a word added to the custom dictionary. You can add or delete words from here and they will be added, or removed, from your custom dictionary.
Note that this doesn't work for all text editors. Notable exceptions include Google Docs and Microsoft Word. Here is how to adjust the custom dictionary for those two apps:
- Microsoft Word: Choose Word > Preferences > Spelling and Grammar > Dictionaries > Edit > OK. Delete the words that you no longer want to exist in the
- Google Docs: Choose Tool > Personal Dictionary. Enter new words in the "Add a new word" box and click Add. Click the "X" next to unwanted words to remove them.
Sign up for CIO Asia eNewsletters.