downloadWordnet | R Documentation |
Downloads the WordNet thesaurus and converts it into a format to be used by addWordnet to add extra synonyms to a concept database.
downloadWordnet(
wordnet_url = "https://wordnetcode.princeton.edu/wn3.1.dict.tar.gz",
wn_categories = c("noun.body", "noun.state", "noun.process", "noun.animal",
"noun.plant", "noun.phenomenon")
)
wordnet_url |
URL or filepath to WordNet tar.gz file |
wn_categories |
WordNet categories from which to extract data |
data.table containing WordNet data from appropriate categories, in the format: cat (character), wordnetId (integer64), synonyms (list), parents (list), adj (list)
https://wordnet.princeton.edu/
addWordnet
Other CDB functions:
addComposeLookupToCDB()
,
addWordnet()
,
batchDecompose()
,
createCDB()
,
downloadOrphanet()
# Not run
# WORDNET <- downloadWordnet()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.