pspell_new_personal

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Load a new dictionary with personal wordlist int pspell_new_personal ( string $personal, string $language [, string $spelling [, string $jargon [, string $encoding [, int $mode = 0 ]]]] ) pspell_new_personal() opens up a new dictionary with a personal wordlist. The wordlist can be modified and saved with pspell_save_wordlist(), if desired. However, the replacement pairs are not saved. In or

pspell_new_config

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Load a new dictionary with settings based on a given config int pspell_new_config ( int $config ) pspell_new_config() opens up a new dictionary with settings specified in a config, created with pspell_config_create() and modified with pspell_config_*() functions. This method provides you with the most flexibility and has all the functionality provided by pspell_new() and pspell_new_personal

pspell_config_save_repl

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Determine whether to save a replacement pairs list along with the wordlist bool pspell_config_save_repl ( int $dictionary_link, bool $flag ) pspell_config_save_repl() determines whether pspell_save_wordlist() will save the replacement pairs along with the wordlist. Usually there is no need to use this function because if pspell_config_repl() is used, the replacement pairs will be saved by ps

pspell_save_wordlist

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Save the personal wordlist to a file bool pspell_save_wordlist ( int $dictionary_link ) pspell_save_wordlist() saves the personal wordlist from the current session. The location of files to be saved specified with pspell_config_personal() and (optionally) pspell_config_repl(). Parameters: dictionary_link A dictionary link identifier opene

pspell_config_mode

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Change the mode number of suggestions returned bool pspell_config_mode ( int $dictionary_link, int $mode ) pspell_config_mode() should be used on a config before calling pspell_new_config(). This function determines how many suggestions will be returned by pspell_suggest(). Parameters: dictionary_link pspell_config_mode() should be used o

pspell_config_personal

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Set a file that contains personal wordlist bool pspell_config_personal ( int $dictionary_link, string $file ) Set a file that contains personal wordlist. The personal wordlist will be loaded and used in addition to the standard one after you call pspell_new_config(). The file is also the file where pspell_save_wordlist() will save personal wordlist to. pspell_config_personal() should be us

pspell_config_repl

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Set a file that contains replacement pairs bool pspell_config_repl ( int $dictionary_link, string $file ) Set a file that contains replacement pairs. The replacement pairs improve the quality of the spellchecker. When a word is misspelled, and a proper suggestion was not found in the list, pspell_store_replacement() can be used to store a replacement pair and then pspell_save_wordlist() to

pspell_config_runtogether

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Consider run-together words as valid compounds bool pspell_config_runtogether ( int $dictionary_link, bool $flag ) This function determines whether run-together words will be treated as legal compounds. That is, "thecat" will be a legal compound, although there should be a space between the two words. Changing this setting only affects the results returned by pspell_check(); pspell_suggest()

pspell_config_ignore

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Ignore words less than N characters long bool pspell_config_ignore ( int $dictionary_link, int $n ) pspell_config_ignore() should be used on a config before calling pspell_new_config(). This function allows short words to be skipped by the spell checker. Parameters: dictionary_link pspell_config_ignore() should be used on a config before

pspell_config_create

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Create a config used to open a dictionary int pspell_config_create ( string $language [, string $spelling [, string $jargon [, string $encoding ]]] ) Create a config used to open a dictionary. pspell_config_create() has a very similar syntax to pspell_new(). In fact, using pspell_config_create() immediately followed by pspell_new_config() will produce the exact same result. However, after