Natural Language Processing (NLP) & Linguistic Nuances Flashcards

1
Q

What are the five major stages of Natural Language Processing (NLP) in chatbots?

A

The five stages are Lexical Analysis, Syntactic Analysis (Parsing), Semantic Analysis, Discourse Integration, and Pragmatic Analysis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Lexical Analysis in NLP?

A

Lexical Analysis is the first stage where raw text is broken into words and sentences (tokenization), parts of speech are tagged, and processes such as stemming, lemmatization, and noise removal are applied to prepare the text for further analysis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Syntactic Analysis (Parsing) in NLP?

A

Syntactic Analysis, or Parsing, focuses on grammar and structure by analyzing how words relate to each other, checking sentence well-formedness, and identifying structures like noun phrases, verb phrases, subjects, and objects, often resulting in a parse tree representation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Semantic Analysis in NLP?

A

Semantic Analysis extracts the literal meaning of words and phrases, interprets definitions, resolves word disambiguation (choosing the meaning that fits context), and can flag meaningless or contradictory sentences.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Discourse Integration in NLP?

A

Discourse Integration deals with context across multiple sentences by linking current input with previous dialogue, tracking pronouns and references, and ensuring consistency throughout the conversation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Pragmatic Analysis in NLP?

A

Pragmatic Analysis interprets sentences in their intended context using real-world knowledge, understanding implied meanings, idioms, cultural nuances, sarcasm, and inferring the user’s true intent beyond literal text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does NLP handle ambiguity in user statements?

A

Ambiguity is handled by applying semantic, discourse, and pragmatic analysis to resolve uncertainties—using context to determine meanings (e.g., whether ‘duck’ is a noun or verb) and resolving ellipsis and anaphora.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is sentiment analysis and why is it important for chatbots?

A

Sentiment analysis determines the emotional tone (positive, negative, or neutral) of user messages, enabling the chatbot to tailor its responses (e.g., apologizing or being reassuring) to improve user satisfaction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is context tracking (dialogue state tracking) in chatbots?

A

Context tracking involves remembering details from earlier in the conversation, such as user-provided information or previous dialogue, allowing the chatbot to reference earlier points and manage multi-turn interactions naturally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What additional enhancements are often integrated into the basic NLP pipeline of chatbots?

A

Enhancements include Entity Recognition (extracting specific data), Intent Recognition (classifying user goals), Dialogue Management (deciding subsequent actions), strategies for handling ambiguity (follow-up questions), and Natural Language Generation (producing fluent, contextually appropriate responses).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly