Help > Authoring > Fundamental Tasks > Checking Spelling > Working with Exception Dictionaries
  
Working with Exception Dictionaries
Arbortext Editor provides customized dictionaries and word files for the spelling checker if you purchased the dictionary package and foreign language dictionaries.
Flagging Words to Accept
The spelling checker frequently flags special terminology or abbreviations, technical terms, or proper nouns as misspelled in your documents. You can add these terms to the spelling checker list of approved words, which is an XML file called aptspell.xml in your application data directory. Note that when you add a word to the aptspell.xml, Arbortext Editor adds the currently language being used for spell checking to the entry for that word in the file. If you want the word to be accepted in all languages, you must edit the aptspell.xml directly and remove the lang attribute from the entry for that word.
To add accepted words to your aptspell.xml file:
1. Choose Tools > Spelling.
2. When the spelling checker flags the suspect word, in the Spelling dialog box, click Add.
To add accepted words from the Arbortext Editor command line:
1. If the Arbortext Editor command line isn't displayed, select the Command Line option in the Window tab of the Preferences dialog box to enable the command line.
2. From the Arbortext Editor Edit window command line, enter the following command:
spell -accept word
Substituting for word the term to add to the aptspell.xml file
The aptspell.xml file becomes your personal list of accepted terms. By default, Arbortext Editor searches for the aptspell.xml file in your application data directory. The application data directory is the directory where your operating system stores user-specific data. This is usually C:\Document and Settings\user_name\Application Data\PTC\Arbortext\Editor.
Flagging Words to Reject
If you wish to flag certain words for the spell checker to reject, such as inappropriate words created by typos, you can also add those words to the aptspell.xml file. To add a word to reject to the file, from the Edit window command line, enter: spell -rejectword and press ENTER. The word is added directly to the aptspell.xml file.
Deleting Words from an Exception Dictionary
You can also delete a word from your aptspell.xml file. At the Edit window command line, enter: spell -deleteword and press ENTER This removes all instances of the word in the file.
For more information on the spell command options, type help spell on the Arbortext Editor command line.
Specifying an Alternate Location for aptspell.xml
You can specify an alternate location for the aptspell.xml file by setting the APTSPELL environment variable to its location.
For more information, see APTSPELL