genere
Genere is a library to generate (possibly randomized) text with options to match the (grammatical) gender of various elements.
Example
use Generator;
let mut gen = new;
gen.add.unwrap;
gen.add.unwrap;
gen.add.unwrap;
let result = gen.instantiate.unwrap;
assert!;
More information
Genere is inspired by Tracery, but seeks to allow easy generation of sentences that are grammaticaly gender accurate.
TODO
- Symbols must be declared in the order they will be used.
- Support for JSON.
- Support for "content·e" variants.