A parameterized-text-generator generator based on a template