(unknown)
pspell_mode -- Change spellchecking mode
Description
boolean pspell_mode
(int dictionary_link, int mode)
Pspell_mode() changes the spellchecking mode.
There are three modes available:
PSPELL_FAST - Fast mode (least number of suggestions)
PSPELL_NORMAL - Normal mode (more suggestions)
PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions)
Esempio 1. Pspell_mode()
$pspell_link = pspell_new ("english");
pspell_mode (PSPELL_FAST);
if (!pspell_check ($pspell_link, "testt")) {
$suggestions = pspell_suggest ($pspell_link, "testt");
}
|
|