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] "true-spirited" "bueno"         "undefined"     "square"       
#>  [5] "professional"  "honest-to-God" "undefiled"     "happy"        
#>  [9] "decent"        "solvent"      
#> 
#> $evil
#>  [1] "malevolent"      "trouble"         "evil nature"     "misery"         
#>  [5] "unspeakable"     "unutterable sin" "Nemesis"         "ugly"           
#>  [9] "sinfulness"      "damnable"       
#> 
# No words for spelling mistakes
syns("spolling misteak")
#> $`spolling misteak`
#> character(0)
#>