Discourse integration is closely related to pragmatics. Discourse integration is considered as the larger context for any smaller part of NL structure. NL is so complex and, most of the time, sequences of text are dependent on prior discourse.
This concept occurs often in pragmatic ambiguity. This analysis deals with how the immediately preceding sentence can affect the meaning and interpretation of the next sentence. Here, context can be analyzed in a bigger context, such as paragraph level, document level, and so on.