Questions tagged [hypernym]

10 questions
3
votes
1 answer

Find lowest common hypernym given multiple words in WordsNet (Python)

If I have a list of words in python such as: words = ["blue", "red", "ball"] Is there a way to programmatically produce the hypernyms for this group of words using WordNet?
christfan868
  • 491
  • 1
  • 6
  • 12
3
votes
1 answer

Differnt Nltk, wordnet hypernym output needed

When I try to print the hypernym, I just want the word rather the all the information about the word. pp = wn.synset('grow.v.01') pp1= pp.hypernyms() print pp1 My output is [Synset('change.v.02')]. I just want "change". What change do i need to…
code ninja
  • 31
  • 2
2
votes
1 answer

How to get word hierarchy (e.g., hypernyms, hyponyms) using wordnet in R

I want to use the wordnet package in R to get the word hierarchies like: "animal" is the hypernym of "cat", and "apple" is the hyponym of "fruit". But the code I can find from R wordnet help file is like below to identify antonyms: …
Carter
  • 1,563
  • 8
  • 23
  • 32
1
vote
1 answer

Lowest common hypernyms shared by a set of words

Given a set of 10 words (["dog", "cat", "rabbit" .... ]) I'd like to find the lowest common hypernym if there's one. I know that WordNet lets you find one between two synsets, but what would be a good way to find it among multiple words? My problem…
iLikeKFC
  • 169
  • 13
1
vote
0 answers

Most related Hypernym of a synset in some context

I have a word say w. For w, I used Lesk algorithm to get the synset s it should belong to given I have a context. Now for this synset s, I want a hypernym out of all the hypernyms such that it is also most relevant in the context of the word w. Is…
Sonali Gupta
  • 494
  • 1
  • 5
  • 20
1
vote
0 answers

Taxonomy Extraction of a Text Data in R

I want to do Taxonomy Extraction of a raw large corpus with lots of abbreviations in text. There is an R package called taxize. This package allows users to search over many taxonomic data sources for species names. library('taxize') #Get…
Sam S.
  • 627
  • 1
  • 7
  • 23
0
votes
0 answers

Extract Hypernym Relationships using Hearst Patterns from Text

I am new to Natural language processing. I'm working on a NLP task and need assistance with a specific problem. I have a list of noun phrases (NPs) and a text string (S) that contains arbitrary text and symbols. My goal is to extract hypernym…
0
votes
1 answer

How to automatically identify hypernyms from a group of words?

I have several groups of words, for example in group A: apple, pear, banana, fruit, grape, watermelon; in group B: cat, animal, dog, pig, monkey, duck; in group C: Italy, Australia, country, China, Greece. How can I automatically identify the…
Carter
  • 1,563
  • 8
  • 23
  • 32
0
votes
2 answers

How do I get all hyponyms that share a particular lowest common hypernym in ntlk wordnet?

Given there is a path from two common synsets to get a lowest common hypernym, it seems reasonable there should be someway to walk back and find the hyponyms that lead to that hypernym from nltk.corpus import wordnet as wn alaska =…
Tom M
  • 1,292
  • 13
  • 18
-3
votes
3 answers

how can i get hypernyms of multiple words using java

I want to get "hypernyms"of multiple words using WordNet dictionary in java. **What is Hypernyms?**a word with a broad meaning constituting a category into which words with more specific meanings fall; a superordinate. For example, colour is a…
nixxo_raa
  • 391
  • 8
  • 21