Forum Moderators: phranque
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)
This version of the port is billed as working under everything from W95 to W2K...
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 :)
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]
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
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).