makeRadlibs {radlibs}R Documentation

makeRadlibs

Description

makeRadlibs

Usage

makeRadlibs(phrase, wordset = NA)

Arguments

phrase

String including any number of the words noun, verb, adjective, adverb, plural, or interjection enclosed in curly braces

wordset

Data table of your choosing with columns "word" and "pos" at the minimum. Preferably all lowercase.

Value

New string replacing the keywords with alternatives. Hopefully funny.

Examples

## Not run: makeRadlibs("not sure if i should {verb} or {verb} because it's an {adjective} {noun}")

[Package radlibs version 0.2.0 Index]