We are pleased to announce the relese of a new Perl module that takes
advantage of both WordNet::Similarity and ideas found in the SenseRelate
disambiguation algorithm. The module is called

WordNet::SenseRelate::WordToSet

and can be downloaded from

http://search.cpan.org/dist/WordNet-SenseRelate-WordToSet/

This module has a very simple objective - given a word, find out the sense
of that word that is most related to a given set of words. There is a
command line interface provided, where the first word listed in the
target, and the remaining words are the set. So, for example in the case
below we are comparing "bank" to the set "money cash checks". The scores
shown are the sum of the scores of the most related senses of the words
in the set with the given target. (You can see those individual scores by
using the --trace option).  Any of the measures supported in
WordNet::Similarity can be used with wordtoset, although below we only
show examples with wup.

wordtoset.pl --type WordNet::Similarity::wup bank money cash checks

bank#n#8 0.907936507936508
bank#n#6 0.825
bank#n#4 0.825
bank#n#9 0.691666666666667
bank#n#2 0.691666666666667
bank#n#7 0.646493212669683
bank#n#3 0.583333333333333
bank#n#5 0.565079365079365
bank#n#10 0.54078947368421
bank#n#1 0.473484848484848

wordtoset.pl --type WordNet::Similarity::wup bank river beach shore

bank#n#9 1.84615384615385
bank#n#2 1.84615384615385
bank#n#7 1.71428571428571
bank#n#6 1.35746606334842
bank#n#4 1.23981900452489
bank#n#8 0.545454545454545
bank#n#5 0.545454545454545
bank#n#1 0.461538461538462
bank#n#3 0.352941176470588
bank#n#10 0.352941176470588

You can see by looking at the sense inventory below that in both cases the
most highly rated sense/s are at least reasonable approximations of what
we would expect intuitively.

Overview of noun bank

The noun bank has 10 senses (first 9 from tagged texts)

1. (883) depository financial institution, bank, banking concern, banking 
company -- (a financial institution that accepts deposits and channels the 
money into lending activities; "he cashed a check at the bank"; "that bank 
holds the mortgage on my home")
2. (99) bank -- (sloping land (especially the slope beside a body of water); 
"they pulled the canoe up on the bank"; "he sat on the bank of the river and 
watched the currents")
3. (76) bank -- (a supply or stock held in reserve for future use (especially 
in emergencies))
4. (54) bank, bank building -- (a building in which commercial banking is 
transacted; "the bank is on the corner of Nassau and Witherspoon")
5. (7) bank -- (an arrangement of similar objects in a row or in tiers; "he 
operated a bank of switches")
6. (6) savings bank, coin bank, money box, bank -- (a container (usually with a 
slot in the top) for keeping money at home; "the coin bank was empty")
7. (3) bank -- (a long ridge or pile; "a huge bank of earth")
8. (1) bank -- (the funds held by a gambling house or the dealer in some 
gambling games; "he tried to break the bank at Monte Carlo")
9. (1) bank, cant, camber -- (a slope in the turn of a road or track; the 
outside is higher than the inside in order to reduce the effects of centrifugal 
force)
10. bank -- (a flight maneuver; aircraft tips laterally about its longitudinal 
axis (especially in turning); "the plane went into a steep bank")

Please let us know if you have any questions or comments!

Enjoy,
Ted and Jason

--
Ted Pedersen
http://www.d.umn.edu/~tpederse




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Help save the life of a child.  Support St. Jude Children's Research Hospital's
'Thanks & Giving.'
http://us.click.yahoo.com/i8TXDC/5WnJAA/HwKMAA/x3XolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/nlpatumd/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to