thesaurus

Purpose

Finds documents that contain synonyms of the specified terms using both synonyms and semantic dictionaries.

Note

The principal difference between the thesaurus() and the synonym() function is the fact, that thesaurus() uses both synonyms and semantics dictionaries, while synonym() uses synonyms dictionaries only.

Syntax

thesaurus([part_of_speech,] term,…​)

Arguments

The first optional argument restricts the list to the forms belonging to specified part of speech:

  • noun;

  • verb;

  • adjective;

  • adverb;

  • noun|verb, etc.

The second required argument can be a word or a phrase.

Returned Value

Documents matching the query.

Examples

thesaurus(okra plant) will find occurrences of "gumbo", "hibiscus esculentus", "lady’s finger".