我想通过NLTK编写一个简单的函数来查看这个词在WordNet中是否存在。def is_known(word): (or at least in nltk.corpus.stopwords它们不出现在WordNet中吗?是否有更好的方法来确定WN中是否存在一个单词(使用NLTK)?我的第一次尝试是消除像to, if, when, then, I, you这样的单词“秒词”,但
我有一个域映射文件,用于通过偏移量链接的Wordnet同步集,来自:- - "wn-domains-3.2-20070223" contains the mapping between Princeton WordNet 2.0 synsets and their我在linux机器上使用python3.4和Wordnet 3。我似乎找不到支持Wordnet 3的域文件的任何其他版本,所以我