getWord | R Documentation |
Get the words in a synset.
getWord(synset)
synset |
The synset whose words are returned. |
A character vector holding the words.
Ingo Feinerer
M. Wallace (2007). Jawbone Java WordNet API. https://sites.google.com/site/mfwallace/jawbone
getSynsets
if(initDict()) { filter <- getTermFilter("ExactMatchFilter", "hot", TRUE) terms <- getIndexTerms("ADJECTIVE", 5, filter) synsets <- getSynsets(terms[[1]]) related <- getRelatedSynsets(synsets[[1]], "!") sapply(related, getWord) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.