2

Is there a way to whitelist words in the spelling dictionary so that they will not be flagged as mispellings?

Can this be done for individual notebooks, all notebooks or both?

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
Tyler Durden
  • 4,090
  • 14
  • 43
  • http://reference.wolfram.com/language/howto/SpellCheckANotebook.html – Alan Feb 04 '17 at 21:04
  • @Alan I saw that. It does not appear to explain how to white list words. – Tyler Durden Feb 04 '17 at 21:36
  • @TylerDurden "If you use a word that is not part of the standard dictionary that the Wolfram System uses, you can click Add Word and that word will no longer be flagged as misspelled." You can also do this as you type: misspelled words will be underlined in red, and you can right-click on them and add them. – Alan Feb 05 '17 at 05:07
  • Thanks. (for once my question actually IS a duplicate) – Tyler Durden Feb 05 '17 at 15:14

2 Answers2

3

You can monkey with the spelling correction settings in the Options Inspector. You can make changes that affect the either the current notebook (Selected Notebook) or for all notebooks (Global Preferences). Click on the toolbox icon (red arrow below). For global changes does to take effect, Mathematica must be restarted. For notebook changes to taken effect, the notebook must be reloaded.

windows

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
2

The second part of the duplicate question describes the way to add custom words to the dictionary:

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

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

Tyler Durden
  • 4,090
  • 14
  • 43