Hi, everybody!
Has anybody had any problems with using Lingua::Wordnet on Linux? I
have. I can't even open a dictionary.
My script fails creating a Lingua::Wordnet object.
[EMAIL PROTECTED] ~]$ cat test.pl
#!/usr/bin/perl -w -Ilib
use Lingua::Wordnet;
Lingua::Wordnet->new('lib/Lingua/dict');
[EMAIL PROTECTED] ~]$ perl test.pl
Unable to load lib/Lingua/dict/lingua_wordnet.index: at
lib/Lingua/Wordnet.pm line 367.
Wordnet.pm:
...
367: $self->{indexobj} = tie %{$self->{indexhash}},
368: "DB_File", "$datapath/lingua_wordnet.index",
369: O_RDWR, 0666, $DB_BTREE or
370: die "Unable to load $datapath/lingua_wordnet.index: $!";
...
Note that there's no error description after colon ($! was empty).
I don't know what's wrong, but the same thing works just fine on my
FreeBSD box.
Is it an OS issue? AFAIK (as I'm not an administrator) there's no any
resource limitation.
Any thoughts?
Thanks in advance!
Any help would be greatly appreciated.
--
Regards
Eugene Kosov
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>