LoremIpsumBase
trait LoremIpsumBase
LoremIpsum paragraph generator
LoremIpsum paragraph generator
Type members
Types
Value members
Abstract methods
Concrete methods
def generate(wordCount: Int, alwaysStartWithLorem: Boolean, truncate: Boolean, sentencesBased: Boolean, randomize: Boolean): List[Paragraph]
Generate paragraphs of lorem ipsum
Generate paragraphs of lorem ipsum
- Value Params
- alwaysStartWithLorem
Shall the first paragraph starts with Lorem Ipsum ? default is false because of performance penalty
- randomize
Randomize paragraphs or sentences initial order
- sentencesBased
Regenerate paragraph from sentences extracted from the corpus, a little bit slower.
- truncate
Shall we generate strictly the requested number of words all round it to last sentence/paragraph size ?
- wordCount
How many words all generated paragraph must contains
- Returns
The list of generated paragraphs