Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pspell_config_personal(3) [php man page]

PSPELL_CONFIG_PERSONAL(3)						 1						 PSPELL_CONFIG_PERSONAL(3)

pspell_config_personal - Set a file that contains personal wordlist

SYNOPSIS
bool pspell_config_personal (int $dictionary_link, string $file) DESCRIPTION
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(3). The file is also the file where pspell_save_wordlist(3) will save personal wordlist to. pspell_config_personal(3) should be used on a config before calling pspell_new_config(3). PARAMETERS
o $dictionary_link - o $file - The personal wordlist. If the file does not exist, it will be created. The file should be writable by whoever PHP runs as (e.g. nobody). RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 pspell_config_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_check($pspell_link, "thecat"); ?> NOTES
Note This function will not work unless you have pspell .11.2 and aspell .32.5 or later. PHP Documentation Group PSPELL_CONFIG_PERSONAL(3)

Check Out this Related Man Page

PSPELL_CONFIG_REPL(3)							 1						     PSPELL_CONFIG_REPL(3)

pspell_config_repl - Set a file that contains replacement pairs

SYNOPSIS
bool pspell_config_repl (int $dictionary_link, string $file) DESCRIPTION
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(3) can be used to store a replacement pair and then pspell_save_wordlist(3) to save the wordlist along with the replacement pairs. pspell_config_repl(3) should be used on a config before calling pspell_new_config(3). PARAMETERS
o $dictionary_link - o $file - The file should be writable by whoever PHP runs as (e.g. nobody). RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 pspell_config_repl(3) <?php $pspell_config = pspell_config_create("en"); pspell_config_personal($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl($pspell_config, "/var/dictionaries/custom.repl"); $pspell_link = pspell_new_config($pspell_config); pspell_check($pspell_link, "thecat"); ?> NOTES
Note This function will not work unless you have pspell .11.2 and aspell .32.5 or later. PHP Documentation Group PSPELL_CONFIG_REPL(3)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

newbie curiousity.....

do shell commands have some of the same functionality as programming languages? bash and korne are similar (from what i've been told), but is one more stable or better than the other? is it personal preference similar to C++ vs. JAVA? is there any website that lists all the attributes -l vs... (2 Replies)
Discussion started by: trostycp
2 Replies

2. Windows & DOS: Issues & Discussions

Download Free personal firewallls

Does anyone know where I can get free firewalls for windows XP PRO?:confused: (6 Replies)
Discussion started by: computek
6 Replies

3. Shell Programming and Scripting

batch or wordlist search and replace in one file

Hello Experts! I've become perplexed as to why I can't get this to work and have given up the male "I can do it" attitude. I am asking the unix experts. The script I am writing involves reading a file that contains thousands of keywords (not csv), just one line after another of keywords and... (1 Reply)
Discussion started by: zerobreach.com
1 Replies

4. Cybersecurity

How can i secure my personal data and E-mail id?

Today the problem of hacking is increasing day by day so in this situation how can i secure my personal data and E-mail id? Please reply me soon. (1 Reply)
Discussion started by: andrepitt77
1 Replies

5. Red Hat

VM network issue

Hi, I'm trying to create a lab environment in my personal laptop. I have created a virtualbox RHEL6.1 and I want to make another copy out of it to make it 4 instances by simply copying the whole folder and changing their name and then changing their IP addresses. is this OK? please advice. for... (2 Replies)
Discussion started by: messi777
2 Replies

6. UNIX for Dummies Questions & Answers

broken pipe error

I'm new to scripting, and this forum has been invaluable in helping me out. I'm hoping I can get some personal help now though. I have a korn script that takes a list of servers and either telnets or sshs into it (only some are set up for ssh). What I'm doing now is trying to telnet first, and... (10 Replies)
Discussion started by: aimeet
10 Replies

7. UNIX for Dummies Questions & Answers

Unexpected Behaviour from grepping Text File

Hi! I recently downloaded a wordlist file called 2of12.txt, which is a wordlist of common words, part of the 12dicts package. I've been getting unexpected results from grepping it, such as getting no matches when clearly there ought to be, or returns that are simply wrong. Par exemple: egrep... (4 Replies)
Discussion started by: sudon't
4 Replies

8. Post Here to Contact Site Administrators and Moderators

Question About Posting

A couple of questions, actually. I wanted to ask the community where I might find a large, up-to-date dictionary wordlist. I figure that this is a likely place to find someone with this answer. I'm not looking for a cracking wordlist, but rather, one derived from an actual dictionary. Like most of... (2 Replies)
Discussion started by: sudon't
2 Replies