Skip to contents

Syns: Get synonyms for many words

Usage

syns(words, n_words = -1)

Arguments

words

word, character - many words you want to find synonyms for

n_words

integer, the number of words to look for. An integer Default is all words

Value

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

Examples

syns(c("good", "evil"), 10)
#> $good
#>  [1] "heavenly"    "delicious"   "helpful"     "profit"      "congenial"  
#>  [6] "tasty"       "even"        "excellent"   "all-seeing"  "uprighteous"
#> 
#> $evil
#>  [1] "delinquency"     "incorrect"       "invalid"         "iniquity"       
#>  [5] "unhealthy"       "base"            "inexpedient"     "revolting"      
#>  [9] "inconvenience"   "of evil portent"
#> 
# No words for spelling mistakes
syns("spolling misteak")
#> $`spolling misteak`
#> character(0)
#>