hypernym
Purpose
Finds documents that contain hypernym of the specified level of the argument term or terms.
The function is equivalent to the generalize() function.
Arguments
The first optional argument level is an integer specifying distance between the function’s argument and the function’s output in the semantic network (WordNet). The default value of level is 1.
Term (or terms) given as the second argument is not searched for, only the hypernyms of the word are matched.