pspell_config_mode
bool pspell_config_mode(int configid, int mode)
configid | Configuration handle to use |
mode | Suggestion mode to use |
Sets the replacement mode for a Pspell configuration.
Returns:
TRUE if successful; FALSE otherwise
Description:
This function tells Pspell how aggressive it should be when suggesting replacements for misspelled words. It serves much the same function as the mode parameter to the pspell_new() function, with the exception that it cannot be OR ed with PSPELL_RUN_TOGETHER; for that, you’ll need to use pspell_config_runtogether().
The mode parameter may be any one of the predefined constants PSPELL_FAST (a few suggestions), PSPELL_NORMAL (the default number of suggestions), or PSPELL_BAD_SPELLERS (a large number ...
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.