Adding Custom Dictionaries for the Spell Checker
Oxygen XML Web Author Component includes an automatic spell checking feature and you can customize the words that are detected by adding custom dictionaries.
To add a custom dictionary, follow these steps:
- Download the files needed for your custom dictionary (or create your own). You will
need
a dictionary file (
.dic
file extension) and an affix file (.aff
file extension). If the dictionary did not include an affix file (.aff
), you can create one and leave it empty, but it is needed for the mechanism to work properly.Tip
An example of a website that includes numerous dictionary files is: http://extensions.services.openoffice.org/dictionary. - Copy both files (
.dic
and.aff
) to thedicts
folder that is located inside your Oxygen Data Directory (oxygen.data.dir
).Important
The name of the dictionary file should begin with a two letter prefix that indicates the language it should be attached to, followed by an underscore or hyphen (for example,en_medical.dic
for a medical dictionary in the English language). For a list of language codes, see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes. - Restart the server for the spell checker to start using the new dictionary.