Previous Thread
Next Thread
Print Thread
Rate Thread
#213651 02/12/2002 10:57 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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?

Sponsored Links
Daine #213652 02/13/2002 7:39 AM
Joined: Jan 2000
Posts: 796
MTO Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796

D_Wolfwood #213653 02/13/2002 7:07 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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

Daine #213654 02/14/2002 8:51 AM
Joined: May 1999
Posts: 149
Enthusiast
Enthusiast
Offline
Joined: May 1999
Posts: 149
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

Daine #213655 06/26/2002 10:27 AM
Joined: Jan 2000
Posts: 796
MTO Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
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

Sponsored Links
D_Wolfwood #213656 06/26/2002 4:26 PM
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
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.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
D_Wolfwood #213657 06/26/2002 5:03 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

Daine #213658 06/26/2002 6:16 PM
Joined: May 1999
Posts: 78
Member
Member
Offline
Joined: May 1999
Posts: 78
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

Daine #213659 06/26/2002 6:44 PM
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
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.




[:"red"]Lisa[/]
JacquiL #213660 06/26/2002 7:03 PM
Joined: May 1999
Posts: 78
Member
Member
Offline
Joined: May 1999
Posts: 78
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

Sponsored Links
Gorlum #213661 06/26/2002 10:55 PM
Joined: Jan 2000
Posts: 796
MTO Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
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.

JacquiL #213662 06/27/2002 12:15 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

D_Wolfwood #213663 06/27/2002 12:53 AM
Joined: May 1999
Posts: 78
Member
Member
Offline
Joined: May 1999
Posts: 78
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

Joined: May 1999
Posts: 78
Member
Member
Offline
Joined: May 1999
Posts: 78
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

Joined: May 1999
Posts: 78
Member
Member
Offline
Joined: May 1999
Posts: 78
Attached Dict.php
Attachments
51269-Dict.php.txt (0 Bytes, 41 downloads)


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)