Learn R Programming

syn (version 0.1.0)

syn: syn

Description

syn provides a dependency free way to get synonyms and antonyms of words.

Usage

syn(word, n_words = -1)

Arguments

word

character, one word you want to find synonyms for.

n_words

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

Value

synonyms of the word you entered. Returns character(0) if word not found.

See Also

It's main functions are:

Learn more about syn at https://syn.njtierney.com/

Examples

Run this code
# NOT RUN {
# put some examples here
syn("good")
syn("evil", 25)
# No words for spelling mistakes
syn("spolling misteak")
# }

Run the code above in your browser using DataLab