<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hidden Markov Models on Arshad Siddiqui</title><link>https://arshadhs.github.io/tags/hidden-markov-models/</link><description>Recent content in Hidden Markov Models on Arshad Siddiqui</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://arshadhs.github.io/tags/hidden-markov-models/index.xml" rel="self" type="application/rss+xml"/><item><title>Part-of-Speech Tagging and Hidden Markov Models</title><link>https://arshadhs.github.io/docs/ai/050-nlp/060-part-of-speech-tagging/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/ai/050-nlp/060-part-of-speech-tagging/</guid><description>&lt;h1 id="part-of-speech-tagging-and-hidden-markov-models">
 Part-of-Speech Tagging and Hidden Markov Models
 
 &lt;a class="anchor" href="#part-of-speech-tagging-and-hidden-markov-models">#&lt;/a>
 
&lt;/h1>
&lt;p>Part-of-Speech tagging assigns a grammatical category to each word in a sequence. Because many words can play different grammatical roles, a tagger must use surrounding context rather than examine each word independently.&lt;/p>
&lt;h2 id="learning-objectives">
 Learning Objectives
 
 &lt;a class="anchor" href="#learning-objectives">#&lt;/a>
 
&lt;/h2>
&lt;ul>
&lt;li>Identify common English word classes and Penn Treebank tags.&lt;/li>
&lt;li>Explain why POS tagging is a sequence-labelling problem.&lt;/li>
&lt;li>Describe the Markov assumption.&lt;/li>
&lt;li>Distinguish a Markov Chain from a Hidden Markov Model.&lt;/li>
&lt;li>Explain how an HMM represents POS tagging.&lt;/li>
&lt;/ul>
&lt;h2 id="big-picture">
 Big Picture
 
 &lt;a class="anchor" href="#big-picture">#&lt;/a>
 
&lt;/h2>


&lt;pre class="mermaid">
flowchart TD
 A[&amp;#34;Word Sequence&amp;#34;] --&amp;gt; B[&amp;#34;Use Context&amp;#34;]
 B --&amp;gt; C[&amp;#34;Infer Hidden Tags&amp;#34;]
 C --&amp;gt; D[&amp;#34;Tagged Sequence&amp;#34;]

 style A fill:#E1F5FE
 style B fill:#C8E6C9
 style C fill:#FFF9C4
 style D fill:#EDE7F6
&lt;/pre>

&lt;h2 id="1-what-is-part-of-speech-tagging-">
 1. What Is Part-of-Speech Tagging? ☆
 
 &lt;a class="anchor" href="#1-what-is-part-of-speech-tagging-">#&lt;/a>
 
&lt;/h2>
&lt;p>A part of speech describes the grammatical role played by a word in a sentence. POS tagging assigns one tag to every word in a sequence.&lt;/p></description></item><item><title>Statistical, ML and Neural Models of POS Tagging</title><link>https://arshadhs.github.io/docs/ai/050-nlp/070-statistical-ml-and-neural-models-of-pos-tagging/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arshadhs.github.io/docs/ai/050-nlp/070-statistical-ml-and-neural-models-of-pos-tagging/</guid><description>&lt;h1 id="statistical-ml-and-neural-models-of-pos-tagging">
 Statistical, ML and Neural Models of POS Tagging
 
 &lt;a class="anchor" href="#statistical-ml-and-neural-models-of-pos-tagging">#&lt;/a>
 
&lt;/h1>
&lt;p>&amp;lsquo;HMM Inference: Forward and Viterbi Algorithms&amp;rsquo; covers the portion:&lt;/p>
&lt;ul>
&lt;li>Forward Algorithm&lt;/li>
&lt;li>Viterbi Algorithm&lt;/li>
&lt;li>HMM inference for POS tagging&lt;/li>
&lt;/ul>
&lt;p>The complete Topic also includes:&lt;/p>
&lt;ul>
&lt;li>Maximum Entropy Markov Models&lt;/li>
&lt;li>Bidirectionality&lt;/li>
&lt;li>Neural-network models for POS tagging&lt;/li>
&lt;/ul>
&lt;h1 id="hmm-inference-forward-and-viterbi-algorithms">
 HMM Inference: Forward and Viterbi Algorithms
 
 &lt;a class="anchor" href="#hmm-inference-forward-and-viterbi-algorithms">#&lt;/a>
 
&lt;/h1>
&lt;p>Hidden Markov Models create two closely related inference problems:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Likelihood:&lt;/strong> How probable is an observed sequence under the model?&lt;/li>
&lt;li>&lt;strong>Decoding:&lt;/strong> Which hidden-state sequence most probably generated the observations?&lt;/li>
&lt;/ul>
&lt;p>The Forward Algorithm solves the likelihood problem, while the Viterbi Algorithm solves the decoding problem. Both use dynamic programming and a trellis, but they combine paths differently.&lt;/p></description></item></channel></rss>