How to solve Question 1?  Question 1: There are only four words in the language: awk, yacc, grep, and perl. Each of these words can be either a noun or a verb. Of all noun occurrences, 10% are the word awk, 20% are the word yacc, 40% are the word grep, and 30% are the word perl. Of all verb occurrences, 20% are the word awk, 30% are the word yacc, 45% are the word grep, and 5% are the word perl. Using the Markov model described above and the Variable Elimination algorithm, find the probability that the fourth word of the following sentence is a noun: Perl yacc awk awk. So in other words, the question is what is P(Q4 = noun | O1 = perl, O2 = yacc, O3 = awk, O4 = awk)?

Algebra and Trigonometry (MindTap Course List)
4th Edition
ISBN:9781305071742
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:James Stewart, Lothar Redlin, Saleem Watson
Chapter14: Counting And Probability
Section14.CT: Chapter Test
Problem 2CT: A hospital cafeteria offers a fixed-price lunch consisting of a main course, a dessert, and a drink....
icon
Related questions
Question

How to solve Question 1? 

Question 1:

There are only four words in the language: awkyaccgrep, and perl. Each of these words can be either a noun or a verb. Of all noun occurrences, 10% are the word awk, 20% are the word yacc, 40% are the word grep, and 30% are the word perl. Of all verb occurrences, 20% are the word awk, 30% are the word yacc, 45% are the word grep, and 5% are the word perl.

Using the Markov model described above and the Variable Elimination algorithm, find the probability that the fourth word of the following sentence is a noun: Perl yacc awk awk.

So in other words, the question is what is P(Q4 = noun | O1 = perl, O2 = yacc, O3 = awk, O4 = awk)?

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Algebra and Trigonometry (MindTap Course List)
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:
9781305071742
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax