5

Apparently I mistakenly added a bad word to the custom spelling dictionary.

  1. How can I remove the bad word?
  2. Where is this dictionary stored? I'd hope for it to be in a text file I could edit directly.
Alan
  • 13,686
  • 19
  • 38

1 Answers1

4

As shown here, you can edit your dictionaries in advanced options menu:

Edit -> Preferences... -> Advanced -> Open Option Inspector -> Formatting Options -> Text Content Options -> Spelling Dictionaries

Or you can set SpellingDictionaries option programmatically with SetOptions[] command, as shown in this answer.

Something like this should work:

file = Import["words.txt","List"]
SetOptions[$FrontEndSession, SpellingDictionaries -> {"CorrectWords" -> file}]

P.S. Replace \$FrontEndSession with \$FrontEnd for a permanent global setting.

Stepan
  • 155
  • 7
  • While the link you offer does not discuss removing words, the menu path you suggest does work. The interface is slow and awkward, so I would like programmatic access. I suppose I should be able to deduce this from the menu path, but I did not. Can you add this to your answer? – Alan Oct 12 '16 at 15:31