In linguistics, aggregation is a subtask of natural language generation, which involves merging syntactic constituents (such as sentences and phrases) together.
Aggegration decisions certainly depend on the semantic relations between the constituents, as mentioned above; they also depend on the genre (e.g., bureaucratic texts tend to be more aggregated than instruction manuals).
In their terminology, John went to the shop and bought an apple is an example of forward conjunction Reduction [3] Much less is known about conceptual aggregation.
[citation needed] However the SimpleNLG system[5] does include limited support for basic aggregation.
For example, the following code causes SimpleNLG to print out The man is hungry and buys an apple.