The study of patterns of language use at the level of whole texts or larger units, such as conversations or speeches.