Query: pspell_add_to_personal
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PSPELL_ADD_TO_PERSONAL(3) 1 PSPELL_ADD_TO_PERSONAL(3) pspell_add_to_personal - Add the word to a personal wordlistSYNOPSISbool pspell_add_to_personal (int $dictionary_link, string $word)DESCRIPTIONpspell_add_to_personal(3) adds a word to the personal wordlist. If you used pspell_new_config(3) with pspell_config_personal(3) to open the dictionary, you can save the wordlist later with pspell_save_wordlist(3).PARAMETERSo $dictionary_link - o $word - The added word.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 pspell_add_to_personal(3) <?php $pspell_config = pspell_config_create("en"); pspell_config_personal($pspell_config, "/var/dictionaries/custom.pws"); $pspell_link = pspell_new_config($pspell_config); pspell_add_to_personal($pspell_link, "Vlad"); pspell_save_wordlist($pspell_link); ?>NOTESNote This function will not work unless you have pspell .11.2 and aspell .32.5 or later. PHP Documentation Group PSPELL_ADD_TO_PERSONAL(3)
Related Man Pages |
---|
word-list-compress(1) - centos |
pspell_save_wordlist(3) - php |
pspell_new_personal(3) - php |
pspell_store_replacement(3) - php |
pspell_new_config(3) - php |
Similar Topics in the Unix Linux Community |
---|
List all file which have specified word |
replace word in a file |
Add a word at the end of each line in a file |
help with hangman |
Substituting a word by different word in variable |