getSynsets {wordnet}R Documentation

Get Synsets for an Index Term

Description

Get synsets for a given index term.

Usage

getSynsets(indexterm)

Arguments

indexterm

The input index term.

Value

A list of synsets.

Author(s)

Ingo Feinerer

References

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

See Also

getIndexTerms

Examples

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

[Package wordnet version 0.1-17 Index]