It's a problem on all big-endian platforms (SPARC, PPC, MIPS) with
Linux, the BSD derivatives, Solaris, IRIX, etc. There was work started
on our ispell library (in our tree) to have it automatically convert
endianness on loading the hash. This work isn't finished, but you
should be able to use your own ispell hash file if you have one around.
> Can you document/expose how the hash tables are built, possibly allowing
> them to be updated on a per-platform basis? Or should I/we investigate
> how to make the hash support code endian-safe? [Not an appealing option]
The hash files are the same files ispell would install if you compiled
and installed it on your computer. If it's installed, you've probably
already got some dictionaries (/usr/share/ispell, /usr/lib/ispell are good
places to check). You can simply change your ~/.AbiSuite/AbiWord.Profile
to point to any dictionary you may have on your system. This is one of
those features that will soon be a dialog box entry. :)
Just clone the "_builtin_ section and rename it anything you want. Make
sure that cloned section is referenced by name at the top and change
any keys you want. SpellCheckWordList is probably the one to get a
new value.
-- Shaw Terwilliger