define: Retrieve the dictionary definition of an English word

Description Usage Arguments Value Examples

View source: R/define.R

Description

Retrieve the dictionary definition of an English word

Usage

1
define(word)

Arguments

word

The word you wish to define

Value

A tibble with a row for each unique combination of word, meaning, part of speech, and definition. And a column for:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
  # Get the definition of "hello"
  define("hello") # Returns a 3 row data.frame

  # Homonyms (words with >1 meaning)
  define("bark") # Returns a 9 row data.frame

  # Unknown words will return a 0 row data.frame and message
  define("sdfsdfsdfsdfsdf")
  # No definition found for sdfsdfsdfsdfsdf


## End(Not run)

dictionaRy documentation built on Jan. 11, 2022, 1:06 a.m.