I'm trying to get the noun from a verb with Wordnet in python.
I want to be able to get :
from the verb 'created' the noun 'creator',
'funded' => 'funder'
Verb X => Noun Y
Y
is referring to a person
I've been able to do it the other side : Noun Y => Verb X
import nltk as nltk
from nltk.corpus import wordnet as wn
lem = wn.lemmas('creation')
print lem
related_forms = lem[0].derivationally_related_forms()
print related_forms
Here is the output given
[Lemma('creation.n.01.creation'), Lemma('creation.n.02.creation'), Lemma('creation.n.03.creation'), Lemma('initiation.n.02.creation'), Lemma('creation.n.05.Creation'), Lemma('universe.n.01.creation')]
[Lemma('create.v.02.create'), Lemma('produce.v.02.create'), Lemma('create.v.03.create')]
But, I'm trying to do the opposite.
Here is a link that looks like what I want to do, but the code is not working and doesn't answer my request:
Convert words between verb/noun/adjective forms