Questions: Sentiment Analysis in NLP

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A bag-of-words sentiment classifier trained on product reviews is given the sentence: 'I wouldn't say this is anything less than remarkable.' It predicts negative sentiment. What explains this error?

AThe training data lacked enough examples of double negations for the model to learn them
BBag-of-words discards word order, so 'wouldn't' and 'less' register as negative signals without any representation of how they combine to negate each other
CThe word 'remarkable' was not in the training vocabulary, so the model defaulted to negative
DThe sentence is genuinely ambiguous and the classifier correctly flagged uncertainty as negative
Question 2 Multiple Choice

A restaurant review reads: 'The pasta was divine, but the 45-minute wait and rude server ruined the evening.' A single-score document-level classifier assigns it 0.55 (mildly positive). What does this reveal about the classifier's limitation?

AThe classifier needs more training data, since mildly positive is clearly wrong for this review
BSingle-score classification cannot distinguish that food sentiment and service sentiment are different aspects requiring separate targets — a task requiring aspect-based sentiment analysis
CTransformer-based models would also fail on this sentence because of the contrastive conjunction 'but'
DThe classifier is interpreting the review correctly; 'divine pasta' outweighs the service complaints
Question 3 True / False

Transformer-based sentiment models outperform bag-of-words models on sentences with negation because attention mechanisms allow them to learn how words modify each other's meaning within a sentence.

TTrue
FFalse
Question 4 True / False

A bag-of-words model that correctly identifies strong sentiment-bearing words ('excellent,' 'awful') will reliably classify sentences containing those words, because individual word polarity is the primary determinant of sentence sentiment.

TTrue
FFalse
Question 5 Short Answer

Why do bag-of-words models fail on negated phrases like 'not bad,' and what property of LSTM or transformer architectures allows them to handle negation correctly?

Think about your answer, then reveal below.