Sequence Labeling
- Prof. Sameer Singh
CS 295: STATISTICAL NLP WINTER 2017
January 31, 2017
Based on slides from Nathan Schneider, Noah Smith, Yejin Choi, and everyone else they copied from.
Sequence Labeling Prof. Sameer Singh CS 295: STATISTICAL NLP - - PowerPoint PPT Presentation
Sequence Labeling Prof. Sameer Singh CS 295: STATISTICAL NLP WINTER 2017 January 31, 2017 Based on slides from Nathan Schneider, Noah Smith, Yejin Choi, and everyone else they copied from. Outline Sequence Labelling and POS Tagging
January 31, 2017
Based on slides from Nathan Schneider, Noah Smith, Yejin Choi, and everyone else they copied from.
CS 295: STATISTICAL NLP (WINTER 2017) 2
CS 295: STATISTICAL NLP (WINTER 2017) 3
CS 295: STATISTICAL NLP (WINTER 2017) 4
Sentiment Analysis Identify Topic Language Model
CS 295: STATISTICAL NLP (WINTER 2017) 5
CS 295: STATISTICAL NLP (WINTER 2017) 6
Applications:
CS 295: STATISTICAL NLP (WINTER 2017) 7
“Open classes” Nouns, verbs, adjectives, adverbs, numbers “Closed classes”
CS 295: STATISTICAL NLP (WINTER 2017) 8
CS 295: STATISTICAL NLP (WINTER 2017) 9
3BR flat in Bruntsfield , near main roads . Bright , well maintained ... SIZE TYPE O LOC O LOC LOC LOC O FEAT O FEAT FEAT ...
CS 295: STATISTICAL NLP (WINTER 2017) 10
Authors Title Publication Venue
CS 295: STATISTICAL NLP (WINTER 2017) 11
CS 295: STATISTICAL NLP (WINTER 2017) 12
CS 295: STATISTICAL NLP (WINTER 2017) 13
How do we select a “consistent” set of POS tags? “Impossible” Transitions
Fruit flies like a bird. Fruit flies like bananas. Based on semantics
CS 295: STATISTICAL NLP (WINTER 2017) 14
CS 295: STATISTICAL NLP (WINTER 2017) 15
Transition on Words versus Tags
CS 295: STATISTICAL NLP (WINTER 2017) 16
S E
CS 295: STATISTICAL NLP (WINTER 2017) 17
CS 295: STATISTICAL NLP (WINTER 2017) 18 S E
Smoothing
CS 295: STATISTICAL NLP (WINTER 2017) 19 S E
Interpolation
CS 295: STATISTICAL NLP (WINTER 2017) 20
CS 295: STATISTICAL NLP (WINTER 2017) 21
CS 295: STATISTICAL NLP (WINTER 2017) 22
CS 295: STATISTICAL NLP (WINTER 2017) 23 S E
CS 295: STATISTICAL NLP (WINTER 2017) 24
CS 295: STATISTICAL NLP (WINTER 2017) 25
Fruit flies like bananas R(1,N) R(1,V) R(1,IN) R(2,N) R(2,V) R(2,IN) R(3,N) R(3,V) R(3,IN) R(4,N) R(4,V) R(4,IN) S E
CS 295: STATISTICAL NLP (WINTER 2017) 26
Initialization Iterative Computation (forward) Follow pointers (backward)
CS 295: STATISTICAL NLP (WINTER 2017) 27
CS 295: STATISTICAL NLP (WINTER 2017) 28
CS 295: STATISTICAL NLP (WINTER 2017) 29
Supervision is not always appropriate
Generalize the notion of “clustering” to sequence labeling.
CS 295: STATISTICAL NLP (WINTER 2017) 30
K-Means Initialization Pick K random centroids Compute Expectations Cluster all the points Update Parameters Update centroids
CS 295: STATISTICAL NLP (WINTER 2017) 31
Homework
Project
Summaries