Skip to contents

Ants: Get antonyms for many words

Usage

ants(words, n_words = -1)

Arguments

words

word, character - many words you want to find antonyms.

n_words

integer, the number of words to look for.

Value

named list of antonyms. Returns character(0) if word not found

Examples

ants(c("good", "evil"), 10)
#> $good
#> [1] "evil" "bad" 
#> 
#> $evil
#> [1] "good"
#>