Re: Spell Checker!!!

Tarun Dua <[email protected]>
Newsgroups gmane.user-groups.linux.delhi.devel
Organization Linux Delhi
Message-ID <[email protected]>
Gurpreet Sachdeva wrote:

>  
> Trying to make a spell checker utility using Text::Aspell in PERL...
> 
> I followed the instructions in the link:
> 
> http://cpan.uwinnipeg.ca/htdocs/Text-Aspell/README.html
> 
> but unfotunately the things are not working... :(
> 
> Can't locate Text/Aspell.pm in @INC (@INC contains: c:/Perl/lib
> c:/Perl/site/lib .) at c:\DOCUME~1\ADMINI~1\Desktop\test.pl line 1. BEGIN
> failed--compilation aborted at C:\DOCUME~1\ADMINI~1\Desktop\test.pl line

Locate the Text/Aspell.pm on your computer. 
Use something like 
BEGIN{unshift(@INC,"<the dircontaning Text/Aspell.pm>")} in the begining of
your program.
Needless to say you need to have the GNU Aspell library installed.

-Tarun
-- 
        "What's that thing?"
        "Well, it's a highly technical, sensitive instrument we use in
computer repair.  Being a layman, you probably can't grasp exactly what
it does.  We call it a two-by-four."
                -- Jeff MacNelley, "Shoe"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.