#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: >Yeah. So how can we go about fixing this? First make sure it works for you using Aspell console utilities. >Is your personal dictionary in the same format as mine? It's a copy/paste. Previous Comments: [2007-03-13 18:39:15] david at mytton dot net Yeah. So how can we go about fixing this? The pspell_new_personal() function doesn't seem to return any kind of error even if the personal dictionary path provided doesn't exist (error reporting all on etc). Is your personal dictionary in the same format as mine? custom.dict: personal_ws-1.1 en 1 bloomsbury [2007-03-13 15:45:20] [EMAIL PROTECTED] As I said, it works fine here both on Linux and Windows. [2007-03-13 15:28:41] david at mytton dot net I reinstalled Aspell on Windows and am still unable to get it to pick up the custom dictionary. The file format I am using is: personal_ws-1.1 en 1 bloomsbury in custom.dict with the code in my original description. [2007-03-13 11:04:52] [EMAIL PROTECTED] Not reproducible on Windows either. Check your Aspell install and make sure the dictionary format is correct. Not PHP problem. [2007-03-12 19:50:15] [EMAIL PROTECTED] I'm talking about Linux. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: As I said, it works fine here both on Linux and Windows. Previous Comments: [2007-03-13 15:28:41] david at mytton dot net I reinstalled Aspell on Windows and am still unable to get it to pick up the custom dictionary. The file format I am using is: personal_ws-1.1 en 1 bloomsbury in custom.dict with the code in my original description. [2007-03-13 11:04:52] [EMAIL PROTECTED] Not reproducible on Windows either. Check your Aspell install and make sure the dictionary format is correct. Not PHP problem. [2007-03-12 19:50:15] [EMAIL PROTECTED] I'm talking about Linux. [2007-03-12 19:42:06] david at mytton dot net This is the latest Windows version. [2007-03-12 19:03:17] [EMAIL PROTECTED] Try to update it to the latest stable version and see if this fixes the problem. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: I'm talking about Linux. Previous Comments: [2007-03-12 19:42:06] david at mytton dot net This is the latest Windows version. [2007-03-12 19:03:17] [EMAIL PROTECTED] Try to update it to the latest stable version and see if this fixes the problem. [2007-03-12 18:54:36] david at mytton dot net Windows: Aspell-0.50-3 Aspell-en-0.50-2 Linux: International Ispell Version 3.1.20 (but really Aspell 0.50.3) [2007-03-12 18:50:34] [EMAIL PROTECTED] What Pspell/Aspell version are you using? [2007-03-12 18:44:16] david at mytton dot net In my comment 10 Mar 8:05pm UTC this is the test on Linux with the output i.e. it is the same result as on Windows - not working. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: Try to update it to the latest stable version and see if this fixes the problem. Previous Comments: [2007-03-12 18:54:36] david at mytton dot net Windows: Aspell-0.50-3 Aspell-en-0.50-2 Linux: International Ispell Version 3.1.20 (but really Aspell 0.50.3) [2007-03-12 18:50:34] [EMAIL PROTECTED] What Pspell/Aspell version are you using? [2007-03-12 18:44:16] david at mytton dot net In my comment 10 Mar 8:05pm UTC this is the test on Linux with the output i.e. it is the same result as on Windows - not working. [2007-03-12 13:55:11] [EMAIL PROTECTED] >This is with the bundled library with PHP i.e. php_pspell.dll on Windows. >So is that not a PHP problem? In the previous post you said you also tested in on Linux (but didn't say what was the result). [2007-03-12 13:49:26] david at mytton dot net This is with the bundled library with PHP i.e. php_pspell.dll on Windows. So is that not a PHP problem? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: What Pspell/Aspell version are you using? Previous Comments: [2007-03-12 18:44:16] david at mytton dot net In my comment 10 Mar 8:05pm UTC this is the test on Linux with the output i.e. it is the same result as on Windows - not working. [2007-03-12 13:55:11] [EMAIL PROTECTED] >This is with the bundled library with PHP i.e. php_pspell.dll on Windows. >So is that not a PHP problem? In the previous post you said you also tested in on Linux (but didn't say what was the result). [2007-03-12 13:49:26] david at mytton dot net This is with the bundled library with PHP i.e. php_pspell.dll on Windows. So is that not a PHP problem? [2007-03-12 09:41:06] [EMAIL PROTECTED] So why is that PHP problem? You pspell doesn't use your custom dictionary, I don't think PHP can fix it. [2007-03-10 20:05:05] david at mytton dot net I tested the code on another XP computer and also on my Linux server, all with PHP 5.2.1 and it doesn't seem to work (even with full permissions). '; print_r($suggestions); ''; ?> [EMAIL PROTECTED] [/home/site/public_html]# ls -al ... -rwxrwxrwx 1 site site32 Mar 10 19:57 custom.dict* ... Output: Array ( [0] => blooms bur [1] => blooms-bur [2] => blooms [3] => Bloom's [4] => bloom's [5] => bloomers [6] => Bloomer [7] => bloomer ) The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: >This is with the bundled library with PHP i.e. php_pspell.dll on Windows. >So is that not a PHP problem? In the previous post you said you also tested in on Linux (but didn't say what was the result). Previous Comments: [2007-03-12 13:49:26] david at mytton dot net This is with the bundled library with PHP i.e. php_pspell.dll on Windows. So is that not a PHP problem? [2007-03-12 09:41:06] [EMAIL PROTECTED] So why is that PHP problem? You pspell doesn't use your custom dictionary, I don't think PHP can fix it. [2007-03-10 20:05:05] david at mytton dot net I tested the code on another XP computer and also on my Linux server, all with PHP 5.2.1 and it doesn't seem to work (even with full permissions). '; print_r($suggestions); ''; ?> [EMAIL PROTECTED] [/home/site/public_html]# ls -al ... -rwxrwxrwx 1 site site32 Mar 10 19:57 custom.dict* ... Output: Array ( [0] => blooms bur [1] => blooms-bur [2] => blooms [3] => Bloom's [4] => bloom's [5] => bloomers [6] => Bloomer [7] => bloomer ) [2007-03-10 00:11:03] [EMAIL PROTECTED] Works perfectly fine here, on Linux. Array ( [0] => blooms bur [1] => blooms-bur [2] => Bloomsbury [3] => bloomsbury < [4] => blooms [5] => Bloom's [6] => bloom's ) bool(true) [2007-03-09 19:23:31] david at mytton dot net The pspell dictionary or my custom one? The pspell one is a standard English dictionary downloaded from the Aspell website at http://ftp.gnu.org/gnu/aspell/w32/Aspell-en-0.50-2-3.exe. I included my custom dictionary at the bottom of the reproduce code. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: So why is that PHP problem? You pspell doesn't use your custom dictionary, I don't think PHP can fix it. Previous Comments: [2007-03-10 20:05:05] david at mytton dot net I tested the code on another XP computer and also on my Linux server, all with PHP 5.2.1 and it doesn't seem to work (even with full permissions). '; print_r($suggestions); ''; ?> [EMAIL PROTECTED] [/home/site/public_html]# ls -al ... -rwxrwxrwx 1 site site32 Mar 10 19:57 custom.dict* ... Output: Array ( [0] => blooms bur [1] => blooms-bur [2] => blooms [3] => Bloom's [4] => bloom's [5] => bloomers [6] => Bloomer [7] => bloomer ) [2007-03-10 00:11:03] [EMAIL PROTECTED] Works perfectly fine here, on Linux. Array ( [0] => blooms bur [1] => blooms-bur [2] => Bloomsbury [3] => bloomsbury < [4] => blooms [5] => Bloom's [6] => bloom's ) bool(true) [2007-03-09 19:23:31] david at mytton dot net The pspell dictionary or my custom one? The pspell one is a standard English dictionary downloaded from the Aspell website at http://ftp.gnu.org/gnu/aspell/w32/Aspell-en-0.50-2-3.exe. I included my custom dictionary at the bottom of the reproduce code. [2007-03-09 10:34:36] [EMAIL PROTECTED] We'll also need your dictionary to investigate it. Though I doubt it has something to do with PHP. If pspell doesn't use your dictionary, it's hardly PHP problem. [2007-03-08 17:14:15] david at mytton dot net Corrected typo in summary The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: Works perfectly fine here, on Linux. Array ( [0] => blooms bur [1] => blooms-bur [2] => Bloomsbury [3] => bloomsbury < [4] => blooms [5] => Bloom's [6] => bloom's ) bool(true) Previous Comments: [2007-03-09 19:23:31] david at mytton dot net The pspell dictionary or my custom one? The pspell one is a standard English dictionary downloaded from the Aspell website at http://ftp.gnu.org/gnu/aspell/w32/Aspell-en-0.50-2-3.exe. I included my custom dictionary at the bottom of the reproduce code. [2007-03-09 10:34:36] [EMAIL PROTECTED] We'll also need your dictionary to investigate it. Though I doubt it has something to do with PHP. If pspell doesn't use your dictionary, it's hardly PHP problem. [2007-03-08 17:14:15] david at mytton dot net Corrected typo in summary [2007-03-08 17:13:40] david at mytton dot net Description: The personal dictionary does not appear to be used when asking pspell for suggestions. The same result occurs whether or not custom.dict actually exists. E.g. if I change the filename to customdict no error is output and the output is the same. I tried this with the latest php_pspell.dll from http://snaps.php.net/win32/php5.2-win32-200703081530.zip Reproduce code: --- '; print_r($suggestions); ''; ?> custom.dict: personal_ws-1.1 en 1 bloomsbury Expected result: Array of suggestions including bloomsbury in the suggestions. Actual result: -- bloomsbury is not in the suggestions list: Array ( [0] => blooms bur [1] => blooms-bur [2] => blooms [3] => Bloom's [4] => bloom's [5] => bloomers [6] => Bloomer [7] => bloomer ) -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1
#40759 [Opn->Fbk]: pspell_new_personal does not load custom dictionary
ID: 40759 Updated by: [EMAIL PROTECTED] Reported By: david at mytton dot net -Status: Open +Status: Feedback Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment: We'll also need your dictionary to investigate it. Though I doubt it has something to do with PHP. If pspell doesn't use your dictionary, it's hardly PHP problem. Previous Comments: [2007-03-08 17:14:15] david at mytton dot net Corrected typo in summary [2007-03-08 17:13:40] david at mytton dot net Description: The personal dictionary does not appear to be used when asking pspell for suggestions. The same result occurs whether or not custom.dict actually exists. E.g. if I change the filename to customdict no error is output and the output is the same. I tried this with the latest php_pspell.dll from http://snaps.php.net/win32/php5.2-win32-200703081530.zip Reproduce code: --- '; print_r($suggestions); ''; ?> custom.dict: personal_ws-1.1 en 1 bloomsbury Expected result: Array of suggestions including bloomsbury in the suggestions. Actual result: -- bloomsbury is not in the suggestions list: Array ( [0] => blooms bur [1] => blooms-bur [2] => blooms [3] => Bloom's [4] => bloom's [5] => bloomers [6] => Bloomer [7] => bloomer ) -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1