l The bank will not be accepting cash on Saturdays.
l The river overflowed the bank.
UYOU
浏览 1008回答 1
1回答
叮当猫咪
你可以参考一下这个 Word sense disambiguation in NLTK Python查看 alvas 这个用户的回答//...>>> from nltk.wsd import lesk>>> sent = 'I went to the bank to deposit my money'>>> ambiguous = 'bank'>>> lesk(sent, ambiguous)
Synset('bank.v.04')>>> lesk(sent, ambiguous).definition()u'act as the banker in a game or in gambling'//...