generate_single_unigram: Generate single unigram

Description Usage Arguments See Also Examples

View source: R/generate_sequence.R

Description

Assign randomly generated properties to a single unigram.

Usage

1
generate_single_unigram(unigram_ranges)

Arguments

unigram_ranges

list of ranges containing respective properties. If named, names are preserved.

See Also

generate_single_unigram is a helper function for generate_unigrams.

Examples

1
2
3
4
generate_single_unigram(list(P1 = c(0, 0.5), 
                             P2 = c(0.2, 0.4),
                             P3 = c(0.5, 1),
                             P4 = c(0, 0)))

biogram documentation built on March 31, 2020, 5:14 p.m.