UBB.Dev
Posted By: JoshPet Spellchecker - 02/13/2002 5:57 AM
More of a question than a suggestion.

I switched a board from the Perl version to the PHP version....and got some questions about where the spellchecker went.

I honestly didn't even notice it was gone...thought it might have been turned off in the config file.... but I don't think it's part of the PHP version.

Is this correct? What's everyone's feelings on the Spellchecker?
Posted By: MTO Re: Spellchecker - 02/13/2002 2:39 PM
Read this []https://www.ubbdev.com/threads/php/images/icons/wink.gif[/]
Posted By: JoshPet Re: Spellchecker - 02/14/2002 2:07 AM
Thanks.

I don't think it's as essential as other's may think. But I just was curious when the question came up.

Thanks
Posted By: Max Fisch Re: Spellchecker - 02/14/2002 3:51 PM
I just posted this on another thread as well... someone had previously posted it... works great if you have MS Word, check it out:
http://www.pcnineoneone.com/tweaks/scripts8.html
Max
Posted By: MTO Re: Spellchecker - 06/26/2002 5:27 PM
There is a modification now, for 6.x: Spell Check It uses SpellCheck.net. Thanks to AllenAyres for it.

This one is English only. So I am guessing this request will still be up for some time till we get multiple language checking.

Done some searching:
There is a neat, and similar spellchecker.net, that is bilingual, Spanish and English. Id like this one. Word Magic

Then there is SpellOnLine, with English, French, Italian, Portuguese and Spanish.

And anotherone, right now it is "being upgraded" so Im not sure if it has more languages other than English. SpellCheck Free URL
Posted By: Ian_W Re: Spellchecker - 06/26/2002 11:26 PM
A built in one would be even better - this does not have to include any dictionaries, as these are downloadable from the web - so the spell checker would just have to check each word against this file.

Not easy I know - but another forum software that I first used (many moons ago (discus)) uses this method, and it seems to work well. They just give you suggestions on where to grab dictionary files for your language.

Ian.
Posted By: JoshPet Re: Spellchecker - 06/27/2002 12:03 AM
The spellcheck.net thing works fairly well. My users get confused because you have to copy and paste the text back. Nothing we can do about that I know.

Was it impossible to port the one over from the perl version? I don't know aything about it. But it must have been impossible, or caused too much server load to not make it to the PHP version.

In the meantime I'm very thankful for the this hack.
Posted By: lcantey Re: Spellchecker - 06/27/2002 1:16 AM
I'm also very curious why the old spell supprt wasn't kept. IMHO a much nicer way to do it since I don't have to worry about connectivity to some external site.

Lee
Posted By: Lisa_P Re: Spellchecker - 06/27/2002 1:44 AM
Back in February, Scream posted this:

Re: Spellchecker

[]The spellchecker isn't something I can port over from the PERL version as it uses functions that just are not available in PHP. Without these functions I'm not sure how to make one that would work properly under PHP at this point.


Posted By: lcantey Re: Spellchecker - 06/27/2002 2:03 AM
A quick look at what was used under the perl version looks like a flat file dictionary and a small perl function in Search/Dict.pm (only about 55 lines or so). The function is simple and doesn't use any complex perl rtl functions so should be able to port pretty easily I'd think.

Lee
Posted By: MTO Re: Spellchecker - 06/27/2002 5:55 AM
Yes, built in is always the best.
It would be nice to have that option.

The thing is that it can be a huger resource hog. Here is an idea, though it should be more like a suggestion directly to InfoPop:

Infopop host a spellchecking software that blends into our boards (Im sure the other UBB boards would also like that). They could even filter the IPs to allow only registered software.
Posted By: JoshPet Re: Spellchecker - 06/27/2002 7:15 AM
I don't *really* know anything about programming. But could the PHP forums interface with a Perl spellchecker... much the way the cron jobs are perl?

That was a real classy feature... one that is rare to find in forums. Losing that was the ONLY real downside in upgrading from Perl.
Posted By: lcantey Re: Spellchecker - 06/27/2002 7:53 AM
Yes, that would be nice. But I'd like to see the option of using either. Since spell checking is used when posting, not reading, I'm not worried about resource use in my case.

Lee
Posted By: lcantey Re: Spellchecker - 06/27/2002 9:16 PM
Okay, I haven't done any PHP before but here is a function ported over from Perl that uses the same basic API as WWWThreads/Perl used. If you put the dictionary that came with the old perl version in the same directory you can look up words and give it a try. If no one else gets to it I'll end up hacking it in to use on the boards.

Lee

Errm I didn't attach it..coming right up
Posted By: lcantey Re: Spellchecker - 06/27/2002 9:19 PM
Attached Dict.php

Attached File
51269-Dict.php.txt  (41 downloads)
© UBB.Developers