Automatic POS tagging: the problem Methods for tagging
Part of Speech Tagging
Informatics 2A: Lecture 16 John Longley
School of Informatics University of Edinburgh
23 October 2014
Informatics 2A: Lecture 16 Part of Speech Tagging 1
Part of Speech Tagging Informatics 2A: Lecture 16 John Longley - - PowerPoint PPT Presentation
Automatic POS tagging: the problem Methods for tagging Part of Speech Tagging Informatics 2A: Lecture 16 John Longley School of Informatics University of Edinburgh 23 October 2014 Informatics 2A: Lecture 16 Part of Speech Tagging 1
Automatic POS tagging: the problem Methods for tagging
Informatics 2A: Lecture 16 Part of Speech Tagging 1
Automatic POS tagging: the problem Methods for tagging
Informatics 2A: Lecture 16 Part of Speech Tagging 2
Automatic POS tagging: the problem Methods for tagging
1 Have you read ‘The Wind in the Willows’? (noun) 2 The clock has stopped. Please wind it up. (verb) 3 The students tried to protest. (verb) 4 The students’ protest was successful. (noun) Informatics 2A: Lecture 16 Part of Speech Tagging 3
Automatic POS tagging: the problem Methods for tagging
Informatics 2A: Lecture 16 Part of Speech Tagging 4
Automatic POS tagging: the problem Methods for tagging
Informatics 2A: Lecture 16 Part of Speech Tagging 5
Automatic POS tagging: the problem Methods for tagging
1 14 tokens, 6 types 2 14 tokens, 7 types 3 14 tokens, 8 types 4 None of the above. Informatics 2A: Lecture 16 Part of Speech Tagging 6
Automatic POS tagging: the problem Methods for tagging
Informatics 2A: Lecture 16 Part of Speech Tagging 7
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 8
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 9
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 10
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 11
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 12
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 13
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 14
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 15
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 16
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
1 |T| tag sequences 2 n tag sequences 3 |T| × n tag sequences 4 |T|n tag sequences Informatics 2A: Lecture 16 Part of Speech Tagging 17
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
START
Informatics 2A: Lecture 16 Part of Speech Tagging 18
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
1 Create probability matrix, with one column for each
2 We proceed by filling cells, column by column. 3 The entry in column i, row j will be the probability of the
Informatics 2A: Lecture 16 Part of Speech Tagging 19
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 20
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 21
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 22
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 23
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 24
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 25
Automatic POS tagging: the problem Methods for tagging Unigram tagging Bigram tagging Tagging using Hidden Markov Models: Viterbi algorithm
Informatics 2A: Lecture 16 Part of Speech Tagging 26