PHP ʖ²ἯTH
º/A
LXXXV. Pspell Functions
½鉜
These functions allow you to check the spelling of a word and offer suggestions.
ע: ¸À©չģ¿鲻ʊӃӚ Windows ƽ̨£¡
Шdz
To compile PHP with pspell support, you need the aspell and pspell libraries, available from http://aspell.sourceforge.net/ and http://aspell.net/ respectively.
°²װ
If you have the libraries needed add the --with-pspell[=dir] option when compiling PHP.
ԋАʱŤփ
¸À©չģ¿鎴¶¨ҥȎºΉ薃ָn¡£
Դ Ѝ
¸À©չģ¿鎴¶¨ҥȎºΗʔ´ Ѝ¡£
Ԥ¶¨ҥ³£
ӉӚբЩ³£ʇӉ¸À©չģ¿鶨ҥµģ¬Ҳ´˖»ӐԚ¸À©չģ¿鱻±ҫµ½ PHP £¬»ڔːЊ±±»¶¯̬¼Ӕغ³£²œА§¡£
Ŀ¼ pspell_add_to_personal -- Add the word to a personal wordlist pspell_add_to_session -- Add the word to the wordlist in the current session pspell_check -- Check a word pspell_clear_session -- Clear the current session pspell_config_create -- Create a config used to open a dictionary pspell_config_ignore -- Ignore words less than N characters long pspell_config_mode -- Change the mode number of suggestions returned pspell_config_personal -- Set a file that contains personal wordlist pspell_config_repl -- Set a file that contains replacement pairs pspell_config_runtogether -- Consider run-together words as valid compounds pspell_config_save_repl -- Determine whether to save a replacement pairs list along with the wordlist pspell_new_config -- Load a new dictionary with settings based on a given config pspell_new_personal -- Load a new dictionary with personal wordlist pspell_new -- Load a new dictionary pspell_save_wordlist -- Save the personal wordlist to a file pspell_store_replacement -- Store a replacement pair for a word pspell_suggest -- Suggest spellings of a word
º/A
ưµ㼯A
printer_write
ɏһ¼¶
pspell_add_to_personal