# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# wordnet.hypernym()

## Syntax

    hypernym(query)

## Description

Returns the abstraction of query. This can usually be considered as a "class" to which the given query word belongs. The returned value is a list of elements that are lists of related synonyms. Use the hypernyms() command to yield more results.

## Example

    wordnet = ximport("wordnet")
    print wordnet.hypernym("train")
    >>>[[transport]]