2009年11月30日 星期一

使用Python NLTK讀取WordNet

from nltk.corpus import wordnet as wn
wn.synsets('dog')

http://nltk.googlecode.com/svn/trunk/doc/howto/wordnet.html

沒有留言:

張貼留言