Durcruq can generate texts that are constructed from random selected parts from supplied templates. An example, using this template:

This text is [composed|constructed|generated] by Durcruq.

Durcruq will produce one of these texts:

This text is composed by Durcruq.
This text is constructed by Durcruq.
This text is generated by Durcruq.

The differences are caused by this block of text: [composed|constructed|generated]. This defines 3 alternatives from which the software will choose 1 at random.

This was a simple example, with 1 text block. This is a template with more choices:

The [dangerous|long|uncomfortable] journey
to[ the[ red] planet|] Mars has begun
for the first 100 [colonists|daredevils]
as the[ SpaceX|] rocket [slowly|gracefully]
launched [today|this[ early] morning] at
[half pas seven|7:31] from Spaceport America.

This template can produce dozens of slightly different versions of the text.

You can use Durcruq to generate sample texts, or test data. The documentation describes the full template syntax.

The software is open source, contains JavaScript and Java versions and is available on GitHub.