the "dict" directory in the
the page
If the "dbhash" module is available with your Python installation, the files in "dict" are read only once and stored in a hash table. This speeds up the spell checking process because then the number of words in the checked page determines the time needed for the checking, not the number of words in the dictionary (with 250000 words, some hundred milliseconds instead of several seconds).
Note that it may take a few minutes to build up this database, but only the first time the spellchecker is called. If your browser or the webserver timeouts before the file is completely built, one solution is to telnet into your webserver, and manually request the page1.
BTW, a UNIX machine normally comes with at least one words file; to use those, create a symlink within the dict directory, like so:
On some systems, the words file is found in "/usr/share/dict/words" instead.If you change the contents of "
If you don't, your new dictionaries won't be recognized (e.g. it will use only
1
The next version will provide a tool to create the database on the command line.