Hướng dẫn install pspell php extension
If you have the libraries needed add the --with-pspell[=dir] option when compiling PHP.
chapman at wtinds dot com ¶ 2 years ago
juliusdavies at gmail dot com ¶ 13 years ago
You should see something like:
Next: ./configure --with-php-config=/Applications/MAMP/bin/php/php5.5.18/bin/php-config --with-pspell=/opt/local/ And finally, build the module file:
edit on GitHub The purpose of Pspell (Portable Spell Checker Interface Library) was to provide a generic interface to the system spelling checking libraries. PHP’s Pspell extension, while retaining its current name, now uses the Aspell library. InstallPHP PSpell extension installation is lacking documentation so your best bet is probably a google search for your OS. UsageNow that PHP PSpell extension is installed on your system, let's see how to spellcheck a word using PHP-Spellchecker and PHP PSpell extension. Spellcheck
Or if you want to check a file instead:
Available dictionaries
Check the tests for more examples. |