1 / 52

LING 581: Advanced Computational Linguistics

LING 581: Advanced Computational Linguistics. Lecture Notes March 6th. Today’s Topic. Applications of Wordnet. Today’s Topic. WordNet Did everyone manage to install? WordNet 3.0 package wnb ( WordNet browser) export PATH=/ usr /local/WordNet-3.0/bin:$ PATH

kasie
Télécharger la présentation

LING 581: Advanced Computational Linguistics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LING 581: Advanced Computational Linguistics Lecture Notes March 6th

  2. Today’s Topic • Applications of Wordnet

  3. Today’s Topic WordNet • Did everyone manage to install? • WordNet 3.0 package • wnb (WordNet browser) • export PATH=/usr/local/WordNet-3.0/bin:$PATH • WordNet::QueryData Perl Module Need them to do your homework (out today)

  4. bfs code • Use my breadth-first search Perl code as a starting point (previous lecture) or roll your own … • you’ll need to map word into word#pos#sense, e.g.

  5. Word Smart for the GRE

  6. Word Smart for the GRE

  7. Homework • Task: use Wordnet to determine which words best match which definitions? • (Quiz 4 from Word Smart for the GRE) • Left column (word): right column (definition)

  8. Homework • Task: use Wordnet to determine which words best match which definitions? • (Quiz 7 from Word Smart for the GRE) • Left column (word): right column (definition)

  9. Homework • Task: use Wordnet to determine which words best match which definitions? • (Quiz 22 from Word Smart for the GRE)

  10. Homework • Write a program that automatically matches up words with definitions for the 3 quizzes. • Report your results (make slides) • Explain the heuristics you chose • For cases that don’t work, explain why? • Is it your algorithm? Is it WordNet? … • Conclusion: • is Wordnetadequate to the task of connecting up the words with the definitions?

  11. WordNet’s Semantic Relations

  12. Example • Word: • cadge • brook • cacophony • Definition: • mooch • tolerate • discordant sound same synset cadge hype obtain hype get hypo buy enta pay deriv payer deriv pay hype tolerate brookhype permit hypeaccept deriacceptation deriaccept hype get hypoobtainhypomooch#v#1 same synset cadge hype beg hyperequesthype communicatederi communication hypoauditory_communicationhyposound brook hypepermit hypeaccept hypoagree deriagreement hypo accord deriaccordant antsdiscordan brook hypestream hypebody_of_waterhypo sound cacophony hypedissonance hypesound_propertyhypeproperty hypostrength hypoendurance deri tolerate cacophony hype dissonance deridiscordant cacophony hype noise hype sound

  13. Measuring Similarity Requires installing WordNet::QueryData first

  14. Using WordNet: Example

  15. Using WordNet: Example

  16. Using WordNet: Example

  17. Using WordNet: Example

  18. Using WordNet: Example

  19. Using WordNet: Example

  20. Using WordNet: Example

  21. Using WordNet: Example

  22. Semantic Bleaching

  23. Semantic Bleaching

  24. Semantic Bleaching

  25. Semantic Bleaching

  26. Semantic Bleaching

  27. Semantic Bleaching

  28. Semantic Bleaching

  29. Semantic Bleaching

  30. Semantic Bleaching

  31. Semantic Bleaching

  32. Semantic Bleaching

  33. Semantic Bleaching

  34. Semantic Bleaching

  35. Semantic Bleaching

  36. Semantic Bleaching

  37. Semantic Bleaching

  38. Semantic Bleaching

  39. Semantic Bleaching

  40. Logical Metonomy

  41. Logical Metonomy

  42. Logical Metonomy

  43. Logical Metonomy

  44. Logical Metonomy

  45. Logical Metonomy

  46. Logical Metonomy

  47. Logical Metonomy

  48. Logical Metonomy

  49. Logical Metonomy

  50. Logical Metonomy

More Related