PHP Pspell Functions

EditRocket provides the following information on Pspell functions in the PHP source code builder.

bool pspell_add_to_personal ( int $dictionary_link , string $word ) -

bool pspell_add_to_session ( int $dictionary_link , string $word ) -

bool pspell_check ( int $dictionary_link , string $word ) -

bool pspell_clear_session ( int $dictionary_link ) -

int pspell_config_create ( string $language [, string $spelling [, string $jargon [, string $encoding ]]] ) - Create a config used to open a dictionary.

bool pspell_config_ignore ( int $dictionary_link , int $n ) -

bool pspell_config_mode ( int $dictionary_link , int $mode ) -

bool pspell_config_personal ( int $dictionary_link , string $file ) - Set a file that contains personal wordlist.

bool pspell_config_repl ( int $dictionary_link , string $file ) - Set a file that contains replacement pairs.

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.

bool pspell_config_save_repl ( int $dictionary_link , bool $flag ) -

int pspell_new ( string $language [, string $spelling [, string $jargon [, string $encoding [, int $mode ]]]] ) - pspell_new() opens up a new dictionary and returns the dictionary link identifier for use in other pspell functions.

int pspell_new_config ( int $config ) -

int pspell_new_personal ( string $personal , string $language [, string $spelling [, string $jargon [, string $encoding [, int $mode ]]]] ) -

bool pspell_save_wordlist ( int $dictionary_link ) -

bool pspell_store_replacement ( int $dictionary_link , string $misspelled , string $correct ) -

array pspell_suggest ( int $dictionary_link , string $word ) -