* Thijs Kinkhorst <[EMAIL PROTECTED]> [2007-01-26 13:46]:

> It was suggested to me originally by the dictionaries-common maintainers
> that I use the ispell-dicts-list.txt file.

The name of the hash file is not present in this file.  I am afraid you are
out of hope here...
> 
> And I'd prefer to continue using it too, because calling perl in a shell
> is something I'd like to avoid, since it has the potential of breaking
> and the extra forking needed on squirrelspell invocation might not be
> appreciated by large-scalle installs.

One possible solution is to introduce squirrelspell support into
dictionaries-common.  Notice that there is already support for a variety of
applications, like emacs, jed, mutt, and OpenOffice.  Could you tell us what
would be needed for squirelspell?  Let us take the jed support as an
example.  The dicitionaries-common package automatically generates the
contents of file /var/cache/dictionaries-common/jed-ispell-dicts.sl, which
are like this:

%%% This file is part of the dictionaries-common package.
%%% It has been automatically generated.
%%% DO NOT EDIT!

ispell_add_dictionary (
  "francais",
  "francais",
  "ÀÂÇÈÉÊËÎÏÔÙÛÜàâçèéêëîïôùûü",
  "[-']",
  "~list",
  ");

[...]

Notice that the code above is in S-Lang and can be read by jed at
initialisation time.  I guess squirrelspell can do something similar?

> What does the first field in the .txt file mean?

It is the name of the dictionary in the native language.

-- 
Rafael

Reply via email to