Generates a random paragraph with configurable sentence structure.
Creates a paragraph consisting of a specified number of "sentences"
(words). Each sentence is a random alphabetic string, and sentences are
joined with spaces. Returns a currying function to allow configuration of
word length ranges.
Example
// Generate with default word lengths (3-7 characters) RandomGenerator.paragraph(3)(); // "hello world test" RandomGenerator.paragraph(5)(); // "lorem ipsum dolor sit amet"
// Custom word length ranges RandomGenerator.paragraph(4)(2, 5); // "ab cd ef gh" RandomGenerator.paragraph(6)(8, 12); // "verylongword anotherlongword..."
Generates a random paragraph with configurable sentence structure.
Creates a paragraph consisting of a specified number of "sentences" (words). Each sentence is a random alphabetic string, and sentences are joined with spaces. Returns a currying function to allow configuration of word length ranges.
Example