Messenger Express additional dictionary for spell check

I would like to configure an extra/new dictionary in messenger express 6.

"./configutil -o local.supportedlanguages" allows me to add additional language support, but that doesn't provide any spell checking support, obviously.

Sun provides instructions on how to add custom dictionaries in the 5.2 release:

http://docs.sun.com/source/816-6010-10/uicst.htm

[# ./buildhash german.dico german.aff ge.hash

which I hoped would also apply for messenger express 6, but no such luck.

I have no problem making the dictionary by following the ispell instructions but when I copy the resulting hash file to the messenger lib directory and try and use the new language file messenger express webmail client gives a server error stating that that language is unavailable.

The exact error as displayed in the messenger logs is "Illegal format hash table /opt/SUNWmsgsr/lib/nl.hash - expected magic2 0x9602, got 0x0"

Has anyone either instructions on how to make a working dictionary or pointers where to find dutch spell check support for messenger express?

Thanks in Advance.

[1130 byte] By [hbruijna] at [2007-11-27 5:48:44]
# 1

here may be a clue:

http://lists.debian.org/debian-devel/1995/11/msg00050.html

it says: perhaps ispell is compiled to support either 7bit or 8bit, but your dictionaries don't agree - e.g. they are 7bit when ispell is 8bit or vise versa - it suggests converting any characters in the dictionary to match your ispell's bit support. or you could recompile ispell to support your dictionaries.

starman7a at 2007-7-12 15:34:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Thanks starman7,

that was indeed the problem.

I copied the pre-installed dictionary files and the one I had generated myself with the ispell buildhash to my linux workstation, where the better configured file magic showed the following difference:

My nl.hash: big endian ispell 3.1 hash file, 7-bit, capitalization, 52 flags and 512 string characters

Supplied en.hash: big endian ispell 3.1 hash file, 8-bit, capitalization, 52 flags and 100 string characters

Both the ispell version from sunfreeware.org as well as the ispell version from the SUN Solaris companion were unable to make a 8-bit hash file from the dutch ispell wordlist and .aff files. Even building ispell from source resulted in a buildhash that would make 7-bit hashes instead of the required 8-bit ones. The buildhash one my Linux workstation generated a 8-bit hash from the same source files, so the problem wasn't in the dutch source files.

Final solution, I logged in on one of the production servers instead of the development ones I'm supposed to develop on. They proved to be installed slightly differently and had a buildhash binary installed in msg_svr_base/lib, apparently part of the messenger express install. Using that one instead of the ispell one resulted in a perfectly compatible dictionary and dutch spell check.

msg_svr_base/lib/buildhash dutch96.lat dutch96.aff msg_svr_base/lib/nl.hash

msg_svr_base/sbin/configutil -o local.supportedlanguages -v "[en,nl,es,fr,de]"

hbruijna at 2007-7-12 15:34:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

hi hbruijn,

glad to be of service (not that i know anything about making dictionaries!).

your information should be useful to someone in the future.

at first i was wondering if this was big vs. little endian.

maybe that your linux is likely little endian while solaris is big was related to the problem too?

thanks again,

s7

starman7a at 2007-7-12 15:34:30 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...