syn: syn

View source: R/syn.R

synR Documentation

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.

Author(s)

Maintainer: Nicholas Tierney nicholas.tierney@gmail.com (ORCID)

Authors:

Other contributors:

See Also

It's main functions are:

  • syn()

  • syns()

  • ant()

  • ants()

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

Examples

# put some examples here
syn("good")
syn("evil", 25)
# No words for spelling mistakes
syn("spolling misteak")

ropenscilabs/syn documentation built on Feb. 3, 2024, 4:32 a.m.