08-03-2015
Thank you for your suggestions, blackrageous and vincent72
8 More Discussions You Might Find Interesting
1. BSD
so, i have a video card SIS s315 AGP and i can't cofigure X Free on free BSD to run X window.
Anybody can help me solve this problem?? (2 Replies)
Discussion started by: Dmitri-br
2 Replies
2. Windows & DOS: Issues & Discussions
Hi,
I am currently having an issue with Virtualbox. It, at one point in time, worked like a charm. Then my internal 500GB HD failed in my PC. It was under warranty and I sent off for another one but did not want to pay for the expedited shipping nor did I want to wait a few weeks to get the... (1 Reply)
Discussion started by: tlarkin
1 Replies
3. Linux
I have been working linux administration for 2.5 years. I would like to have a certification in this. Yes RHCE is an option. I think already know most of the RHCE stuff.
But I would like to have some thing advanced. I ready to for a full time course as I not getting the exposure in my current... (2 Replies)
Discussion started by: nitin09
2 Replies
4. Shell Programming and Scripting
I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp.
I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working... (0 Replies)
Discussion started by: passerby
0 Replies
5. UNIX and Linux Applications
Hello -
I'm looking for a VPN/NAS howto guide or solution that you can recommend. I've looked at FreeNAS, and am considering it, but not sure it does everything I need.
Scenario: We are looking to build a NAS in our office from a linux machine on a limited budget.
Our office is behind a... (1 Reply)
Discussion started by: kettlewell
1 Replies
6. Shell Programming and Scripting
Hi all ,
I'm new to unix
I have a checked project , there exists a file called xxx.config .
now my task is to find all the files in the checked out project which references to this xxx.config file.
how do i use grep or find command . (2 Replies)
Discussion started by: Gangam
2 Replies
7. UNIX for Dummies Questions & Answers
Hello everybody! I'm a long-time windows user with some very limited experience with some Linux distributions. I'm a programmer (in training), but I've worked mostly with .NET stuff.
I started a new job a couple of weeks ago and was issued a MacBook Pro to work on. I have fallen in love with the... (3 Replies)
Discussion started by: egill
3 Replies
8. UNIX and Linux Applications
I'm moving my web server to a different datacenter.
OS is CentOS 5.8
Apache 2.2.3
qmail
NcFTPd
Its been 12 years since I relocated a server. Lots of brain cells lost since then...:-)
I need to identify all the config files that contain the server's IP addresses. Memory has provided... (0 Replies)
Discussion started by: scasey
0 Replies
LEARN ABOUT PHP
pspell_new_personal
PSPELL_NEW_PERSONAL(3) 1 PSPELL_NEW_PERSONAL(3)
pspell_new_personal - Load a new dictionary with personal wordlist
SYNOPSIS
int pspell_new_personal (string $personal, string $language, [string $spelling], [string $jargon], [string $encoding], [int $mode])
DESCRIPTION
pspell_new_personal(3) opens up a new dictionary with a personal wordlist. The wordlist can be modified and saved with
pspell_save_wordlist(3), if desired. However, the replacement pairs are not saved. In order to save replacement pairs, you should create a
config using pspell_config_create(3), set the personal wordlist file with pspell_config_personal(3), set the file for replacement pairs
with pspell_config_repl(3), and open a new dictionary with pspell_new_config(3).
For more information and examples, check out inline manual pspell website:http://aspell.net/.
PARAMETERS
o $personal
- The file where words added to the personal list will be stored. It should be an absolute filename beginning with '/' because
otherwise it will be relative to $HOME, which is "/root" for most systems, and is probably not what you want.
o $language
- The language code which consists of the two letter ISO 639 language code and an optional two letter ISO 3166 country code after
a dash or underscore.
o $spelling
- The requested spelling for languages with more than one spelling such as English. Known values are 'american', 'british', and
'canadian'.
o $jargon
- Extra information to distinguish two different words lists that have the same language and spelling parameters.
o $encoding
- The encoding that words are expected to be in. Valid values are utf-8, iso8859-*, koi8-r, viscii, cp1252, machine unsigned 16,
machine unsigned 32.
o $mode
- The mode in which spellchecker will work. There are several modes available:
o PSPELL_FAST - Fast mode (least number of suggestions)
o PSPELL_NORMAL - Normal mode (more suggestions)
o PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions)
o PSPELL_RUN_TOGETHER - Consider run-together words as legal compounds. That is, "thecat" will be a legal compound, although
there should be a space between the two words. Changing this setting only affects the results returned by pspell_check(3);
pspell_suggest(3) will still return suggestions.
Mode is a bitmask constructed from different constants listed above. However, PSPELL_FAST, PSPELL_NORMAL and PSPELL_BAD_SPELLERS
are mutually exclusive, so you should select only one of them.
RETURN VALUES
Returns the dictionary link identifier for use in other pspell functions.
EXAMPLES
Example #1
pspell_new_personal(3)
<?php
$pspell_link = pspell_new_personal ("/var/dictionaries/custom.pws",
"en", "", "", "", PSPELL_FAST|PSPELL_RUN_TOGETHER);
?>
PHP Documentation Group PSPELL_NEW_PERSONAL(3)