Removing words from the main dictionary

You are here: Home > Support > WSpell

Question: How can I delete certain words from the main dictionary? I don't want these words to be offered as suggestions, and I want them to be treated as misspellings.

Answer: You can effectively eliminate specific words by adding them to a user dictionary with the wSpellExcludeAction. Any words marked with the wSpellExcludeAction will not be offered as suggestions, and they will be reported as misspellings during spell checking. The user dictionary containing the excluded words must be opened before other dictionaries containing the words. One way to achieve this is to set the dictionary containing the excluded words as the first dictionary in the MainDictionaryFiles list. For example, if you have added the excluded words to a dictionary called excluded.tlx, you might set MainDictionaryFiles to

excluded.tlx,ssceam.tlx,ssceam2.clx

You can use the CreateUserDictionary method to create the dictionary, and the AddToUserDictionary method to add words to it with the wSpellExcludeAction.

Wintertree Software Inc.

Site index:


[Home] [Products] [Catalog] [Ordering] [Search] [Contact Us]


Copyright © 2015 Wintertree Software Inc.