part

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.

This function is the alias of the function meronym().

Syntax

part([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, all argument terms and their meronyms will be considered.

Returned Value

Documents matching the query.

Examples

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

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

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