Download as pdf or txt
Download as pdf or txt
You are on page 1of 75

POS Tagging using HMM

Lecture - 7

Dr. Senthil Kumar Narayanasamy, SCORE, VIT,


Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Applications for POS Tagging
• Speech synthesis pronunciation
– Lead Lead
– OBject obJECT
– CONtent conTENT
• Parsing: e.g. Time flies like an arrow
– Is flies an N or V?
• Word prediction in speech recognition
– Possessive pronouns (my, your, her) are likely to be followed by
nouns
– Personal pronouns (I, you, he) are likely to be followed by verbs
• Machine Translation
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
English Parts of Speech
• Noun (person, place or thing)
– Singular (NN): dog, fork
– Plural (NNS): dogs, forks
– Proper (NNP, NNPS): John, Springfields
– Personal pronoun (PRP): I, you, he, she, it
– Wh-pronoun (WP): who, what
• Verb (actions and processes)
– Base, infinitive (VB): eat
– Past tense (VBD): ate
– Gerund (VBG): eating
– Past participle (VBN): eaten
– Non 3rd person singular present tense (VBP): eat
– 3rd person singular present tense: (VBZ): eats
– Modal (MD): should, can
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
English Parts of Speech (cont.)
• Adjective (modify nouns)
– Basic (JJ): red, tall
– Comparative (JJR): redder, taller
– Superlative (JJS): reddest, tallest
• Adverb (modify verbs)
– Basic (RB): quickly
– Comparative (RBR): quicker
– Superlative (RBS): quickest
• Preposition (IN): on, in, by, to, with
• Determiner:
– Basic (DT) a, an, the
– WH-determiner (WDT): which, that
• Coordinating Conjunction (CC): and, but, or,
• Particle (RP): off (took off), up (put up)

Dr. Senthil Kumar Narayanasamy, SCORE, VIT,


Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Ambiguity in POS Tagging
• “Like” can be a verb or a preposition
– I like/VBP candy.
– Time flies like/IN an arrow.
• “Around” can be a preposition, particle, or
adverb
– I bought it at the shop around/IN the corner.
– I never got around/RP to getting a car.
– A new Prius costs around/RB $25K.

Dr. Senthil Kumar Narayanasamy, SCORE, VIT,


Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Knowledge Required - word
• Some words are only nouns – arrow
• Some words are ambiguous – flies
• Probabilities may help if one tag is more likely
than the other

Dr. Senthil Kumar Narayanasamy, SCORE, VIT,


Vellore
Knowledge Required - Context
• Two determiners don’t follow each other
• Two base verbs don’t follow each other
• Determiner is always followed by adjective or
noun.

Dr. Senthil Kumar Narayanasamy, SCORE, VIT,


Vellore
Two Approaches
• Rule Based Approach
– Assign each word with a list of potential POS tags
– Then bring it down to one single tag using hand written
rules.
• Statistical Approach (Learning)
– Get a training corpus of tagged text.
– Learn the transformation rules from frequent tags(TBL
tagger)
– Probabilistic approach: most likely sequence of tags for
sequence of words.

Dr. Senthil Kumar Narayanasamy, SCORE, VIT,


Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore
Dr. Senthil Kumar Narayanasamy, SCORE, VIT,
Vellore

You might also like