PSPELL_CONFIG_PERSONAL(3) 1 PSPELL_CONFIG_PERSONAL(3)pspell_config_personal - Set a file that contains personal wordlistSYNOPSIS
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 pairsSYNOPSIS
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)
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)
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)
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)
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)
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)
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
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)