Learn R Programming

syn (version 0.1.0)

ant: Ant: Get antonyms for one word

Description

Ant: Get antonyms for one word

Usage

ant(word, n_words = -1)

Arguments

word

character, one word you want to find antonyms for.

n_words

integer, the number of words to return.

Value

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

Examples

Run this code
# NOT RUN {
ant("good")
ant("evil", 25)
# No words for spelling mistakes
ant("spolling misteak")
# }

Run the code above in your browser using DataLab