Skip to main content
 首页 » 编程设计

python之将 Wordnet 语义映射到 Verbnet

2024年10月25日10duanxz

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 中没有代码来读取映射(至少现在还没有)。