pspell_config_ignore
bool pspell_config_ignore(int configid, int min_word_length)
configid | Configuration handle to use |
min_word_length | Length at which to begin ignoring words |
Tells a Pspell configuration not to check words shorter than a certain length.
Returns:
TRUE if successful; FALSE otherwise
Description:
This function tells Pspell to ignore words that are min_word_length characters long or shorter. This is probably most useful if you don’t want your script to waste time checking the spelling of words like a .
The configid parameter is a valid configuration handle as returned by pspell_config_create().
Example:
Change a configuration’s ignore option
if ($configid = pspell_config_create('en')) { /* Don't check words that are less than ... |
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.