homepage Welcome to WebmasterWorld Guest from 54.226.252.142
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
The Quest for a Web Ready Spell Checker
Brett_Tabke




msg:664529
 8:20 pm on Oct 11, 2000 (gmt 0)

Are there any scripts that you know of, that link directly to/from unix ispell designed for web usage. Like say for a forum?

 

DaveAtIFG




msg:664530
 1:32 am on Oct 14, 2000 (gmt 0)

Brett - Best I can do is a few JS translators, English to Russian, etc. I 'm afraid. They may be something you can work from to build your own spell checker but you prefer Perl...

Anybody? Anybody?

Brett_Tabke




msg:664531
 9:00 pm on Oct 14, 2000 (gmt 0)

Thanks Dave, I was hoping there was Ispell interface lurking around. There are a few sites that have built Ispell (among other *nix spell checkers), but I've not seen one that is freely available.

littleman




msg:664532
 9:14 pm on Oct 14, 2000 (gmt 0)

I found
[theoryx5.uwinnipeg.ca...]
Should be easy enough to make a cgi script with this.

Brett_Tabke




msg:664533
 11:17 pm on Oct 14, 2000 (gmt 0)

Excellent. Thank you.

I also found a binary for a [url=ftp://ftp.tue.nl/pub/tex/GB95/ispell-dutch96/ispellw32.zip]win 32 version[/url] of ispell.

littleman




msg:664534
 3:37 am on Oct 15, 2000 (gmt 0)

Brett,
You are not going to like this. I found that module via google - I searched for 'ispell perl' and it was #3.

Brett_Tabke




msg:664535
 4:21 pm on Oct 19, 2000 (gmt 0)

Hehe.

Well, I got winders Ispell installed and working like a champ. Now the problem is that the module needs to use Open2 which is rather suspect under windows. I've crashed 98 about 10 times while trying to get it to run. I'm no perl IPC whiz, but this is one area where perl Linux and windows behavior is quite a bit different.

Is there a active state two way IPC equiv that works reliably along these lines?

$path = '/usr/bin/ispell';
$mypid = open2(\*Reader,\*Writer,$path,'-v' );
my $hdr = scalar(<Reader>);
print $hdr;
exit;

(don't run that under win32 - total lockups can occur)

DaveAtIFG




msg:664536
 5:22 am on Oct 20, 2000 (gmt 0)

Brett Version 5.6 of ActiveState's port is at [activestate.com...] and it includes an Open(3) call. Docs on the call are at [perl.com...]

This version of the port is billed as working under everything from W95 to W2K...

mark roach




msg:664537
 10:54 am on Oct 20, 2000 (gmt 0)

I have wondered about trying to add a spell checker to my forum, but I have decided against it for the time being.

Why, because of all that cheap misspellings traffic. Forum posts contain the same common spelling mistakes that searchers use. So much better than all our carefully proof-read pages for traffic.

When search engines include a spell checker in their search box, that is when I will put one on my forum :)

Brett_Tabke




msg:664538
 8:26 pm on Oct 20, 2000 (gmt 0)

>Open(2) vs Open(3).

Means open2 can open two channels (input and output). Open3 can open three channels (input/output and a error channel). It has been standard on Active perl since 5.0x.

I think it is a case of just getting the setup right.

>se's spell checkers.

If memory serves, Altavista and Ask Jeeves DO use spell checkers for common misspellings on search terms. That is part of what Teragram Corporation's linguistic programs are doing on Alta.

If memory serves again, Infoseek has something similar.

[sidebar]I think I have your edit problem fixed mark, but you may now have to login with mark_roach (underline)[/sidebar]

Werzel




msg:664539
 5:39 am on Nov 16, 2000 (gmt 0)

Mr. Tabke

Would the spell checker go crazy on those whose English isn't all that great and thus end up distracting them from getting as close to the point as their translatory techniques allow?
Or would it just completely prevent ME from posting whatsoever, retroactively punishing me for words like domainificationalizing?

Sincerely worried
Werzel Wordsmith the First

Brett_Tabke




msg:664540
 6:29 am on Nov 17, 2000 (gmt 0)

Lol Werzel. I don't believe I have welcomed you to the forums - thanks for tuning us in.

What I have in mind for a spell checker is this:

A check box below the textarea of the reply form for "spellcheck". After you press "preview" or submit, the spellchecker would go through and "suggest" words to ones it didn't find.

With some web spell checkers, the suggest function is quiet choatic and hard to use. I want to get around that, by putting the suggestions in a a drop down box right inline with the text. None of this silly highlighting that some spell checkers present that make you go back and hand edit the obvious errors - just select it from the drop down and resubmit.

However, it is a moot point at this conjucture since I can't find a spell checker that will work on both winders and *nix (I gotta be able to work offline with it as well as here online).

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved