pspell_new
int pspell_new(string language, [string spelling], [string jargon], [string encoding], [int pspell_mode])
language | Language in which spell checking is to be done |
spelling | Spelling variation to use, if applicable |
jargon | Jargon variation to use, if applicable (see description) |
encoding | Expected encoding of the checked words |
pspell_mode | Mode in which Pspell will check words |
Creates a link to a Pspell dictionary to be used in subsequent operations.
Returns:
If successful, a positive integer identifier for the Pspell dictionary opened; FALSE if an error occurs
Description:
pspell_new() opens the dictionary indicated by its arguments and returns an identifier to be used in later spelling operations.
Use the language parameter to ...
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.