Bird
0
0

If a trigram model gives P('sunny'|'the', 'very')=0.2 and P('sunny'|'it', 'is')=0.05, what is the probability of 'the very sunny'?

medium📝 Predict Output Q5 of 15
NLP - Text Generation
If a trigram model gives P('sunny'|'the', 'very')=0.2 and P('sunny'|'it', 'is')=0.05, what is the probability of 'the very sunny'?
A0.05
B0.01
C0.25
D0.2
Step-by-Step Solution
Solution:
  1. Step 1: Identify the trigram probability for 'sunny'

    The probability needed is P('sunny'|'the', 'very') = 0.2.
  2. Step 2: Calculate sentence probability

    Assuming start tokens have probability 1, the sentence probability equals 0.2.
  3. Final Answer:

    0.2 -> Option D
  4. Quick Check:

    Trigram sentence probability = 0.2 [OK]
Quick Trick: Use trigram probability for last word given two previous [OK]
Common Mistakes:
MISTAKES
  • Mixing trigram with bigram probabilities
  • Adding probabilities instead of multiplying
  • Using wrong context words

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes