# NodeBox

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

# wordnet.holonym()

## Syntax

    holonym(query)

## Description

Returns the components of query as a list of elements that are by themselves lists of related synonyms. This is the semantical inverse of the meronym() command.

## Example

    wordnet = ximport("wordnet")
    print wordnet.holonym("house")
    >>>[['library'], ['loft', 'attic', 'garret'], ['porch'], ['study']]

No bathroom though...