Converting verb to closest sense noun

84 views
Skip to first unread message

Himanshu Verma

unread,
Apr 23, 2013, 6:38:16 PM4/23/13
to nltk-...@googlegroups.com
Hi all,
I am looking for a way to convert verb like "die" to similar closest meaning noun "death". Please suggest me if there is any way to do that.
thanks 
regards,
Himanshu

Alex Rudnick

unread,
Apr 23, 2013, 7:21:08 PM4/23/13
to nltk-...@googlegroups.com
Hey Himanshu,

That sounds both hard and interesting! I don't think wordnet has that
kind of information in it...

Maybe ConceptNet could be useful for this? http://conceptnet5.media.mit.edu/
> --
> You received this message because you are subscribed to the Google Groups
> "nltk-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nltk-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
-- alexr

Ambarish Jash

unread,
Apr 23, 2013, 8:50:59 PM4/23/13
to nltk-...@googlegroups.com, nltk-...@googlegroups.com
What kind of corpus are you working out of?

Best
Ambarish

Francis Bond

unread,
Apr 23, 2013, 9:03:42 PM4/23/13
to nltk-...@googlegroups.com
Actually I think wordnet can give you this:

>>> import nltk
>>> from nltk.corpus import wordnet as wn
[(l, l.derivationally_related_forms()) for l in wn.lemmas('die')]
[(Lemma('die.n.01.die'), []), (Lemma('die.n.02.die'),
[Lemma('die.v.07.die')]), (Lemma('die.n.03.die'),
[Lemma('die.v.07.die')]), (Lemma('die.v.01.die'),
[Lemma('death.n.01.death'), Lemma('death.n.02.death'),
Lemma('death.n.03.death'), Lemma('death.n.08.death'),
Lemma('death.n.05.death'), Lemma('death.n.06.Death')]),
(Lemma('die.v.02.die'), [Lemma('death.n.01.death'),
Lemma('death.n.02.death'), Lemma('death.n.03.death'),
Lemma('death.n.08.death'), Lemma('death.n.05.death'),
Lemma('death.n.06.Death')]), (Lemma('die.v.03.die'), []),
(Lemma('fail.v.04.die'), []), (Lemma('die.v.05.die'), []),
(Lemma('die.v.06.die'), []), (Lemma('die.v.07.die'),
[Lemma('die.n.02.die'), Lemma('die.n.03.die')]),
(Lemma('die.v.08.die'), []), (Lemma('die.v.09.die'), []),
(Lemma('die.v.10.die'), [Lemma('death.n.04.dying'),
Lemma('death.n.04.death'), Lemma('end.n.06.death')]),
(Lemma('die.v.11.die'), [])]

Hope this helps,

--
Francis Bond <http://www3.ntu.edu.sg/home/fcbond/>
Division of Linguistics and Multilingual Studies
Nanyang Technological University

HIMANSHU VERMA

unread,
Apr 23, 2013, 9:43:17 PM4/23/13
to nltk-...@googlegroups.com
@Ambrish - I am not using any corpus. I am just working on sentence level and looking relations between words in that.
@Francis:- This seems quite useful to me. Thanks


--
You received this message because you are subscribed to the Google Groups "nltk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nltk-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Himanshu Verma
Graduate Assistant
Department of Electrical and Computer Engg.
UNLV, Las Vegas
Reply all
Reply to author
Forward
0 new messages