Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get inflections for a word using Wordnet

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

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

made, makes, making

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

Any idea how to get these?

like image 720
vaichidrewar Avatar asked Mar 11 '12 09:03

vaichidrewar


People also ask

What is an inflection example?

English inflection indicates noun plural (cat, cats), noun case (girl, girl's, girls'), third person singular present tense (I, you, we, they buy; he buys), past tense (we walk, we walked), aspect (I have called, I am calling), and comparatives (big, bigger, biggest).

What are inflection patterns?

Inflection most often refers to the pitch and tone patterns in a person's speech: where the voice rises and falls. But inflection also describes a departure from a normal or straight course. When you change, or bend, the course of a soccer ball by bouncing it off another person, that's an example of inflection.


1 Answers

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/)

like image 128
Josep Valls Avatar answered Oct 04 '22 22:10

Josep Valls