Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Re: Re: Spell Check Logic

by dree (Monsignor)
on Jul 31, 2002 at 21:31 UTC ( #186608=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Spell Check Logic
in thread Spell Check Logic

You are right! :)

But an hash (DB_File) with 2/3 millions words+phonetic codes is around 150+Mb.
So to gain some speed-up you have to twice the database: one that has keys as phonetic codes and the second that has keys as correct words.
And this is not always a good thing.

But in this particulary case, with only 100.000+ words, your suggestion is ok :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://186608]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2016-10-24 14:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (307 votes). Check out past polls.