BIT252 ยท 2082 ยท 5 marks
Discuss the discourse and pragmatic analytics in natural language processing.
Discuss the discourse and pragmatic analytics in natural language processing. [5]
Quick answer
Discourse refers to the analysis of language beyond the sentence level. It deals with how sentences are connected and structured to form coherent text or conversation.
Discourse and Pragmatic Analytics in Natural Language Processing
1. Discourse Analytics
Key Components of Discourse Analytics:
a) Discourse Structure
- Analyzes how sentences and paragraphs are organized to convey meaning.
- Identifies rhetorical relations between text segments (e.g., cause-effect, contrast, elaboration).
b) Coreference Resolution
- Determines when different expressions in a text refer to the same entity.
- Example: "Ram went to the store. He bought milk." -- "He" refers to Ram.
c) Discourse Coherence
- Ensures that a text is logically and semantically connected.
- Models like Centering Theory track how entities are introduced and maintained across sentences.
d) Anaphora Resolution
- Identifies what a pronoun or noun phrase refers to in earlier text.
- Example: Resolving "it", "they", "this" to their antecedents.
e) Topic Segmentation
- Divides a document into segments based on topic shifts.
- Used in summarization, information retrieval, and dialogue systems.
2. Pragmatic Analytics
Pragmatics is the study of how context influences the interpretation of meaning. It goes beyond literal meaning to understand the intended meaning of an utterance.
Key Components of Pragmatic Analytics:
a) Speech Act Theory
- Proposed by Austin and Searle.
- Every utterance performs an act:
- Locutionary act: The literal meaning.
- Illocutionary act: The intended action (request, promise, warning).
- Perlocutionary act: The effect on the listener.
- Example: "Can you pass the salt?" is a request, not a yes/no question.
b) Implicature
- Based on Grice's Cooperative Principle and maxims (Quantity, Quality, Relation, Manner).
- Speakers often imply more than they literally say.
- Example: "It's getting cold in here" implies "Please close the window."
c) Presupposition
- Information that is assumed to be true before an utterance is made.
- Example: "Have you stopped cheating?" presupposes the person was cheating.
d) Deixis
- Words whose interpretation depends on context (time, place, person).
- Types: Person deixis (I, you), Place deixis (here, there), Time deixis (now, then).
e) Dialogue and Conversation Management
- Analyzes turn-taking, topic management, and conversational implicature in dialogues.
- Important for building chatbots and dialogue systems.
3. Importance in NLP Applications
| Application | Discourse/Pragmatic Role |
|---|---|
| Machine Translation | Maintaining coherence across sentences |
| Chatbots | Understanding intent beyond literal words |
| Sentiment Analysis | Detecting sarcasm and implied meaning |
| Text Summarization | Identifying key discourse segments |
| Question Answering | Resolving references and context |
Summary
Discourse analytics focuses on structure and coherence of text across sentences, while pragmatic analytics focuses on contextual and intended meaning of language. Both are essential for building NLP systems that truly understand human language rather than just processing words in isolation.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.