Dear all
I'm a beginner!
I use winxp and installed wordnet2.1 so I installed
perl5(activeperl) , and then according to readme did these steps:
first I downloaded WordNet-QueryData-1.45.tar.gz then:
1) Unpack the WordNet QueryData distribution
2) Create the directory C:\perl\site\lib\WordNet
3) Copy QueryData.pm to C:\perl\site\lib\WordNet
4) Run "test.pl" to test the installation
I didnt do "make installation" step! because I'm not sure it is
necessary or not, and ofcourse I dont know how should I do in this
step. Is my installation complete or not?
--
You received this message because you are subscribed to the Google Groups "wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to wn-perl+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wn-perl?hl=en.
thankyou so much, I think first step is working properly, becase when I run test.pl, I see about 55 lines of ok, but in second step when I type these commands (perl Makefile.pl, make and make test) in comandline, I see this error (attached file),again for reminding, I use windows xp and install activeperl5.12 and wordnet2.1 and working with WordNet-QueryData-1.45. I never use perl and these modules and I'm beginner
absoulutely !!I set path in this way: system properties>advanced tab>Enviroment variables> New>variable name: WNHOMEvariable value: C:\ProgramFiles\WordNet\2.1 (path which is installed)pleas help me.thanks
1. Never just copy files. WordNet::QueryData is pretty straightforward,
but for the majority of modules, you shouldn't do this; you should get
used to doing it the "right" way. In a less friendly forum,
circumventing the standard installation steps may well prevent you from
getting any useful advice.
2. Use whatever package management system your Perl distribution wants
you to use:
i. Many operating systems have packages for modules the same way there's
a package for `perl` itself.
ii. For many other systems, the preferred method is to use the `cpan`
script. (E.g. `cpan install WordNet::QueryData`)
iii. ActivePerl uses its own format. You might want to start at:
http://win32.perl.org/wiki/index.php?title=Main_Page#Beginners
There appears not to be any 'ppm' package for WordNet::QueryData (I
think the tests rely on having an installed WordNet distribution).
Since there's no PPM, you should take the above link's advice and:
ppm install MinGW
That will set your system up with a usable `make` (via dmake), at which
point you can use the standard `cpan` script:
cpan install WordNet::QueryData
Despite several failed tests, this seemed to work fine for me.
--
Best,
Ben
On Sat, 6 Aug 2011, V R wrote:
> thankyou so much, I think first step is working properly, becase when I run
> test.pl, I see about 55 lines of ok, but in second step when I type these
> commands (*perl Makefile.pl*, *make* and *make test*) in comandline, I see
> this error (attached file),
> again for reminding, I use windows xp and install activeperl5.12 and
> wordnet2.1 and working with WordNet-QueryData-1.45. I never use perl and
> these modules and I'm beginner
> absoulutely !!
> I set path in this way: system properties>advanced tab>Enviroment variables>
> New>
> variable name: WNHOME
> variable value: C:\ProgramFiles\WordNet\2.1 (path which is installed)
>
> pleas help me.
> thanks
>
> On Sat, Aug 6, 2011 at 12:42 AM, Jason Rennie <jre...@gmail.com> wrote:
>
>> Hi V R,
>>
>> The keys to using QueryData are:
>>
>> 1. Make sure you have a complete installation of the wordnet databases
>> 2. Make sure QueryData.pl is in your "include" path
>>
>> If the test ran successfully (you see appx. 50 lines of "ok"), #1 should be
>> taken care of. To take care of #2, put QueryData.pl in a standard perl
>> include path or add a "-I" option as mentioned in the README<http://qwone.com/~jason/WordNet/WordNet-QueryData-1.49.readme> ("Custom
thakyou so much, they were usefull for me. I did these steps:first install MinGw by writing "ppm install MinGw" in comandline, you see this in screenshot(33.jpg)then see these folders (37.jpg) so typed some commands with "dmake" as you see in (35.jpg).
so tell me please, Is my installation complete or not??????Thanks alottttt
For more options, visit this group at
http://groups.google.com/group/wn-perl?hl=en.
--
Jason Rennie
Research Scientist
ITA Software by Google
+1 617-446-3651
--
You received this message because you are subscribed to the Google Groups
"wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to
--
You received this message because you are subscribed to the Google Groups "wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to wn-perl+unsubscribe@googlegroups.com.
cpan install WordNet::QueryData
But, you should be fine. Pretty much the simplest test that WN::QD
loads properly and finds the WN dict directory is:
perl -MWordNet::QueryData -lwe "WordNet::QueryData->new"
If you don't get any errors from that, you should be okay.
--
Best,
Ben
> wn-perl+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wn-perl?hl=en.
>
>
>
>
> --
> Jason Rennie
> Research Scientist
> ITA Software by Google
> +1 617-446-3651
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "wn-perl" group.
> To post to this group, send email to wn-...@googlegroups.com.
> To unsubscribe from this group, send email to
> wn-perl+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/wn-perl?hl=en.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "wn-perl" group.
> To post to this group, send email to wn-...@googlegroups.com.
> To unsubscribe from this group, send email to wn-perl+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/wn-perl?hl=en.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "wn-perl" group.
> To post to this group, send email to wn-...@googlegroups.com.
> To unsubscribe from this group, send email to wn-perl+u...@googlegroups.com.
On Tue, 9 Aug 2011, V R wrote:
> thankyou so much, I think every thing is going well.
> as you said I wrote this command and no error is occured. (1.jpg)
> and then I ran a perl program like this:
>
> use WordNet::QueryData;
> my $wn = WordNet::QueryData->new;
>
> foreach $word (qw/boat#n house#n/) {
>
> @senses = $wn->querySense($word);
>
> foreach $wps (@senses) {
> @gloss = $wn -> querySense($wps, "glos");
> print "$wps : @gloss\n";
> }
>
> }
> and so these results (2.jpg)
>
> I think the installation is completed, am I right?
>
> Thankyou so much again.
Yes, it's installed.
For more options, visit this group at
http://groups.google.com/group/wn-perl?hl=en.
--
Jason Rennie
Research Scientist
ITA Software by Google
+1 617-446-3651
--
You received this message because you are subscribed to the Google Groups
"wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/wn-perl?hl=en.
--
You received this message because you are subscribed to the Google Groups "wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to wn-perl+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wn-perl?hl=en.
--
You received this message because you are subscribed to the Google Groups "wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to wn-perl+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wn-perl?hl=en.
--
You received this message because you are subscribed to the Google Groups "wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to wn-perl+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wn-perl?hl=en.
--
You received this message because you are subscribed to the Google Groups "wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to wn-perl+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wn-perl?hl=en.
--
You received this message because you are subscribed to the Google Groups "wn-perl" group.
To post to this group, send email to wn-...@googlegroups.com.
To unsubscribe from this group, send email to wn-perl+unsubscribe@googlegroups.com.