Learn R Programming

wordnet (version 0.1-16)

getSynsets: Get Synsets for an Index Term

Description

Get synsets for a given index term.

Usage

getSynsets(indexterm)

Value

A list of synsets.

Arguments

indexterm

The input index term.

Author

Ingo Feinerer

References

M. Wallace (2007). Jawbone Java WordNet API. https://sites.google.com/site/mfwallace/jawbone

See Also

getIndexTerms

Examples

Run this code
if(initDict()) {
  filter <- getTermFilter("ExactMatchFilter", "hot", TRUE)
  terms <- getIndexTerms("ADJECTIVE", 5, filter)
  getSynsets(terms[[1]])
}

Run the code above in your browser using DataLab