[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [aspell] More Affix Compression Notes
From:       Kevin Atkinson <kevinatk () home ! com>
Date:       2000-06-14 21:11:25
Message-ID: Pine.LNX.4.21.0006141710490.12860-100000 () localhost ! localdomain
[Download RAW message or body]

---------- Forwarded message ----------
Date: Wed, 14 Jun 2000 13:32:42 -0700
From: Geoff Kuenning <geoff@cs.hmc.edu>
To: kevinatk@home.com
Subject: Re: Affix Compression Again

> How do you store the list of valid rules in the hash table.  Do you use a
> bit array or a list of the flags and why did you use the method, space,
> speed, convenience, etc...

If I understand your question, you want to know how trouble/DGS
represents the DGS part in the hash table.  It's a bit array.  That
part of the code dates back to Pace's original ispell, and probably
back to the PDP-10 assembly-language version.  It was chosen for a
combination of space and speed.  I'd stick with it nowadays for the
speed part; space has become kind of a moot point, but speed still
matters a lot when checking large documents in some languages.
-- 
    Geoff Kuenning   geoff@cs.hmc.edu   http://www.cs.hmc.edu/~geoff/

"Du kannst dem Leben nicht mehr Tage geben, aber den Tag mehr Leben."
	-- source unknown, attribution requested
(You can't give your life more days, but you can give your days more life.)



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic