Pspell with my own dictionary


Posted on 16th Feb 2014 07:03 pm by admin

Hello!
I've tested two cases using pspell functions.
1)
Code: $dictionary_link = pspell_new_personal ("/.../MyDict","es", "", "", "", PSPELL_FAST);2)
Did you know?Explore Trending and Topic pages for more stories like this.
Code: $pspell_config = pspell_config_create("es");
pspell_config_ignore($pspell_config, 4);
pspell_config_personal($pspell_config, "/.../MyDict");
$dictionary_link = pspell_new_config($pspell_config);
Code: if (!pspell_check($dictionary_link, $words)) {
$suggestions = pspell_suggest($dictionary_link, $words);
foreach ($suggestions as $suggestion) {
echo "Possible spelling: $suggestion<br />";
}
}
All suggestions are displayed in both cases with 'es' dictionary words increased with MyDict.
My question is about pspell ONLY uses words contained in MY dictionary MyDict.
Thanks in advance.
No comments posted yet

Your Answer:

Login to answer
348 Like 39 Dislike
Previous forums Next forums
Other forums

Stuck with preg_replace
Hi,

I'm trying to use preg_replace to remove part of the IP address submitted using a form on

RadioButtonList data selection
view plaincopy to clipboardprint?

Unidentified index error in a simple form
I have been trying to make an HTML form that is handled by a PHP script. So far my attempts to get i

Code Help.. If txt input box empty search X instead..
I am having a problem with my search script. At current it will simply search by a selected date whi

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

Retrieving Data from Two Different Databases
Hello All,

Ran into another problem and would appreciate some help! I have two datab

Problem related to Creation of PDF File?
Hi All,
I am facing a problem related to creation pdf file. when I am creating a pdf file of do

Functions Not Loading Into Div
I had some help doing some of this but what I'm trying to do is get my functions to retrieve its val

Opening Multiple Files/Links in Order.
I want to open links in order/one-by-one and check each for a specific string.

Example:
I

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash