in reply to adding to an ispell dictionary
When I go to my home directory, I find that "shrdlu" has been added to the file .ispell_english.use strict; use Lingua::Ispell qw( :all ); # import all symbols add_word_lc("shrdlu"); for my $r ( spellcheck( "hello hacking perl shrdlu 42" ) ) { print "$r->{'type'}: $r->{'term'}\n"; }
I think what you will need is to specify a use_personal_dictionary, giving a file that can be written from your web browser interface, before attempting to add words.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: adding to an ispell dictionary
by cbro (Pilgrim) on Apr 15, 2003 at 14:45 UTC | |
|
Re: Re: adding to an ispell dictionary
by CodeJunkie (Monk) on Apr 15, 2003 at 15:03 UTC | |
by tall_man (Parson) on Apr 15, 2003 at 15:16 UTC | |
by cbro (Pilgrim) on Apr 15, 2003 at 15:30 UTC | |
by CodeJunkie (Monk) on Apr 15, 2003 at 15:21 UTC |