Welcome to WebmasterWorld Guest from 54.167.153.63

Forum Moderators: phranque

Message Too Old, No Replies

The Quest for a Web Ready Spell Checker

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

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Are there any scripts that you know of, that link directly to/from unix ispell designed for web usage. Like say for a forum?
1:32 am on Oct 14, 2000 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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?

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

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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.
9:14 pm on Oct 14, 2000 (gmt 0)

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I found
[theoryx5.uwinnipeg.ca...]
Should be easy enough to make a cgi script with this.
11:17 pm on Oct 14, 2000 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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.

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

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Brett,
You are not going to like this. I found that module via google - I searched for 'ispell perl' and it was #3.
4:21 pm on Oct 19, 2000 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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)

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

WebmasterWorld Senior Member 10+ Year Member



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...

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

10+ Year Member



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 :)

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

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



>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]

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

10+ Year Member



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

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

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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).

 

Featured Threads

Hot Threads This Week

Hot Threads This Month