get_rhyme: Get data for rhyming words.

Description Usage Arguments Value Examples

View source: R/rhymer.R

Description

Get data for rhyming words.

Usage

1
get_rhyme(word, return_type = "df", limit = 10, num_syl = NULL)

Arguments

word

to rhyme with.

return_type

type to return. Options are:

  • 'df' for data.frame.

  • 'word' for a single word.

  • 'random_word' or 'random word' or 'rand' for a random word.

  • 'vector' for a vector of words.

limit

max number of words to return.

num_syl

number of syllables in rhymes to return.

Value

data with rhyming words.

Examples

1
2
3
get_rhyme("test")

get_rhyme("test", limit = 10)

landesbergn/rhymer documentation built on May 29, 2019, 3:41 a.m.