get_other_related: Get data for words that are related according to a supplied...

View source: R/rhymer.R

get_other_relatedR Documentation

Get data for words that are related according to a supplied code.

Description

Get data for words that are related according to a supplied code.

Usage

get_other_related(word = "test", code = "jja", return_type = "df", limit = 10)

Arguments

word

to get similarly spelled words with.

code

related word code from http://www.datamuse.com/api/.

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.

Value

data with words that are related.

Examples

get_other_related("test", code = "jja", limit = 3)

get_other_related("test", code = "cns", limit = 10)

rhymer documentation built on Jan. 5, 2023, 5:09 p.m.