python - 将 Wordnet 语义映射到 Verbnet

标签 python nlp nltk wordnet

http://digital.library.unt.edu/ark:/67531/metadc30973/m2/1/high_res_d/Mihalcea-2005-Putting_Pieces_Together-Combining_FrameNet.pdf

在上面第六页的链接中,论文提到进行了映射。

"The process of mapping VerbNet to WordNet is thus semi-automatic. We first manually link all semantic constraints defined in VerbNet (there are 36 such constraints) to one or more nodes in the WordNet semantic hierarchy."

我正在尝试在 NLTK Python 上使用 Verbnet 和 Wordnet 的映射。此映射使用的代码是什么?

最佳答案

此映射可以在 Rada Mihalcea 的页面上找到:http://web.eecs.umich.edu/~mihalcea/downloads.html ,直接链接:http://web.eecs.umich.edu/~mihalcea/downloads/FnWnVerbMap1.0.tar.gz

有以下代码:

但是 NLTK 中没有代码来读取映射(至少现在还没有)。

关于python - 将 Wordnet 语义映射到 Verbnet,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29323849/

相关文章:

Python 类@property : use setter but evade getter?

python - 稀疏最小二乘回归

python - 如何快速从列表中获取唯一的单词?

python - NLTK 停用词可用语言

tags - nltk 错误地解析括号

python - 在 Twython 中执行搜索时收到异常

python - 正确使用 psycopg2 序列化

python - 嵌入时出错: could not convert string to float: 'ng'

python - 在 Windows 上微调 GPT-3?

python - python3 nltk word_tokenize() 有字符串长度限制吗?