pspell_config_repl
bool pspell_config_repl(int configid, string filename)
configid | Configuration handle to use |
filename | Filename in which to save the replacement list |
Tells a Pspell configuration the filename in which it should store replacement pairs.
Returns:
TRUE if successful; FALSE otherwise
Description:
This function lets you have a Pspell dictionary save its replacement wordlist in the file indicated by the filename parameter. This would typically be used in conjunction with pspell_store_replacement() and pspell_save_wordlist(). These replacement pairs are used by pspell_suggest() to create lists of possible replacements for misspelled words.
If the requested filename doesn’t exist, it will be created. You must ensure that the PHP ...
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.