Distributional Semantics

Distributional Semantics

Distributional Semantic Models CS 114 James Pustejovsky tefan Evert slides by S isa pet cat isa dog DSM Tutorial – Part 1 1 / 91 Outline Outline Introduction The distributional hypothesis Three famous DSM examples Taxonomy of DSM parameters Definition & overview DSM parameters Examples DSM in practice Using DSM distances Quantitative evaluation Software and further information DSM Tutorial – Part 1 2 / 91 Introduction The distributional hypothesis Outline Introduction The distributional hypothesis Three famous DSM examples Taxonomy of DSM parameters Definition & overview DSM parameters Examples DSM in practice Using DSM distances Quantitative evaluation Software and further information DSM Tutorial – Part 1 3 / 91 Introduction The distributional hypothesis Meaning & distribution I “Die Bedeutung eines Wortes liegt in seinem Gebrauch.” — Ludwig Wittgenstein I “You shall know a word by the company it keeps!” — J. R. Firth (1957) I Distributional hypothesis: difference of meaning correlates with difference of distribution (Zellig Harris 1954) I “What people know when they say that they know a word is not how to recite its dictionary definition – they know how to use it [. ] in everyday discourse.” (Miller 1986) DSM Tutorial – Part 1 4 / 91 I He handed her her glass of bardiwac. I Beef dishes are made to complement the bardiwacs. I Nigel staggered to his feet, face flushed from too much bardiwac. I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. I I dined off bread and cheese and this excellent bardiwac. I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. Introduction The distributional hypothesis What is the meaning of “bardiwac”? DSM Tutorial – Part 1 5 / 91 I Beef dishes are made to complement the bardiwacs. I Nigel staggered to his feet, face flushed from too much bardiwac. I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. I I dined off bread and cheese and this excellent bardiwac. I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. Introduction The distributional hypothesis What is the meaning of “bardiwac”? I He handed her her glass of bardiwac. DSM Tutorial – Part 1 5 / 91 I Nigel staggered to his feet, face flushed from too much bardiwac. I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. I I dined off bread and cheese and this excellent bardiwac. I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. Introduction The distributional hypothesis What is the meaning of “bardiwac”? I He handed her her glass of bardiwac. I Beef dishes are made to complement the bardiwacs. DSM Tutorial – Part 1 5 / 91 I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. I I dined off bread and cheese and this excellent bardiwac. I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. Introduction The distributional hypothesis What is the meaning of “bardiwac”? I He handed her her glass of bardiwac. I Beef dishes are made to complement the bardiwacs. I Nigel staggered to his feet, face flushed from too much bardiwac. DSM Tutorial – Part 1 5 / 91 I I dined off bread and cheese and this excellent bardiwac. I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. Introduction The distributional hypothesis What is the meaning of “bardiwac”? I He handed her her glass of bardiwac. I Beef dishes are made to complement the bardiwacs. I Nigel staggered to his feet, face flushed from too much bardiwac. I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. DSM Tutorial – Part 1 5 / 91 I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. Introduction The distributional hypothesis What is the meaning of “bardiwac”? I He handed her her glass of bardiwac. I Beef dishes are made to complement the bardiwacs. I Nigel staggered to his feet, face flushed from too much bardiwac. I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. I I dined off bread and cheese and this excellent bardiwac. DSM Tutorial – Part 1 5 / 91 + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. Introduction The distributional hypothesis What is the meaning of “bardiwac”? I He handed her her glass of bardiwac. I Beef dishes are made to complement the bardiwacs. I Nigel staggered to his feet, face flushed from too much bardiwac. I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. I I dined off bread and cheese and this excellent bardiwac. I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. DSM Tutorial – Part 1 5 / 91 Introduction The distributional hypothesis What is the meaning of “bardiwac”? I He handed her her glass of bardiwac. I Beef dishes are made to complement the bardiwacs. I Nigel staggered to his feet, face flushed from too much bardiwac. I Malbec, one of the lesser-known bardiwac grapes, responds well to Australia’s sunshine. I I dined off bread and cheese and this excellent bardiwac. I The drinks were delicious: blood-red bardiwac as well as light, sweet Rhenish. + bardiwac is a heavy red alcoholic beverage made from grapes The examples above are handpicked, of course. But in a corpus like the BNC, you will find at least as many informative sentences. DSM Tutorial – Part 1 5 / 91 Introduction The distributional hypothesis What is the meaning of “bardiwac”? DSM Tutorial – Part 1 6 / 91 Introduction The distributional hypothesis What is the meaning of “bardiwac”? DSM Tutorial – Part 1 6 / 91 Introduction The distributional hypothesis A thought experiment: deciphering hieroglyphs get sij ius hir iit kil (knife) naif 51 20 84 0 3 0 (cat) ket 52 58 4 4 6 26 ??? dog 115 83 10 42 33 17 (boat) beut 59 39 23 4 0 0 (cup) kap 98 14 6 2 1 0 (pig) pigij 12 17 3 2 9 27 (banana) nana 11 2 2 0 18 0 DSM Tutorial – Part 1 7 / 91 Introduction The distributional hypothesis A thought experiment: deciphering hieroglyphs get sij ius hir iit kil (knife) naif 51 20 84 0 3 0 (cat) ket 52 58 4 4 6 26 ??? dog 115 83 10 42 33 17 (boat) beut 59 39 23 4 0 0 (cup) kap 98 14 6 2 1 0 (pig) pigij 12 17 3 2 9 27 (banana) nana 11 2 2 0 18 0 sim(dog, naif) = 0.770 DSM Tutorial – Part 1 7 / 91 Introduction The distributional hypothesis A thought experiment: deciphering hieroglyphs get sij ius hir iit kil (knife) naif 51 20 84 0 3 0 (cat) ket 52 58 4 4 6 26 ??? dog 115 83 10 42 33 17 (boat) beut 59 39 23 4 0 0 (cup) kap 98 14 6 2 1 0 (pig) pigij 12 17 3 2 9 27 (banana) nana 11 2 2 0 18 0 sim(dog, pigij) = 0.939 DSM Tutorial – Part 1 7 / 91 Introduction The distributional hypothesis A thought experiment: deciphering hieroglyphs get sij ius hir iit kil (knife) naif 51 20 84 0 3 0 (cat) ket 52 58 4 4 6 26 ??? dog 115 83 10 42 33 17 (boat) beut 59 39 23 4 0 0 (cup) kap 98 14 6 2 1 0 (pig) pigij 12 17 3 2 9 27 (banana) nana 11 2 2 0 18 0 sim(dog, ket) = 0.961 DSM Tutorial – Part 1 7 / 91 Introduction The distributional hypothesis English as seen by the computer . get see use hear eat kill get sij ius hir iit kil knife naif 51 20 84 0 3 0 cat ket 52 58 4 4 6 26 dog dog 115 83 10 42 33 17 boat beut 59 39 23 4 0 0 cup kap 98 14 6 2 1 0 pig pigij 12 17 3 2 9 27 banana nana 11 2 2 0 18 0 verb-object counts from British National Corpus DSM Tutorial – Part 1 8 / 91 Introduction The distributional hypothesis Geometric interpretation I row vector xdog describes usage of get see use hear eat kill word dog in the knife 51 20 84 0 3 0 corpus cat 52 58 4 4 6 26 I can be seen as dog 115 83 10 42 33 17 coordinates of point boat 59 39 23 4 0 0 in n-dimensional cup 98 14 6 2 1 0 Euclidean space pig 12 17 3 2 9 27 banana 11 2 2 0 18 0 co-occurrence matrix M DSM Tutorial – Part 1 9 / 91 Introduction The distributional hypothesis Geometric interpretation Two dimensions of English V−Obj DSM I row vector xdog describes usage of word dog in the corpus knife ● I can be seen as coordinates of point in n-dimensional use Euclidean space I illustrated for two boat dimensions: ● dog get and use cat ● ● I xdog = (115, 10) 0 20 40 60 80 100 120 0 20 40 60 80 100 120 get DSM Tutorial – Part 1 10 / 91 Introduction The distributional hypothesis Geometric interpretation

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    144 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us