32 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
26
views
Using PSpell On Shared Hosting Environment "en" Dictionary Not Found
I'm on a shared hosting environment and trying to get a basic pspell to run with PHP.
When I put this code:
<?php
error_reporting(E_ALL);
@ini_set('display_errors', 1);
$pSpell = pspell_new(&...
1
vote
0
answers
265
views
How can I install the Pspell functions in XAMPP (Windwos/PHP 8)?
Unfortunately, all the answers did not help. Is there a way to install the Pspell library in XAMPP (3.3.0 / PHP 8.1.6)?
https://www.php.net/manual/en/ref.pspell.php
Or is there any alternative for ...
1
vote
0
answers
636
views
PSPELL couldn't open the dictionary
When my php file tries to execute:$pspell = pspell_new("en");
I get this error message:
pspell_new(): PSPELL couldn't open the dictionary. reason: No word lists can be found for the language ...
1
vote
1
answer
116
views
Error on circleci deployment on pspell debian
Well I get this error on CircleCI:
checking for PSPELL support... yes, shared
configure: error: Cannot find pspell
when I run this step: - run: sudo docker-php-ext-install pspell
I check online and ...
0
votes
1
answer
72
views
How to change a string's case based on another string?
I'm working on a "Do you mean ..." kinda system similar to Google! The speller part is trivial (with PHP's pspell library) but what I can't solve is the case problem.
Let's say the mispelled word is "...
3
votes
1
answer
554
views
Pspell don't work
Please, help me with pspell problem. I have installed aspell and I have done following comands in terminal:
sudo apt-get install libpspell-dev
sudo apt-get install php7.0-pspell
sudo apt-get install ...
3
votes
1
answer
272
views
Convert American words to British equivalent
I have a function that auto corrects a string. It corrects misspelled words as expected. This issue I'm facing is that it will not correct an American spelled word into it's British equivalent.
$...
0
votes
0
answers
268
views
pspell source install with source installed php5.6
I am trying to enable the php pspell module with source installed php5.6 on Ubuntu 14.04.
Methods I have tried :
While ./configure in downloaded php package I tried --with-pspell=/usr and --with-...
1
vote
0
answers
170
views
PHP pspell_check returns always FALSE
I want to use pspell_check to determine the complexity of passwords chosen by users. The problem is that my code, inspired by the basic examples available on the web, always returns FALSE. Example ...
0
votes
1
answer
486
views
Where are the aspell libraries located on the server? How can I check for them?
I just switched to the cpanel servers with godaddy. I am completely integrated with pspell and it was working perfectly fine. now I get the following errors
Warning: pspell_new(): PSPELL couldn't ...
1
vote
1
answer
625
views
How can I test pspell?
This was working fine then I switched to the cpanel with godaddy. If I run a test with my php info its says that pspell is enabled. Does anyone know of a way to test for errors, or even possibly a fix?...
1
vote
1
answer
665
views
Extract valid words from a text file PHP [closed]
I have created a PHP code that extracts valid words form a text file :
$pspell_link = pspell_new("en");
$handle = fopen("list.txt", "r");
if ($handle) {
while (($line = fgets($handle)) !...
0
votes
1
answer
847
views
How to Install pspell with MAMP
I use MAMP for local php development and recently needed to use php's pspell functions for a project. I found little help with this specific scenario (short of recompiling php, yuck) so this post ...
0
votes
0
answers
639
views
Using pspell to determine if a word is a noun or not
Is it possible to use pspell to determine if a word is a noun or not? If not, is there any other easier way? Thanks.
$word = "cat";
$pspell_link = pspell_new("en"); //spell check
$boo = pspell_check($...
0
votes
2
answers
128
views
pspell returns question marks(�)
I've tried to install pspell on an Ubuntu trusty distribution with the following commands:
sudo apt-get install libpspell-dev
sudo apt-get install php5-pspell
sudo apt-get install aspell-he
The ...