powered by
Assign randomly generated properties to a single unigram.
generate_single_unigram(unigram_ranges)
list of ranges containing respective properties. If named, names are preserved.
generate_single_unigram is a helper function for generate_unigrams.
generate_single_unigram
generate_unigrams
# NOT RUN { generate_single_unigram(list(P1 = c(0, 0.5), P2 = c(0.2, 0.4), P3 = c(0.5, 1), P4 = c(0, 0))) # }
Run the code above in your browser using DataLab