View source: R/get_translations.R
get_definition | R Documentation |
This will match up to 3 meanings where the requested word and part of speech match. For more information on synsets, see the Open Multilingual Wordnet documentation.
get_definition(token, part_of_speech)
token |
an English word to pass to nltk's synset search |
part_of_speech |
one of "v" -verb, "a" - adjective, "n" - noun, or "r" - adverb |
a character vector of length one, with definitions separated by ";\n"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.