Imprudence:Spell Checking

Description
Spell Checking is a feature in Imprudence which helps you detect and fix spelling mistakes while you type. Spell Checking is available in Imprudence 1.4.0 beta 1 and later, and in Imprudence Experimental 2010.09.04 and later.

Activation
To enable the Spell Checking feature you need to go to the Edit menu and select Preferences (or press ). The settings for Spell checking have been moved from the Advanced-tab to the Chat-tab in Imprudence 1.4.0 Beta 1.



Click on the Chat-tab and select "Enable Spell Checking". And click on the Apply-button to make the change permanent.

Text correction
Misspelled words will be marked with a red line.



By right clicking on the red underlined word a context menu will appear with a selection of words. You can select the correct word from that list. If the correct spelling is not in the given list and you know for sure that the spelling is correct, you can also use "Add Word" to add it to the list. This way the next time that word will not be marked as spelled wrongly.

Loading more dictionaries
As standard a English dictionary is shipped with Imprudence. But you can load multiple dictionaries from the Imprudence website. You do this by clicking on the "Download more..."-button in the Spell Checking preferences on the Chat-tab.

A new window will open where you can select one dictionary at a time. Once you selected the dictionary you need to download it. This will take some time depending on your connection speed.



In the spell checking preferences you install the custom dictionary to your system. [NEEDS MORE INFO] Once you installed the dictionary you can select it as "Current language". The Spell checking feature will then use that dictionary to check your typed text.

Advanced: Choosing another dictionary server
By default, Imprudence will download dictionaries from the Imprudence website. You can change that by setting the DicDownloadBaseURL debug setting to the URL of a web directory containing the available dictionaries. The default value of DicDownloadBaseURL is http://app.kokuaviewer.org/dics/.

The web directory must contain a dic_list.xml file, as well as one or more .dic files and corresponding .aff files.

dic_list.xml should be an LLSD XML file listing the names of all the available dictionaries in the directory. Example:

data af_za am      ar       az       ve_za vi_vi xh_za zu_za isComplete true

Each entry (af_za, am, ar, etc.) corresponds to a pair of files in the directory: af_za.dic and af_za.aff; am.dic and am.aff; ar.dic and ar.aff; etc. These files are dictionary and affix files used by Hunspell to check for spelling errors.

Advanced: Installing other dictionaries
It is possible to install other Hunspell-compatible dictionaries not offered by Imprudence. Just place the .dic and .aff (optional) files in one of the following directories, depending on what operating system you are using (replace with your computer login name):


 * Linux: /home/ /.imprudence/user_settings/dictionaries/
 * Mac: /User/ /Library/Application Support/Imprudence/user_settings/dictionaries/
 * Windows XP: C:\Documents and Settings\ \Application Data\Imprudence\user_settings\dictionaries\
 * Windows Vista & Windows 7: C:\Users\ \AppData\Roaming\Imprudence\user_settings\dictionaries\

Then, start Imprudence and open the Spell Checking preferences. Your dictionary will be listed in the "Downloaded languages (dictionaries)" list. Select your dictionary from that list, then click "Install" to activate it.