Learn R Programming

MoLE (version 1.0.1)

FORMS: Generate forms

Description

Generates set of unique forms for initial generation of speakers.

Usage

FORMS(n, length = world$wordLength, vowels = world$vowels, consonants = world$consonants)

Arguments

n

Number of word forms to be generated

length

Length (range) within which word forms have to fall.

vowels

Vowels that are used in the language

consonants

Vowels that are used in the language

Value

character vector

Details

Allows for CV and VC

See Also

VERBS, NOUNS, FOUND, FUSE, PROCREATE

Examples

Run this code
# NOT RUN {
world$vowels; world$consonants; world$wordLength
FORMS(10)
# }

Run the code above in your browser using DataLab