Hi Robert,

I need some advice.  I'm writing an application that
will store a word list of 12,000 words that will be
used for spell-checking the word that the user inputs
(basically a look-up dictionary).

I'm considering different ways of storing this word
list in my application.  Since this is a "static" word
list (and read-only), I need to be able to create the
list before-hand, and then merge it into my Palm
application.

I've thought of creating a database with 12,000
records; each record holding a single word of the word
list.

Does anyone have any tried-and-true method of creating
such a database?  I would think that "static"
databases are quite common in spell-checking type
applications.
Take a look at <ftp://ftp.transpac.com/multiseg>. It contains a shared library that uses a DAWG to efficiently store a list of words. You could just use the library directly, or at least use the code as a starting point for something similar.

-- Ken
--
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to