Syns: Get synonyms for many words

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] "salutary" "all-powerful" "delicious" "favorable" "prosperity" #> [6] "law-revering" "immaculate" "scrumptious" "warmhearted" "considerable" #> #> $evil #> [1] "detrimental" "pollution" "lapse" "outrage" #> [5] "peck of troubles" "boding" "shame" "shameful" #> [9] "visitation" "vice" #>
# No words for spelling mistakes syns("spolling misteak")
#> $`spolling misteak` #> character(0) #>