get_rhyme: Get data for rhyming words.

View source: R/rhymer.R

get_rhymeR Documentation

Get data for rhyming words.

Description

Get data for rhyming words.

Usage

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

get_rhyme("test")

get_rhyme("test", limit = 10)

landesbergn/rhymer documentation built on Dec. 31, 2022, 12:57 p.m.