HelpOnSpellCheck |
UserPreferences |
The PEAK Developers' Center | FrontPage | RecentChanges | TitleIndex | WordIndex | SiteNavigation | HelpContents |
HelpContents > HelpOnAdministration > HelpOnSpellCheck
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:
MoinMoin/dict> ln -s /usr/dict/words .On some systems, the words file is found in "/usr/share/dict/words" instead.
MoinMoin> ls -l dict drwxr-xr-x 7 544 everyone 0 Jan 04 08:29 CVS -rw-r--r-- 1 544 everyone 409067 Jan 04 06:38 american-english -rw-r--r-- 1 544 everyone 2913577 Jan 25 2000 german.txt -rw-r--r-- 1 544 everyone 92631 Nov 30 15:24 top10000de.txt
If you change the contents of "MoinMoin/dict/" (because of adding new / removing old dictionaries) or if you create a new "MoinMoin/dict/" directory, then you have to delete the file "MoinMoin/wiki-moinmoin/data/dict.cache" (a new one will be created automagically).
If you don't, your new dictionaries won't be recognized (e.g. it will use only LocalSpellingWords). Another possible cause of problems is that you did not place the dictionaries in the active "MoinMoin" package directory, i.e. the one that is actually imported by your CGI script.
teen foot domination | naked stories | teen creampie | free-gay webcam pics | fat mens penis | a girl plump | playboy housewives video | wives that fuck | sex webcams | drunk college jokes | pink bunny vibrator | reality sex show | melanies nude webcam | topless webcam | old grandma gallery | giant dildos trannies | dildo cunt | water pipe smoking | boyjism live webcam | onlygonzo mpeg | 20 in dicks | invasive breast cancer | midget wrestling porn | babeindex toons | breast redhead | quit smoking forums | boys personal webcam | hardcore webcam pics | webcam windows 2000 drivers | dom fem trannies | webcam nude girls | quizs-bum boobs cuteness | heath nude brokeback | teen girls webcams | hardcore lesbian feet | 1-on-1 webcam sex | young lactating | gushing ejaculation | 98 gran prix gt | chubby butt sue | caught aunt masturbating