aspell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[aspell-devel] successful port


From: Melvin Hadasht
Subject: [aspell-devel] successful port
Date: Thu, 6 Jun 2002 12:09:56 +0200

Hi,

I would like to report a successful port to the new-aspell of the spell checker
code of Sylpheed-Claws that was developed using pspell-0.12.2.

What I did:

1. I changed the functions name accordingly to use aspell.h instead of pspell.h.
I'm aware that pspell.h is still there for compatibility reasons, but I wanted
to make a full port. 

2. aspell_config_replace: some options seem  to have changed or removed:
        - pspell's "language-tag" changed to "lang
        - pspell's "spelling" removed
        - aspell has a new "size" option
        - aspell still have "module". This was set to aspell or ispell. Isn't
          this obsolete now? Or has it a new meaning?

3. dictionaries: in the old code, I used to detect available dictionaries by
checking for .pwli files to allow the user to select one from a list . This is
obsolete now, unfortunately. I check now for .multi files. But this is not
perfect: there is an american.multi file, but providing 'american' to the 'lang'
config option is not correct, as it expects en_US style strings. So creating
"english.multi", or more generally, non xx_XX*.multi is not necessary and may be
error prone. This is the main inconvenient of new-aspell with respect to old
pspell.

4. I need to start the application in a locale having the dot (.) as a decimal
separator. If not, I have the "Unhandled error..." I described in an earlier
mail and the application crashes.

Point 4 is a show stopper, point 3 (listing available dictionaries) can be
circumvented by the application but IMHO, there should be a simple scheme to get
the list of available dictionaries.

I hope this will help some people porting to new aspell and to improve it.

Cheers.

PS: I managed to port the French dictionary to new aspell. I had to change the
Makefile.pre by hand. But it seems this was generated by 'proc'. Where can I
find it? Is there any interest to the French dictionary?

-- 
Melvin Hadasht



reply via email to

[Prev in Thread] Current Thread [Next in Thread]