Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Ispell did it in my code with a broken pipe, anyone got a clue?

by chipmunk (Parson)
on Feb 13, 2002 at 02:59 UTC ( #145052=note: print w/ replies, xml ) Need Help??


in reply to Ispell did it in my code with a broken pipe, anyone got a clue?

I tried ispell on the command line, and did get an error for 'nis2002':

% ispell -a @(#) International Ispell Version 3.1.20 10/10/95 @nis2002 Word 'nis2002' contains illegal characters
Since this isn't the behavior you're getting, perhaps you have two versions of ispell installed. It could be that the one you get from the command line allows 'nis2002', but the one that Text::Ispell is wrapped around doesn't.

One quick solution is to remove the numbers, and add just 'nis':

% ispell -a @(#) International Ispell Version 3.1.20 10/10/95 nis2002 & nis 18 0: Dis, his, ins, is, n's, NBS, NFS, nib, nibs, NIH, nil, nip +, nips, nit, nix, NTIS, sis, vis @nis nis2002 *
BTW, I noticed on CPAN that Text::Ispell has been replaced by Lingua::Ispell. I don't know if the new module will fix your problem, but it shouldn't hurt.


Comment on Re: Ispell did it in my code with a broken pipe, anyone got a clue?
Select or Download Code
Re: Re: Ispell did it in my code with a broken pipe, anyone got a clue?
by jonjacobmoon (Pilgrim) on Feb 13, 2002 at 03:38 UTC
    Well, when I do a whereis I only get one version, but mine is linked to aspell and acccording to the documentation on ispell home page, nis2002 is valid.

    However, your output without the aspell connection might have revealed the clue. Text::Ispell apparently gets confused by the connection with aspell. I used Lingua::Ispell per your suggetion, and it worked. IT WORKED! Man, I feel stupid when the answer is that simple.

    Chipmunk gets major ++ in my book!


    I admit it, I am Paco.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://145052]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-07-13 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls