dictrule
dictrule is a simple Python module that helps generate text from defined rules in dictionary form.