aspell-user
[Top][All Lists]
Advanced

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

[aspell] Simply but effective Wordlist compression


From: Kevin Atkinson
Subject: [aspell] Simply but effective Wordlist compression
Date: Sun, 18 Jun 2000 18:45:50 -0400 (EDT)

Attached is an extremely simple but very effective program to compress a
sorted word list.  The list can them be compressed even farther by bzip2
or gzip.

It will generally bring a word list to the size of a "munched" ispell word
list.

To Compile:
g++ -O compress.cc -o wlc

T    compress: ./wlc c < IN > OUT
To decompress: ./wlc d < IN > OUT

In order for it to work the word list must be sorted, not have any control
characters except for space characters, and all words must be less than
256 characters.

If you think it is useful I will include it in the next major version of
Aspell.

---
Kevin Atkinson
address@hidden
http://metalab.unc.edu/kevina/

Attachment: compress.cc
Description: Text document


reply via email to

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