Week6-7Word Sense Disambiguation

Introduction

  • polysemy
    • words have multiple senses
  • homonymy
  • POS ambiguity

Word sense disambiguation

  • Task
    • given a word
    • and its context
  • Use for machine translation
    • e.g., translate ‘play’ into Spanish
    • play the violin = tocar el violin
    • play tennis = jugar al tenis
  • Other uses
    • accent restoration
    • text to speech generation
    • spell correction
    • capitalization restoration

Dictionary methods (Lesk)

  • match sentences to dictionary definitions

Decision lists (Yarowsky)

  • look at only 2 senses at a time
  • ordered rules: collocation gives sense
  • Formula
    log(p(senseacollocationi)p(sensebcollocationi))

Example

we set collocations a window size of the words around the word bass to be disambiguated

  • fish within window -> bass1
  • striped bass -> bass1
  • guitar within the window -> bass2
  • bass player -> bass2
  • Play/V bass -> bass2

Classification features

  • Adjacent words(collocations)
  • Position
  • Adjacent POS
  • Nearby words
  • Syntactic information
  • Topic of the text

Classification methods

  • KNN(memory-based)
  • using Euclidean distance
  • find the k most similar examples and return the majority class for them

Bootstrapping

  1. for an ambiguous word, start with 2 senses and seeds for each sense, and come up with 1 strong and indicative collocation for each sense
    • e.g., plant1:leaf, plant2:factory
  2. Label the ambiguous word in the training set, if it is near leaf, label plant1. But we will only label a small portion of data, say 1% for plant1, 1% for plant2, and 98% for unlabelled.
  3. For unlabelled data, look for additional collocations that appear in training data.
    • e.g., plant1:living
  4. go to 2.
  5. continue this process until all of the training set is labelled.

    • 2 principles:
    • 1 collocation for each word
    • 1 collocation for each discourse

Training data for WSD

  • Senseval/Semcor
  • Pseudo-word
  • Multilingual corpora

Senseval-1 Evaluation

  • Metric
    • A = number of assigned senses
    • C = number of words assigned correct senses
    • T = total number of test words
    • Precision = C/A, Recall = C/T
  • Result
    • Best: 77P/77R
    • human lexicographer: 97P/96R
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值