Word Relationships Lingua::Wordnet
The Perl Journal, Summer 2000
 

Starred items are data types added by Lingua::Wordnet.

meronyms: "an apple is a meronym of apple tree"

A constituent part, substance, or a member of something. X is a meronym of Y if X is a part of Y. The subtypes for meronyms in Lingua::Wordnet are:

        component-object: X is part of Y
        member-collection: X is a member of group Y
        stuff-object: Y is made of X
        *portion-mass: X is a segment or portion of Y
        *feature-activity: X is part of the activity Y
        *place-area: X is a place in Y
        *phase-process: X is part of the process Y

holonyms: "an apple tree is a holonym of apple"

The opposite of meronym; The name of the whole of which the meronym names a part. Y is a holonym of X if X is a part of Y. The subdivision of types is the same as meronyms above.

hypernym: "fruit is a hypernym of apple"

The generic term used to designate a whole class of specific instances. Y is a hypernym of X if X is a (kind of) Y.

hyponym: "apple is a hyponym of fruit"

The opposite of hypernym; The specific term used to designate a member of a class. X is a hyponym of Y if X is a (kind of) Y.

attribute: "hardness is an attribute of the adjective soft"

A noun for which adjectives express values. The noun "weight" is an attribute, for which the adjectives "light" and "heavy" express values.

antonyms (direct): "heavy is an antonym of light"

A pair of words with opposite meanings. In adjective clusters, direct antonyms appear only in head synsets.

antonyms (indirect): "fatty is an antonym of light (via nonfat)"

An antonym not of the word, but of the head synset.

pertainyms: "slow is a pertainym of slowly"

A relational adjective. Adjectives that are pertainyms are usually defined by such phrases as "of or pertaining to" and do not have antonyms. A pertainym can point to a noun or another pertainym.

*noun attributes: "yellow is a color attribute of canary"

An adjective that defines a quality of a noun.

*function: "sing is a function of canary"

A verb which defines an action performed by a noun.