Bird
0
0

Given the following unigram probabilities: P(I)=0.2, P(love)=0.1, P(AI)=0.05, what is the probability of the sentence "I love AI" under a unigram model?

medium📝 Predict Output Q13 of 15
NLP - Text Generation
Given the following unigram probabilities: P(I)=0.2, P(love)=0.1, P(AI)=0.05, what is the probability of the sentence "I love AI" under a unigram model?
A0.01
B0.001
C0.35
D0.0001
Step-by-Step Solution
Solution:
  1. Step 1: Understand unigram model calculation

    Unigram model assumes words are independent, so multiply their probabilities.
  2. Step 2: Calculate sentence probability

    Multiply P(I) * P(love) * P(AI) = 0.2 * 0.1 * 0.05 = 0.001
  3. Final Answer:

    0.001 -> Option B
  4. Quick Check:

    Unigram multiply all word probs = 0.001 [OK]
Quick Trick: Multiply all word probabilities for unigram [OK]
Common Mistakes:
MISTAKES
  • Adding probabilities instead of multiplying
  • Using conditional probabilities (bigram) by mistake
  • Incorrect multiplication order

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes