Home > PHP > Function > Pspell > pspell_new_personal()

pspell_new_personal()

pspell_new_personal - Load a new dictionary with personal wordlist

Syntax

int pspell_new_personal ()

Arguments

-

Description

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 order to save replacement pairs, you should create a config using pspell_config_create(), set the personal wordlist file with pspell_config_personal(), set the file for replacement pairs with pspell_config_repl(), and open a new dictionary with pspell_new_config().

Version

PHP 4.0.2, 5

Return value

Returns the dictionary link identifier for use in other pspell functions.