Question: PROBLEM 2 : Part - of - speech - tagging ( 5 0 points ) Use the Viterbi algorithm to assign POS tags to the

PROBLEM 2: Part-of-speech-tagging (50 points)
Use the Viterbi algorithm to assign POS tags to the following two sentences:
S 1 : The chairman of the board is completely bold.
S2: A chair was found in the middle of the road.
Use the following tag transition probability table A and observation likelihood array B. Both tables use the Penn Treebank POS tags.
\( A=\)
\begin{tabular}{|l|c|c|c|c|c|c|c|c|c|}
\hline & DT & NN & VB & VBZ & VBN & JJ & RB & IN & \(\langle/\mathrm{s}\rangle \)\\
\hline\(\langle \) S \(>\) & 0.38 & 0.32 & 0.04 & 0 & 0 & 0.11 & 0.01 & 0.14 & 0\\
\hline DT & 0 & 0.58 & 0 & 0 & 0 & 0.42 & 0 & 0 & 0\\
\hline NN & 0 & 0.07 & 0 & 0.05 & 0.32 & 0 & 0 & 0.25 & 0.11\\
\hline VB & 0.07 & 0.08 & 0 & 0 & 0 & 0 & 0.2 & 0.61 & 0.13\\
\hline VBZ & 0.2 & 0.3 & 0 & 0 & 0 & 0.24 & 0.15 & 0.11 & 0\\
\hline VBN & 0.18 & 0.22 & 0 & 0 & 0.2 & 0.07 & 0.16 & 0.11 & 0.06\\
\hline JJ & 0 & 0.88 & 0 & 0 & 0 & 0.12 & 0 & 0 & 0\\
\hline RB & 0 & 0 & 0 & 0.22 & 0.28 & 0.39 & 0.1 & 0 & 0.01\\
\hline IN & 0.57 & 0.28 & 0 & 0 & 0 & 0.15 & 0 & 0 & 0\\
\hline
\end{tabular}
1. Create the Hidden Markov Model (HMM) and show (a) the transition probabilities and (b) observation likelihoods in each state that will be reached by sentences S1 and S2 after 3 time-steps. Present only the transition and observation likelihoods in the states reached after three steps.
2. Create the Viterbi table for each sentence and populate it entirely.
3. What is the probability of assigning the tag sequence for each of the sentences.?
4. Execute the Stanford POS-tagger (available from:
PROBLEM 2 : Part - of - speech - tagging ( 5 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!