Skip Menu |

This queue is for tickets about the WordNet-SenseRelate-AllWords CPAN distribution.

Report information
The Basics
Id: 34686
Status: resolved
Priority: 0/
Queue: WordNet-SenseRelate-AllWords

People
Owner: Nobody in particular
Requestors: davidl [...] softintel.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: WordNet SenseRelate
Date: Fri, 04 Apr 2008 17:22:30 -0400
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: David Laxer <davidl [...] softintel.com>
Hi, I had an installation issue with WordNet SenseRelate. [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v #1 SMP Tue Feb 12 17:55:01 EST 2008 [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/config_fail.......................ok t/disamb............................ok 2/13 t/disamb............................NOK 13# Failed test in t/disamb.t at line 61. # got: 'bank#n#8' # expected: 'bank#n#6' # Looks like you failed 1 test of 13. t/disamb............................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 13 Failed 1/13 tests, 92.31% okay t/targetpos.........................ok t/WordNet-SenseRelate-TargetWord....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/disamb.t 1 256 13 1 7.69% 13 Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. make: *** [test_dynamic] Error 255 [root@BlueMeanie trading]# !! perl testSenseRelate.pl Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at testSenseRelate.pl line 2. BEGIN failed--compilation aborted at testSenseRelate.pl line 2. Thanks in Advance, -Dave
CC: davidl [...] softintel.com, "Sidhartha Patwardhan" <sidd [...] cs.utah.edu>, "Varada Kolhatkar" <kolha002 [...] d.umn.edu>
Subject: Re: [rt.cpan.org #34686] WordNet SenseRelate
Date: Fri, 4 Apr 2008 16:51:27 -0500
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: "Ted Pedersen" <duluthted [...] gmail.com>
Hi David, Thanks for this bug report....I just wanted to double check, this this for WordNet-SenseRelate-TargetWord? It got sent to the AllWords bug list, but the output looks like TargetWord. Also, the perl testSenseRelate.pl command, I'm actually not sure where testSenseRelate.pl comes from... sorry, I guess I should know that but could you let me know what that is? Finally, which version of WordNet are you using? Thanks! Ted On Fri, Apr 4, 2008 at 4:22 PM, David Laxer via RT <bug-WordNet-SenseRelate-AllWords@rt.cpan.org> wrote: Show quoted text
> > Fri Apr 04 17:22:53 2008: Request 34686 was acted upon. > Transaction: Ticket created by davidl@softintel.com > Queue: WordNet-SenseRelate-AllWords > Subject: WordNet SenseRelate > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: davidl@softintel.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > > > Hi, > > I had an installation issue with WordNet SenseRelate. > > [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v > #1 SMP Tue Feb 12 17:55:01 EST 2008 > [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a > Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 > 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v > > This is perl, v5.8.8 built for x86_64-linux-thread-multi > > > [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/config_fail.......................ok > > t/disamb............................ok > 2/13 > t/disamb............................NOK 13# Failed test in t/disamb.t > at line 61. > # got: 'bank#n#8' > # expected: 'bank#n#6' > # Looks like you failed 1 test of 13. > t/disamb............................dubious > > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 13 > Failed 1/13 tests, 92.31% okay > t/targetpos.........................ok > > t/WordNet-SenseRelate-TargetWord....ok > > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/disamb.t 1 256 13 1 7.69% 13 > Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. > make: *** [test_dynamic] Error 255 > > [root@BlueMeanie trading]# !! > perl testSenseRelate.pl > Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains: > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi > /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi > /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 > /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 > /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi > /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi > /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 > /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) > at testSenseRelate.pl line 2. > BEGIN failed--compilation aborted at testSenseRelate.pl line 2. > > Thanks in Advance, > -Dave > > >
-- Ted Pedersen http://www.d.umn.edu/~tpederse
Subject: Re: [rt.cpan.org #34686] WordNet SenseRelate
Date: Fri, 04 Apr 2008 20:12:51 -0400
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: David Laxer <davidl [...] softintel.com>
Hi Ted, Thanks for the quick reply. Sorry, it's for WordNet-SenseRelate-TargetWord-0.09. testSenseRelate.pl is my simple test program (attached). WordNet 3.0 Thanks, -Dave Ted Pedersen via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > > Hi David, > > Thanks for this bug report....I just wanted to double check, this this for > WordNet-SenseRelate-TargetWord? It got sent to the AllWords bug > list, but the output looks like TargetWord. > > Also, the > > perl testSenseRelate.pl > > command, I'm actually not sure where testSenseRelate.pl comes from... > sorry, I guess I should know that but could you let me know what that > is? > > Finally, which version of WordNet are you using? > > Thanks! > Ted > > On Fri, Apr 4, 2008 at 4:22 PM, David Laxer via RT > <bug-WordNet-SenseRelate-AllWords@rt.cpan.org> wrote: >
>> Fri Apr 04 17:22:53 2008: Request 34686 was acted upon. >> Transaction: Ticket created by davidl@softintel.com >> Queue: WordNet-SenseRelate-AllWords >> Subject: WordNet SenseRelate >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: davidl@softintel.com >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > >> >> >> Hi, >> >> I had an installation issue with WordNet SenseRelate. >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v >> #1 SMP Tue Feb 12 17:55:01 EST 2008 >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a >> Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 >> 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v >> >> This is perl, v5.8.8 built for x86_64-linux-thread-multi >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> t/config_fail.......................ok >> >> t/disamb............................ok >> 2/13 >> t/disamb............................NOK 13# Failed test in t/disamb.t >> at line 61. >> # got: 'bank#n#8' >> # expected: 'bank#n#6' >> # Looks like you failed 1 test of 13. >> t/disamb............................dubious >> >> Test returned status 1 (wstat 256, 0x100) >> DIED. FAILED test 13 >> Failed 1/13 tests, 92.31% okay >> t/targetpos.........................ok >> >> t/WordNet-SenseRelate-TargetWord....ok >> >> Failed Test Stat Wstat Total Fail Failed List of Failed >> ------------------------------------------------------------------------------- >> t/disamb.t 1 256 13 1 7.69% 13 >> Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. >> make: *** [test_dynamic] Error 255 >> >> [root@BlueMeanie trading]# !! >> perl testSenseRelate.pl >> Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains: >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi >> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi >> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi >> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi >> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 >> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 >> /usr/lib/perl5/site_perl >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi >> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi >> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi >> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi >> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 >> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 >> /usr/lib/perl5/vendor_perl >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) >> at testSenseRelate.pl line 2. >> BEGIN failed--compilation aborted at testSenseRelate.pl line 2. >> >> Thanks in Advance, >> -Dave >> >> >> >>
> > > >
use WordNet::SenseRelate::AllWords; use WordNet::QueryData; my $qd = WordNet::QueryData->new; defined $qd or die "Construction of WordNet::QueryData failed"; my $wsd = WordNet::SenseRelate::AllWords->new (wordnet => $qd, measure => 'WordNet::Similarity::lesk'); my @context = qw/the bridge is held up by red_tape/; my @results = $wsd->disambiguate (window => 3, context => [@context]); print "@results\n";
CC: "Varada Kolhatkar" <kolha002 [...] d.umn.edu>, "Sidhartha Patwardhan" <sidd [...] cs.utah.edu>
Subject: Re: [rt.cpan.org #34686] WordNet SenseRelate
Date: Fri, 4 Apr 2008 21:17:27 -0500
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: "Ted Pedersen" <duluthted [...] gmail.com>
Thanks got the followup David. See comments inline relative to your original report... Show quoted text
> > On Fri, Apr 4, 2008 at 4:22 PM, David Laxer via RT
> >> Hi, > >> > >> I had an installation issue with WordNet SenseRelate. > >> > >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v > >> #1 SMP Tue Feb 12 17:55:01 EST 2008
Show quoted text
> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a > >> Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 > >> 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v > >> > >> This is perl, v5.8.8 built for x86_64-linux-thread-multi > >> > >> > >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test > >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >> t/config_fail.......................ok > >> > >> t/disamb............................ok > >> 2/13 > >> t/disamb............................NOK 13# Failed test in t/disamb.t > >> at line 61. > >> # got: 'bank#n#8' > >> # expected: 'bank#n#6'
This kind of error is unfortunately somewhat common. The results of the method are at times a little dependent on the particular version of WordNet you are using, because with each version Change there are some changes made to the ordering of senses, and some senses are added or combined. I think that TargetWord probably was tested based on WordNet 2.1, and if you are using the more current version of WordNet (3.0) then there might be some differences of this sort. In general the above error should not concern you too much, we actually need to improve our testing procedure a bit to make it more sensitive to the particular version of WordNet a user has. Show quoted text
> >> # Looks like you failed 1 test of 13. > >> t/disamb............................dubious > >> > >> Test returned status 1 (wstat 256, 0x100) > >> DIED. FAILED test 13 > >> Failed 1/13 tests, 92.31% okay > >> t/targetpos.........................ok > >> > >> t/WordNet-SenseRelate-TargetWord....ok > >> > >> Failed Test Stat Wstat Total Fail Failed List of Failed > >> ------------------------------------------------------------------------------- > >> t/disamb.t 1 256 13 1 7.69% 13 > >> Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. > >> make: *** [test_dynamic] Error 255 > >> > >> [root@BlueMeanie trading]# !! > >> perl testSenseRelate.pl > >> Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains:
Your program testSenserelate.pl is actually wanting to use our AllWords module (instead of target word) so you would need to install AllWords to run that program (and if you did I think it would work! :) Otherwise, if you want a test program for target word, you may want to modify one of the programs in our /t directory : http://search.cpan.org/src/SID/WordNet-SenseRelate-TargetWord-0.09/t/ Those should help get you started, and in reviewing our synopsis example for TargetWord we might want to make that a little easier to "cut, paste, and run". I hope this helps, and we are glad to know you are testing out these packages. Please do let us know if further questions arise. Cordially, Ted Show quoted text
> >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > >> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi > >> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi > >> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi > >> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 > >> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 > >> /usr/lib/perl5/site_perl > >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > >> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi > >> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi > >> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi > >> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 > >> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > >> /usr/lib/perl5/vendor_perl > >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) > >> at testSenseRelate.pl line 2. > >> BEGIN failed--compilation aborted at testSenseRelate.pl line 2. > >> > >> Thanks in Advance, > >> -Dave > >> > >> > >> > >>
> > > > > > > >
> >
-- Ted Pedersen http://www.d.umn.edu/~tpederse
Subject: Re: [rt.cpan.org #34686] WordNet SenseRelate
Date: Sat, 05 Apr 2008 07:11:31 -0400
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: David Laxer <davidl [...] softintel.com>
Sorry if I'm sending this to the wrong place (I didn't see a place to 'reply' in http://rt.cpan.org/Public/Bug/Display.html?id=34686 [root@BlueMeanie WordNet-SenseRelate-AllWords-0.08]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/WordNet-SenseRelate-AllWords....NOK 25 # Failed test in t/WordNet-SenseRelate-AllWords.t at line 116. # got: 'fire#n#2' # expected: 'fire#n#3' t/WordNet-SenseRelate-AllWords....ok 27/30# Looks like you failed 1 test of 30. t/WordNet-SenseRelate-AllWords....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 25 Failed 1/30 tests, 96.67% okay t/wsd.............................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/WordNet-SenseRelate-AllWords.t 1 256 30 1 3.33% 25 Failed 1/2 test scripts, 50.00% okay. 1/37 subtests failed, 97.30% okay. make: *** [test_dynamic] Error 255 Thanks! -Dave Ted Pedersen via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > > Thanks got the followup David. > > See comments inline relative to your original report... > >
>> > On Fri, Apr 4, 2008 at 4:22 PM, David Laxer via RT
>> >> Hi, >> >> >> >> I had an installation issue with WordNet SenseRelate. >> >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v >> >> #1 SMP Tue Feb 12 17:55:01 EST 2008
>>
> >
>> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a >> >> Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 >> >> 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v >> >> >> >> This is perl, v5.8.8 built for x86_64-linux-thread-multi >> >> >> >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> >> t/config_fail.......................ok >> >> >> >> t/disamb............................ok >> >> 2/13 >> >> t/disamb............................NOK 13# Failed test in t/disamb.t >> >> at line 61. >> >> # got: 'bank#n#8' >> >> # expected: 'bank#n#6'
>>
> > > This kind of error is unfortunately somewhat common. The results of the method > are at times a little dependent on the particular version of WordNet > you are using, > because with each version Change there are some changes made to the ordering > of senses, and some senses are added or combined. I think that TargetWord > probably was tested based on WordNet 2.1, and if you are using the more current > version of WordNet (3.0) then there might be some differences of this sort. > > In general the above error should not concern you too much, we actually need to > improve our testing procedure a bit to make it more sensitive to the particular > version of WordNet a user has. > >
>> >> # Looks like you failed 1 test of 13. >> >> t/disamb............................dubious >> >> >> >> Test returned status 1 (wstat 256, 0x100) >> >> DIED. FAILED test 13 >> >> Failed 1/13 tests, 92.31% okay >> >> t/targetpos.........................ok >> >> >> >> t/WordNet-SenseRelate-TargetWord....ok >> >> >> >> Failed Test Stat Wstat Total Fail Failed List of Failed >> >> ------------------------------------------------------------------------------- >> >> t/disamb.t 1 256 13 1 7.69% 13 >> >> Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. >> >> make: *** [test_dynamic] Error 255 >> >> >> >> [root@BlueMeanie trading]# !! >> >> perl testSenseRelate.pl >> >> Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains:
>>
> > Your program testSenserelate.pl is actually wanting to use our > AllWords module (instead > of target word) so you would need to install AllWords to run that > program (and if you > did I think it would work! :) > > Otherwise, if you want a test program for target word, you may want to > modify one of the > programs in our /t directory : > > http://search.cpan.org/src/SID/WordNet-SenseRelate-TargetWord-0.09/t/ > > Those should help get you started, and in reviewing our synopsis > example for TargetWord > we might want to make that a little easier to "cut, paste, and run". > > I hope this helps, and we are glad to know you are testing out these > packages. Please do > let us know if further questions arise. > > Cordially, > Ted > >
>> >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi >> >> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi >> >> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi >> >> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi >> >> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 >> >> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 >> >> /usr/lib/perl5/site_perl >> >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi >> >> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi >> >> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi >> >> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi >> >> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 >> >> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 >> >> /usr/lib/perl5/vendor_perl >> >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) >> >> at testSenseRelate.pl line 2. >> >> BEGIN failed--compilation aborted at testSenseRelate.pl line 2. >> >> >> >> Thanks in Advance, >> >> -Dave >> >> >> >> >> >> >> >>
>> > >> > >> > >> >
>> >> >>
> > > >
CC: "Varada Kolhatkar" <kolha002 [...] d.umn.edu>, "Sidhartha Patwardhan" <sidd [...] cs.utah.edu>
Subject: Re: [rt.cpan.org #34686] WordNet SenseRelate
Date: Sat, 5 Apr 2008 10:00:56 -0500
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: "Ted Pedersen" <duluthted [...] gmail.com>
Thanks for this report David. This is another WordNet version issue, in that the results do vary a little bit from version to version (of WordNet). Which version of WordNet are you using, btw? That will be useful to know as we add some version specific information to these tests. If you aren't sure, you could run the following on your system and report the results back: #!/usr/bin/perl -w use WordNet::QueryData; my $wn = WordNet::QueryData->new(); print($wn->dataPath()."\n"); Thanks! Ted On Sat, Apr 5, 2008 at 6:12 AM, David Laxer via RT <bug-WordNet-SenseRelate-AllWords@rt.cpan.org> wrote: Show quoted text
> > Queue: WordNet-SenseRelate-AllWords > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > > Sorry if I'm sending this to the wrong place (I didn't see a place to > 'reply' in > http://rt.cpan.org/Public/Bug/Display.html?id=34686 > > [root@BlueMeanie WordNet-SenseRelate-AllWords-0.08]# make test > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/WordNet-SenseRelate-AllWords....NOK > 25 > # Failed test in t/WordNet-SenseRelate-AllWords.t at line 116. > # got: 'fire#n#2' > # expected: 'fire#n#3' > t/WordNet-SenseRelate-AllWords....ok 27/30# Looks like you failed 1 test > of 30. > t/WordNet-SenseRelate-AllWords....dubious > > > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 25 > Failed 1/30 tests, 96.67% okay > t/wsd.............................ok > > > Failed Test Stat Wstat Total Fail Failed List of > Failed > ------------------------------------------------------------------------------- > t/WordNet-SenseRelate-AllWords.t 1 256 30 1 3.33% 25 > Failed 1/2 test scripts, 50.00% okay. 1/37 subtests failed, 97.30% okay. > > make: *** [test_dynamic] Error 255 > > > Thanks! > -Dave > > > Ted Pedersen via RT wrote: > >
> > Thanks got the followup David.
> > > > See comments inline relative to your original report... > > > >
> >> > On Fri, Apr 4, 2008 at 4:22 PM, David Laxer via RT
> >> >> Hi, > >> >> > >> >> I had an installation issue with WordNet SenseRelate. > >> >> > >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v > >> >> #1 SMP Tue Feb 12 17:55:01 EST 2008
> >>
> > > >
> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a > >> >> Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 > >> >> 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v > >> >> > >> >> This is perl, v5.8.8 built for x86_64-linux-thread-multi > >> >> > >> >> > >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test > >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >> >> t/config_fail.......................ok > >> >> > >> >> t/disamb............................ok > >> >> 2/13 > >> >> t/disamb............................NOK 13# Failed test in t/disamb.t > >> >> at line 61. > >> >> # got: 'bank#n#8' > >> >> # expected: 'bank#n#6'
> >>
> > > > > > This kind of error is unfortunately somewhat common. The results of the method > > are at times a little dependent on the particular version of WordNet > > you are using, > > because with each version Change there are some changes made to the ordering > > of senses, and some senses are added or combined. I think that TargetWord > > probably was tested based on WordNet 2.1, and if you are using the more current > > version of WordNet (3.0) then there might be some differences of this sort. > > > > In general the above error should not concern you too much, we actually need to > > improve our testing procedure a bit to make it more sensitive to the particular > > version of WordNet a user has. > > > >
> >> >> # Looks like you failed 1 test of 13. > >> >> t/disamb............................dubious > >> >> > >> >> Test returned status 1 (wstat 256, 0x100) > >> >> DIED. FAILED test 13 > >> >> Failed 1/13 tests, 92.31% okay > >> >> t/targetpos.........................ok > >> >> > >> >> t/WordNet-SenseRelate-TargetWord....ok > >> >> > >> >> Failed Test Stat Wstat Total Fail Failed List of Failed > >> >> ------------------------------------------------------------------------------- > >> >> t/disamb.t 1 256 13 1 7.69% 13 > >> >> Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. > >> >> make: *** [test_dynamic] Error 255 > >> >> > >> >> [root@BlueMeanie trading]# !! > >> >> perl testSenseRelate.pl > >> >> Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains:
> >>
> > > > Your program testSenserelate.pl is actually wanting to use our > > AllWords module (instead > > of target word) so you would need to install AllWords to run that > > program (and if you > > did I think it would work! :) > > > > Otherwise, if you want a test program for target word, you may want to > > modify one of the > > programs in our /t directory : > > > > http://search.cpan.org/src/SID/WordNet-SenseRelate-TargetWord-0.09/t/ > > > > Those should help get you started, and in reviewing our synopsis > > example for TargetWord > > we might want to make that a little easier to "cut, paste, and run". > > > > I hope this helps, and we are glad to know you are testing out these > > packages. Please do > > let us know if further questions arise. > > > > Cordially, > > Ted > > > >
> >> >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > >> >> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi > >> >> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi > >> >> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi > >> >> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 > >> >> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 > >> >> /usr/lib/perl5/site_perl > >> >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > >> >> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi > >> >> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi > >> >> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi > >> >> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 > >> >> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > >> >> /usr/lib/perl5/vendor_perl > >> >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) > >> >> at testSenseRelate.pl line 2. > >> >> BEGIN failed--compilation aborted at testSenseRelate.pl line 2. > >> >> > >> >> Thanks in Advance, > >> >> -Dave > >> >> > >> >> > >> >> > >> >>
> >> > > >> > > >> > > >> >
> >> > >> > >>
> > > > > > > >
> >
-- Ted Pedersen http://www.d.umn.edu/~tpederse
Subject: Re: [rt.cpan.org #34686] WordNet SenseRelate
Date: Tue, 08 Apr 2008 10:29:23 -0400
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: David Laxer <davidl [...] softintel.com>
Hi Ted, I have a question which is tangential to WordNet-SenseRelate-AllWords(). Do you know of any software or research on finding the distance between set of disambiguated WordNet senses, possibly arranged in trees or graphs? Thanks in Advance, -Dave Ted Pedersen via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > > Thanks for this report David. > > This is another WordNet version issue, in that the results do vary a > little bit from > version to version (of WordNet). > > Which version of WordNet are you using, btw? That will be useful to know as we > add some version specific information to these tests. If you aren't > sure, you could > run the following on your system and report the results back: > > #!/usr/bin/perl -w > > use WordNet::QueryData; > my $wn = WordNet::QueryData->new(); > > print($wn->dataPath()."\n"); > > Thanks! > Ted > > On Sat, Apr 5, 2008 at 6:12 AM, David Laxer via RT > <bug-WordNet-SenseRelate-AllWords@rt.cpan.org> wrote: >
>> Queue: WordNet-SenseRelate-AllWords >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > >> >> Sorry if I'm sending this to the wrong place (I didn't see a place to >> 'reply' in >> http://rt.cpan.org/Public/Bug/Display.html?id=34686 >> >> [root@BlueMeanie WordNet-SenseRelate-AllWords-0.08]# make test >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> t/WordNet-SenseRelate-AllWords....NOK >> 25 >> # Failed test in t/WordNet-SenseRelate-AllWords.t at line 116. >> # got: 'fire#n#2' >> # expected: 'fire#n#3' >> t/WordNet-SenseRelate-AllWords....ok 27/30# Looks like you failed 1 test >> of 30. >> t/WordNet-SenseRelate-AllWords....dubious >> >> >> Test returned status 1 (wstat 256, 0x100) >> DIED. FAILED test 25 >> Failed 1/30 tests, 96.67% okay >> t/wsd.............................ok >> >> >> Failed Test Stat Wstat Total Fail Failed List of >> Failed >> ------------------------------------------------------------------------------- >> t/WordNet-SenseRelate-AllWords.t 1 256 30 1 3.33% 25 >> Failed 1/2 test scripts, 50.00% okay. 1/37 subtests failed, 97.30% okay. >> >> make: *** [test_dynamic] Error 255 >> >> >> Thanks! >> -Dave >> >> >> Ted Pedersen via RT wrote: >> >> >>
>>> Thanks got the followup David. >>>
>> > >> > See comments inline relative to your original report... >> > >> >
>> >> > On Fri, Apr 4, 2008 at 4:22 PM, David Laxer via RT
>> >> >> Hi, >> >> >> >> >> >> I had an installation issue with WordNet SenseRelate. >> >> >> >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v >> >> >> #1 SMP Tue Feb 12 17:55:01 EST 2008
>> >>
>> > >> >
>> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a >> >> >> Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 >> >> >> 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v >> >> >> >> >> >> This is perl, v5.8.8 built for x86_64-linux-thread-multi >> >> >> >> >> >> >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test >> >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >> >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >> >> >> t/config_fail.......................ok >> >> >> >> >> >> t/disamb............................ok >> >> >> 2/13 >> >> >> t/disamb............................NOK 13# Failed test in t/disamb.t >> >> >> at line 61. >> >> >> # got: 'bank#n#8' >> >> >> # expected: 'bank#n#6'
>> >>
>> > >> > >> > This kind of error is unfortunately somewhat common. The results of the method >> > are at times a little dependent on the particular version of WordNet >> > you are using, >> > because with each version Change there are some changes made to the ordering >> > of senses, and some senses are added or combined. I think that TargetWord >> > probably was tested based on WordNet 2.1, and if you are using the more current >> > version of WordNet (3.0) then there might be some differences of this sort. >> > >> > In general the above error should not concern you too much, we actually need to >> > improve our testing procedure a bit to make it more sensitive to the particular >> > version of WordNet a user has. >> > >> >
>> >> >> # Looks like you failed 1 test of 13. >> >> >> t/disamb............................dubious >> >> >> >> >> >> Test returned status 1 (wstat 256, 0x100) >> >> >> DIED. FAILED test 13 >> >> >> Failed 1/13 tests, 92.31% okay >> >> >> t/targetpos.........................ok >> >> >> >> >> >> t/WordNet-SenseRelate-TargetWord....ok >> >> >> >> >> >> Failed Test Stat Wstat Total Fail Failed List of Failed >> >> >> ------------------------------------------------------------------------------- >> >> >> t/disamb.t 1 256 13 1 7.69% 13 >> >> >> Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. >> >> >> make: *** [test_dynamic] Error 255 >> >> >> >> >> >> [root@BlueMeanie trading]# !! >> >> >> perl testSenseRelate.pl >> >> >> Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains:
>> >>
>> > >> > Your program testSenserelate.pl is actually wanting to use our >> > AllWords module (instead >> > of target word) so you would need to install AllWords to run that >> > program (and if you >> > did I think it would work! :) >> > >> > Otherwise, if you want a test program for target word, you may want to >> > modify one of the >> > programs in our /t directory : >> > >> > http://search.cpan.org/src/SID/WordNet-SenseRelate-TargetWord-0.09/t/ >> > >> > Those should help get you started, and in reviewing our synopsis >> > example for TargetWord >> > we might want to make that a little easier to "cut, paste, and run". >> > >> > I hope this helps, and we are glad to know you are testing out these >> > packages. Please do >> > let us know if further questions arise. >> > >> > Cordially, >> > Ted >> > >> >
>> >> >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi >> >> >> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi >> >> >> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi >> >> >> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi >> >> >> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 >> >> >> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 >> >> >> /usr/lib/perl5/site_perl >> >> >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi >> >> >> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi >> >> >> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi >> >> >> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi >> >> >> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 >> >> >> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 >> >> >> /usr/lib/perl5/vendor_perl >> >> >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) >> >> >> at testSenseRelate.pl line 2. >> >> >> BEGIN failed--compilation aborted at testSenseRelate.pl line 2. >> >> >> >> >> >> Thanks in Advance, >> >> >> -Dave >> >> >> >> >> >> >> >> >> >> >> >>
>> >> > >> >> > >> >> > >> >> >
>> >> >> >> >> >>
>> > >> > >> > >> >
>> >> >>
> > > >
Subject: Re: [rt.cpan.org #34686] WordNet SenseRelate
Date: Tue, 8 Apr 2008 12:26:24 -0500
To: bug-WordNet-SenseRelate-AllWords [...] rt.cpan.org
From: "Ted Pedersen" <duluthted [...] gmail.com>
Hi David, In fact I think WordNet-Similarity might do part of what you are asking. The similarity and relatedness values that it provides could be viewed as a distance, especially the measures that are based on path length (like wup, path, lch...) http://search.cpan.org/dist/WordNet-Similarity I hope this helps. This is what we use for AllWords, btw, so if you have AllWords running it should already be installed for you! Feel free to let us know if you have any questions on this. Good luck, Ted On Tue, Apr 8, 2008 at 9:29 AM, David Laxer via RT <bug-WordNet-SenseRelate-AllWords@rt.cpan.org> wrote: Show quoted text
> > Queue: WordNet-SenseRelate-AllWords > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > > Hi Ted, > > I have a question which is tangential to WordNet-SenseRelate-AllWords(). > Do you know of any software or research on finding the distance between > set of disambiguated WordNet senses, > possibly arranged in trees or graphs? > > Thanks in Advance, > -Dave > > > > Ted Pedersen via RT wrote:
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > > > > Thanks for this report David. > > > > This is another WordNet version issue, in that the results do vary a > > little bit from > > version to version (of WordNet). > > > > Which version of WordNet are you using, btw? That will be useful to know as we > > add some version specific information to these tests. If you aren't > > sure, you could > > run the following on your system and report the results back: > > > > #!/usr/bin/perl -w > > > > use WordNet::QueryData; > > my $wn = WordNet::QueryData->new(); > > > > print($wn->dataPath()."\n"); > > > > Thanks! > > Ted > > > > On Sat, Apr 5, 2008 at 6:12 AM, David Laxer via RT > > <bug-WordNet-SenseRelate-AllWords@rt.cpan.org> wrote: > >
> >> Queue: WordNet-SenseRelate-AllWords > >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=34686 > > >> > >> Sorry if I'm sending this to the wrong place (I didn't see a place to > >> 'reply' in > >> http://rt.cpan.org/Public/Bug/Display.html?id=34686 > >> > >> [root@BlueMeanie WordNet-SenseRelate-AllWords-0.08]# make test > >> > >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >> t/WordNet-SenseRelate-AllWords....NOK > >> 25 > >> # Failed test in t/WordNet-SenseRelate-AllWords.t at line 116. > >> # got: 'fire#n#2' > >> # expected: 'fire#n#3' > >> t/WordNet-SenseRelate-AllWords....ok 27/30# Looks like you failed 1 test > >> of 30. > >> t/WordNet-SenseRelate-AllWords....dubious > >> > >> > >> Test returned status 1 (wstat 256, 0x100) > >> DIED. FAILED test 25 > >> Failed 1/30 tests, 96.67% okay > >> t/wsd.............................ok > >> > >> > >> Failed Test Stat Wstat Total Fail Failed List of > >> Failed > >> ------------------------------------------------------------------------------- > >> t/WordNet-SenseRelate-AllWords.t 1 256 30 1 3.33% 25 > >> Failed 1/2 test scripts, 50.00% okay. 1/37 subtests failed, 97.30% okay. > >> > >> make: *** [test_dynamic] Error 255 > >> > >> > >> Thanks! > >> -Dave > >> > >> > >> Ted Pedersen via RT wrote: > >> > >> > >>
> >>> Thanks got the followup David. > >>>
> >> > > >> > See comments inline relative to your original report... > >> > > >> >
> >> >> > On Fri, Apr 4, 2008 at 4:22 PM, David Laxer via RT
> >> >> >> Hi, > >> >> >> > >> >> >> I had an installation issue with WordNet SenseRelate. > >> >> >> > >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -v > >> >> >> #1 SMP Tue Feb 12 17:55:01 EST 2008
> >> >>
> >> > > >> >
> >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# uname -a > >> >> >> Linux BlueMeanie.home.locallan 2.6.18-53.1.13.0.1.el5 #1 SMP Tue Feb 12 > >> >> >> 17:55:01 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# perl -v > >> >> >> > >> >> >> This is perl, v5.8.8 built for x86_64-linux-thread-multi > >> >> >> > >> >> >> > >> >> >> [root@BlueMeanie WordNet-SenseRelate-TargetWord-0.09]# make test > >> >> >> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > >> >> >> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > >> >> >> t/config_fail.......................ok > >> >> >> > >> >> >> t/disamb............................ok > >> >> >> 2/13 > >> >> >> t/disamb............................NOK 13# Failed test in t/disamb.t > >> >> >> at line 61. > >> >> >> # got: 'bank#n#8' > >> >> >> # expected: 'bank#n#6'
> >> >>
> >> > > >> > > >> > This kind of error is unfortunately somewhat common. The results of the method > >> > are at times a little dependent on the particular version of WordNet > >> > you are using, > >> > because with each version Change there are some changes made to the ordering > >> > of senses, and some senses are added or combined. I think that TargetWord > >> > probably was tested based on WordNet 2.1, and if you are using the more current > >> > version of WordNet (3.0) then there might be some differences of this sort. > >> > > >> > In general the above error should not concern you too much, we actually need to > >> > improve our testing procedure a bit to make it more sensitive to the particular > >> > version of WordNet a user has. > >> > > >> >
> >> >> >> # Looks like you failed 1 test of 13. > >> >> >> t/disamb............................dubious > >> >> >> > >> >> >> Test returned status 1 (wstat 256, 0x100) > >> >> >> DIED. FAILED test 13 > >> >> >> Failed 1/13 tests, 92.31% okay > >> >> >> t/targetpos.........................ok > >> >> >> > >> >> >> t/WordNet-SenseRelate-TargetWord....ok > >> >> >> > >> >> >> Failed Test Stat Wstat Total Fail Failed List of Failed > >> >> >> ------------------------------------------------------------------------------- > >> >> >> t/disamb.t 1 256 13 1 7.69% 13 > >> >> >> Failed 1/4 test scripts, 75.00% okay. 1/67 subtests failed, 98.51% okay. > >> >> >> make: *** [test_dynamic] Error 255 > >> >> >> > >> >> >> [root@BlueMeanie trading]# !! > >> >> >> perl testSenseRelate.pl > >> >> >> Can't locate WordNet/SenseRelate/AllWords.pm in @INC (@INC contains:
> >> >>
> >> > > >> > Your program testSenserelate.pl is actually wanting to use our > >> > AllWords module (instead > >> > of target word) so you would need to install AllWords to run that > >> > program (and if you > >> > did I think it would work! :) > >> > > >> > Otherwise, if you want a test program for target word, you may want to > >> > modify one of the > >> > programs in our /t directory : > >> > > >> > http://search.cpan.org/src/SID/WordNet-SenseRelate-TargetWord-0.09/t/ > >> > > >> > Those should help get you started, and in reviewing our synopsis > >> > example for TargetWord > >> > we might want to make that a little easier to "cut, paste, and run". > >> > > >> > I hope this helps, and we are glad to know you are testing out these > >> > packages. Please do > >> > let us know if further questions arise. > >> > > >> > Cordially, > >> > Ted > >> > > >> >
> >> >> >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > >> >> >> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi > >> >> >> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi > >> >> >> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi > >> >> >> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 > >> >> >> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 > >> >> >> /usr/lib/perl5/site_perl > >> >> >> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > >> >> >> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi > >> >> >> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi > >> >> >> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi > >> >> >> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 > >> >> >> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > >> >> >> /usr/lib/perl5/vendor_perl > >> >> >> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) > >> >> >> at testSenseRelate.pl line 2. > >> >> >> BEGIN failed--compilation aborted at testSenseRelate.pl line 2. > >> >> >> > >> >> >> Thanks in Advance, > >> >> >> -Dave > >> >> >> > >> >> >> > >> >> >> > >> >> >>
> >> >> > > >> >> > > >> >> > > >> >> >
> >> >> > >> >> > >> >>
> >> > > >> > > >> > > >> >
> >> > >> > >>
> > > > > > > >
> >
-- Ted Pedersen http://www.d.umn.edu/~tpederse
The bug in WordNet::SenseRelate::AllWords testing has been resolved in the just released version 0.09. The problem was that we used a now deprecated method in WordNet::QueryData for determining the WordNet version, and this no longer provides reliable results. We've changed our method of identifying the WordNet version to that used in WordNet::Similarity, which is to use a SHA1 key based on the WordNet distribution as the identifying key. We now run tests that are appropriate for the version of WordNet that a user has, hopefully eliminating any misleading error messages. Thanks! Ted