📄 readme
字号:
README file for pspell (spellchecker) module for PHP4-----------------------------------------------------The latest release of pspell is always available from http://pspell.sourceforge.net/This module was developed and tested with aspell-.31.1 and pspell-.11.0.2,although slightly earlier (and hopefully later) versions of those librariesshould work as well.General notes-------------Please, note that somewhere around version .27.x (I believe) aspell stoppedworking with the aspell module for php. This is due to the fact that theauthor changed things around a bit, and suggested that people link to pspellin the future rather than to aspell. That's exactly what this module is for.It has the same basic functionality as aspell (and more features are beingadded). I did not want to modify existing aspell module, because it wouldbreak things for those who are using older aspell, or result in very ugly code.Rather, I wrote a new module - pspell.Building pspell on a Unix system--------------------------------In order to use pspell, you need to have *both* aspell and pspell librariesinstalled, and they have to be compatible with each other. Get the latestrelease of both at the URL given above.I expect the libraries to be in /usr/local (that's the default when youcofigure pspell and aspell with their 'configure' scripts woth no parameters).If that location is different, please specify it in --with-pspell=PATH, wherePATH is the path you specified for pspell libraries.Notes on personalized dictionaries----------------------------------It is now possible to have personalized dictionaries with pspell. This isachieved by opening a dictionary with pspell_new_personal() rather thanpspell_new() and specifying the custom dictionary as the first parameter.The parameter probably should begin with '/' because otherwise it willbe relative to $HOME, which is probably set to "/root". This is probably notwhat you want because you need write access for nobody to be able to writeto a dictionary. Once the dictionary is open, you can use pspell_add_to_personal() to add words to the wordlist and finally pspell_save_wordlist() to save it. Note that at this moment pspell_save_wordlist() will return TRUE, even ifthere was an error. This will be changed once pspell library is fixed.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -