Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Beta 4/Next - Dictionary Question

Quote Reply
Beta 4/Next - Dictionary Question
Hi,

If there was an easy way in the next release where the admin could get in and edit the dictionary it would be good! :)


cheers
r.

Quote Reply
Re: Beta 4/Next - Dictionary Question In reply to
Hi Regan,

This is included (but not documented). If you go to:

data/admin/SpellCheck

you will find a build_dict.pl script. You type:

perl build_dict.pl /path/to/dictionary_file /path/to/auto_correct_file

We've bundled a sample auto correct file as it is rather uncommon, but you can usually find a dictionary file on most unix systems in /usr/share/dict/words. All it is a text file with one word per line.

A limitation is that the SpellChecker uses Soundex to find words that sound the same. This algorithim only works on the english language. We are looking for alternatives for other languages.

Cheers,

Alex

--
Gossamer Threads Inc.