如何使用Wordnet获得单词的变形 [英] How to get inflections for a word using Wordnet

查看:211
本文介绍了如何使用Wordnet获得单词的变形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Wordnet获取单词的屈折形式.

I want to get inflectional forms for a word using Wordnet.

例如如果单词是make,则其变化量为

E.g. If the word is make, then its inflections are

made, makes, making

我尝试了wn命令的所有选项,但没有得到单词的音调.

I tried all the options of the wn command but I did not get the inflections for a word.

有什么想法吗?

推荐答案

我不确定wordnet是否意图使单词变位.刚刚发现了有关WordNet(R)如何利用Morphy算法对与变形形式相关联的标题进行形态学确定的小文章 https://github.com/jdee/dubsar/wiki/拐点.不久前,我需要为我的一个项目(Python)进行一些修改,并且使用了 https://github.com /pwdyson/inflect.py > https://bitbucket.org/cnu/montylingua3/overview /(需要一些技巧,也请查看原始的 http://web.media.mit.edu/~hugo/montylingua/)

I am not sure wordnet was intended to inflect words. Just found this little writeup about how WordNet(R) makes use of the Morphy algorithm to make a morphological determination of the head term associated with an inflected form https://github.com/jdee/dubsar/wiki/Inflections. I needed some inflection for a project of mine (Python) a little ago and I used https://github.com/pwdyson/inflect.py and https://bitbucket.org/cnu/montylingua3/overview/ (required some hacking, also take a look at the original http://web.media.mit.edu/~hugo/montylingua/)

这篇关于如何使用Wordnet获得单词的变形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆