Open Agent School · Public worked example

Natural Language Generation (NLG): meaning and example

Welcome! Take one idea with you today.

Natural language generation turns information, instructions or a representation into language people can read or hear. A template filling in a delivery date and a model composing a paragraph are both examples. Good generation preserves meaning while fitting the audience and purpose.

Picture it: The record says “estimated arrival Friday; not guaranteed”. Message: "Your parcel is estimated to arrive Friday."

What is easy to mix up?

Useful detail must be supported and needed. Extra prose can overwhelm a person or invent a commitment.

Teaching example by Open Agent School. Source: Jurafsky & Martin - Speech and Language Processing (open textbook).