MoniWikiHelp On Spell Check
Login:
Password:
대문|찾기|바뀐글|목록|메모장|책갈피|연꽃|링크
Edit Diff Reload Search Print Info Mail Help RSS

The Spell Checking Option #

MoinMoin looks for valid words in two places:
  • the "dict" directory in the MoinMoin package directory
  • the page LocalSpellingWords

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).

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.

Example #


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

July, 2025
 12345
6789101112
13141516171819
20212223242526
2728293031 

行重思遠

책갈피_The_InnerGame_OfWork
HGL_20Character
책갈피_Legacy_Code
메모장_좋은테스터가되기위한요건
last modified 2004-02-02 11:13:06
고치기|찾기|쪽 지우기|비슷한 쪽 Valid XHTML 1.0! Valid CSS! powerd by MoniWiki
0.0148 sec