Re: Re: implementing aspell hash generation at install time

Brian Nelson <[email protected]> Thu, 12 Jan 2006 10:25:28 -0800
Newsgroups gmane.linux.debian.devel.dictionary
Message-ID <[email protected]>
Agustin Martin <agustin.martin-a/[email protected]> writes:

> On Thu, Jan 12, 2006 at 01:08:02PM +0200, Martin-=C9ric Racine wrote:
>> ke, 2006-01-11 kello 12:51 +0100, Agustin Martin kirjoitti:
>> > You just need to use the wordlist you used to build the hash,=20
>>=20
>> Which hash?  The ispell hash?  To get a better idea of what I mean,
>> please check the "ispell-et" source package.=20
>
> The aspell hash (the .rws file)
>=20=20
>> What about word-list-compress?
>
> prezip seems to work better and is more recent, but Brian surely can give
> more details on this. The script uses precat, so use prezip.

>From the prezip-bin(1) manpage, which for reason isn't installed:

DESCRIPTION
       prezip-bin  compresses/decompresses  sorted  word  lists  from stand=
ard
       input to standard output.

       Prezip-bin is similar to word-list-compress(1) but it allows  a  lar=
ger
       character set of {0x00...0x09, 0x0B, 0x0C, 0x0E...0xFF} and multi-wo=
rds
       larger  than  255  characters  in  length.   It  can  also   decompr=
ess
       word-list-compress(1) compatible files.

...

TIPS
       Prezip-bin is best used with sorted word list type files.  It is not=
  a
       general  purpose compression program since resulting files may actua=
lly
       increase in size.

       Unlike word-list-compress(1) if your word list has leading or  trail=
ing
       blank  spaces  for  formatting  purposes,  you should remove them fi=
rst
       before you compress your list using prezip-bin  -z  ,  otherwise  th=
ose
       spaces will be included in the compressed binary output.

--=20
Captain Logic is not steering this tugboat.