meronym

Purpose

Finds documents that contain argument term(s) or its meronyms up to the specified level.

X is a meronym of Y, if Xs are parts/members of Ys.

The function is the alias of the function part().

Syntax

meronym([level], term,…​)

Arguments

The first optional argument is an integer; it specifies the distance between the argument and the output in the semantic net (WordNet).

If the level is missed then all the argument terms and their meronyms will be considered.

Returned Value

Documents matching the query.

Examples

meronym(1, theatre) finds the words "theatre", "house", "stage", "box office", that are direct meronyms of "theatre".

meronym(2, theatre) finds the words "theatre", "house", "stage", "box office", found by meronym(1, theatre), and also words "apron", "downstage".

meronym(theatre) is a union of meronym(1, theatre), meronym(2, theatre), etc. and finds words "theatre", "house", "stage", "box office", "apron", "downstage".