"Can't locate WordNet/Similarity/lesk.pm in @INC" Problem

158 views
Skip to first unread message

Roghieh Malekzadeh

unread,
Jan 4, 2013, 6:47:37 PM1/4/13
to wn-...@googlegroups.com
I want to calculate relatedness between 2 words, I installed these packages on win XP:

1)ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi and MinGW and Dmake
2)WordNet-3.0
3)WordNet-QueryData-1.46
4)Text-Similarity-0.02
5)WordNet-Similarity-2.01

and typed in cmd : " Perl Similarity.pl --type WordNet::Similarity::lesk --config C:\Perl\bin\config-files\config-

lesk.conf --allsenses --wnpath C:\\Program Files\\WordNet\\3.0\\dict --file 1.txt "

which 1.txt contains 2 words, (car bus) that we want to find their relatedness.

But after running this command the output like this appears:
" Loading WordNet... done.
Loading Module... Can't locate WordNet/Similarity/lesk.pm in @INC (@INC contains
: C:/Perl/site/lib C:/Perl/lib .) at Similarity.pl line 108. "

what I did wrong?

Ted Pedersen

unread,
Jan 4, 2013, 8:23:04 PM1/4/13
to wn-...@googlegroups.com
I am guessing this is an installation problem (ie something isn't
installed correctly). However, this is a WordNet::Similarity issue,
and so this question should go to the WordNet Similarity mailing list
- you can find details about that here :

http://wn-similarity.sourceforge.net

Please add some details about how you did the installation in your
note to the WordNet::Similarity mailing list.

Thanks!
Ted
> --
> You received this message because you are subscribed to the Google Groups
> "wn-perl" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/wn-perl/-/YceMGDBvycwJ.
> 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.
Reply all
Reply to author
Forward
0 new messages