Edit online

Adding Custom Term Lists for the Spell Checker

You can create personalized term lists that are used to store specialized terms (learned words) or control forbidden words. They can then be added to one of the directories that store the spell check dictionaries and the spell checker will merge them with all the dictionaries and other term lists for a particular language.

Create and Add Personalized Term Lists

To create and add a personalized terms list, follow these steps:
  1. Create a term list file (with a .tdi file extension). The name of the file must begin with a two letter prefix that indicates the language it should be attached to, followed by an underscore or hyphen, and then a descriptive name (for example, en_US_myterms.tdi for term list in the US version of the English language or en_myterms.tdi for a less specific English term list). For a list of language codes, see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.
  2. In the term list file (.tdi extension), add the terms you want to be included in your custom dictionary. If you need to specify forbidden terms, those words simply need to be preceded by an asterisk. Add one word per row, as in the following example:
  3. Save the file (.tdi) to the options/spell folder that is located inside your Oxygen Data Directory (oxygen.data.dir/options/spell).
  4. Restart Web Author for the spell checker to start using the new terms list.
Tip: There is also a plugin available on GitHub that explains how you can define learned and forbidden words in an XML file and the plugin uses that file to add the learned/forbidden words to the Web Author spell check functionality. The plugin is available at: https://github.com/oxygenxml/web-author-learn-words-plugin.