Introduction Overview Argument structure advmod Classifiers Negation Refs.
Dependency parses for NLU
Christopher Potts CS 244U: Natural language understanding April 21
1 / 42
Dependency parses for NLU Christopher Potts CS 244U: Natural - - PowerPoint PPT Presentation
Introduction Overview Argument structure advmod Classifiers Negation Refs. Dependency parses for NLU Christopher Potts CS 244U: Natural language understanding April 21 1 / 42 Introduction Overview Argument structure advmod
Introduction Overview Argument structure advmod Classifiers Negation Refs.
1 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
ROOT go root My dog poss will not nsubj aux neg in prep lake pobj the det ROOT go root My dog poss will not nsubj aux neg lake prep_in the det
2 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
3 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
4 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
4 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
4 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
5 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
dep aux conj cc arg ref expl mod punct handles hyphenation differently sdep list auxpass cop subj comp agent nsubj csubj nsubjpass
attr abandoned ccomp xcomp expanded compl collapsed to mark mark rel abandoned acomp dobj iobj pobj advcl purpcl collapsed to advcl tmod rcmod amod extended to include parenthetical ages infmod partmod num number appos mwe extended nn abbrev collapsed with appos advmod poss possessive prt det prep discourse goeswith vmod vocative neg xobj
Updates from de Marneffe et al. 2013:
6 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
aux auxpass cop 6 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
auxpass cop subj comp agent nsubj csubj nsubjpass
attr abandoned ccomp xcomp expanded compl collapsed to mark mark rel abandoned acomp dobj iobj pobj advcl purpcl collapsed to advcl tmod rcmod
6 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
dep conj cc arg ref expl mod punct handles hyphenation diffe sdep list
6 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
cc arg ref expl mod handles hyphenation differently sdep list compl collapsed to mark mark rel abandoned acomp advcl purpcl collapsed to advcl tmod rcmod amod extended to include parenthetical ages infmod partmod num number appos mwe extended nn abbrev collapsed with appos advmod poss possessive prt det prep discourse goeswith vmod vocative neg
6 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
7 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
7 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
7 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
7 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
8 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
9 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
10 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
11 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
aux conj cc arg auxpass cop subj comp agent nsubj csubj nsubjpass
attr abandoned ccomp xcomp expanded compl collapsed to mark mark rel abandoned acomp dobj iobj pobj advcl purpcl collapsed to advcl tmod rcmod
12 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
Al escaped nsubj Al might escape nsubj aux Al might have escaped nsubj aux aux
Sue saw nsubj stars dobj Gerald gave nsubj puppies iobj awards dobj Gerald gave nsubj awards dobj to prep puppies pobj Gerald gave nsubj awards dobj puppies prep_to
13 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
14 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
cc arg ref expl mod handles hyphenation differently sdep list compl collapsed to mark mark rel abandoned acomp advcl purpcl collapsed to advcl tmod rcmod amod extended to include parenthetical ages infmod partmod num number appos mwe extended nn abbrev collapsed with appos advmod poss possessive prt det prep discourse goeswith vmod vocative neg
15 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
Sam 's possessive bike poss Sam bike poss
the happy student det amod the happy student det amod
prep linguistics pobj the happy student det amod linguistics prep_of the student det won rcmod who nsubj
16 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
Edna is happy nsubj cop Edna seems happy nsubj cop Edna looked nsubj happy acomp Edna considers nsubj happy xcomp Sam nsubj
wonderfully happy advmod surprisingly amazingly happy advmod advmod not surprisingly happy neg advmod Edna is no way dep happy nsubj cop advmod
17 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
Ivan and cc Penny conj left nsubj Ivan Penny conj_and left nsubj nsubj
Nobody sang nsubj and cc danced conj Nobody sang nsubj danced conj_and nsubj
18 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
19 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
20 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
20 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
21 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
1 94 218 357 496 635 774 913 1068 1238 1408 1578 1748 1918 2088 2258 2428 2598 2768 2938
Value Rank 50 100 150 200 250 300
22 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
1 5 9 13 18 23 28 33 38 43 48 53 58 63 68 73 78 83 88 93 98 104 110 116 122 128
Value Rank 50 100 150 200 250 300
22 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
23 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
24 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
25 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
25 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
25 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
25 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
26 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
26 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
26 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
26 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
not very happy neg advmod
slightly less happy advmod advmod advmod really not too happy advmod neg advmod 27 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
28 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
29 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
30 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
31 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
32 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
33 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
I did n't enjoy nsubj aux neg it dobj I never enjoy nsubj neg it dobj I do n't think nsubj aux neg enjoy ccomp I will nsubj aux it dobj
34 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
Op {det, amod} ... ... rel Op ... rel
35 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
36 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
the movie was not very good . the movie det was not very good nsubj cop neg advmod i rarely enjoy horror movies . i rarely enjoy dep advmod movies dobj horror nn i do n't think that is a good idea . i do n't think nsubj aux neg idea ccomp that is a good complm cop det amod
37 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
38 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
good – 732,963 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.08 0.13
Cat = 0.01 (p = 0.152) Cat^2 = -0.02 (p < 0.001)
bad – 254,146 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.04 0.09 0.14 0.18 0.23
Cat = -0.2 (p < 0.001) Cat^2 = 0.01 (p < 0.001)
excellent – 136,404 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.03 0.07 0.12 0.16 0.21
Cat = 0.22 (p < 0.001)
terrible – 45,470 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.03 0.07 0.1 0.15 0.22 0.3
Cat = -0.28 (p < 0.001) Cat^2 = 0.02 (p < 0.001)
39 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
good – 732,963 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.08 0.13
Cat = 0.01 (p = 0.152) Cat^2 = -0.02 (p < 0.001)
bad – 254,146 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.04 0.09 0.14 0.18 0.23
Cat = -0.2 (p < 0.001) Cat^2 = 0.01 (p < 0.001)
excellent – 136,404 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.03 0.07 0.12 0.16 0.21
Cat = 0.22 (p < 0.001)
terrible – 45,470 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.03 0.07 0.1 0.15 0.22 0.3
Cat = -0.28 (p < 0.001) Cat^2 = 0.02 (p < 0.001)
neg(good) – 169,772 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.07 0.12
Cat = -0.06 (p < 0.001) Cat^2 = -0.01 (p < 0.001)
neg(bad) – 113,865 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.04 0.09 0.14
Cat = -0.14 (p < 0.001) Cat^2 = -0.02 (p = 0.011)
neg(excellent) – 10,393 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.05 0.1 0.17
Cat = 0.15 (p < 0.001)
neg(terrible) – 9,936 tokens
Category
0.5 1.5 2.5 3.5 4.5 0.02 0.1 0.14 0.21
Cat = -0.25 (p < 0.001)
39 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
40 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
Balahur, Alexandra; Zornitsa Kozareva; and Andr´ es Montoyo. 2009. Determining the polarity and source of opinions expressed in political debates. In Alexander Gelbukh, ed., Proceedings of the 10th International Conference on Computational Linguistics and Intelligent Text Processing, 468–480. Berlin: Springer. doi:\bibinfo{doi}{10.1007/978-3-642-00382-0 38}. Danescu-Niculescu-Mizil, Cristian and Lillian Lee. 2010. Don’t ‘have a clue’? Unsupervised co-learning of downward-entailing operators. In Proceedings of the ACL 2010 Conference Short Papers, 247–252. Uppsala, Sweden: Association for Computational Linguistics. Danescu-Niculescu-Mizil, Cristian; Lillian Lee; and Richard Ducott. 2009. Without a ‘doubt’? Unsupervised discovery of downward-entailing
for Computational Linguistics, 137–145. Association for Computational Linguistics. Das, Sanjiv and Mike Chen. 2001. Yahoo! for Amazon: Extracting market sentiment from stock message boards. In Proceedings of the 8th Asia Pacific Finance Association Annual Conference. de Marneffe, Marie-Catherine; Bill MacCartney; and Christopher D. Manning. 2006. Generating typed dependency parses from phrase structure
Johansson, Richard and Pierre Nugues. 2008. Dependency-based semantic role labeling of PropBank. In Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, 69–78. Honolulu, Hawaii: Association for Computational Linguistics. Kennedy, Christopher. 2007. Vagueness and grammar: The semantics of relative and absolute gradable adjective. Linguistics and Philosophy 30(1):1–45. Kennedy, Christopher and Louise McNally. 2005. Scale structure and the semantic typology of gradable predicates. Language 81(2):345–381. Lerman, Kevin; Ari Gilder; Mark Dredze; and Fernando Pereira. 2008. Reading the markets: Forecasting public opinion of political candidates by news analysis. In Proceedings of the 22nd International Conference on Computational Linguistics, 473–480. Manchester, UK: Association for Computational Linguistics. Liang, Percy; Michael I. Jordan; and Dan Klein. 2013. Learning dependency-based compositional semantics. Computational Linguistics 39(2):389–446. doi:\bibinfo{doi}{10.1162/COLI a 00127}. Lin, Dekang. 1998. Automatic retrieval and clustering of similar words. In Proceedings of COLING-ACL, 768–774. Montreal: ACl. van der Maaten, Laurens and Hinton Geoffrey. 2008. Visualizing data using t-SNE. Journal of Machine Learning Research 9:2579–2605. de Marneffe, Marie-Catherine; Miriam Connor; Natalia Silveira; Samuel R. Bowman; Timothy Dozat; and Christopher D. Manning. 2013. More constructions, more genres: Extending Stanford Dependencies. In Eva Hajiˇ cov´ a; Kim Gerdes; and Leo Wanner, eds., Proceedings of the Second International Conference on Dependency Linguistics, 187–196. Prague. de Marneffe, Marie-Catherine and Christopher D. Manning. 2008a. Stanford Typed Dependencies Manual. Stanford University. de Marneffe, Marie-Catherine and Christopher D. Manning. 2008b. The Stanford typed dependencies representation. In Proceedings of the COLING 2008 Workshop on Cross-Framework and Cross-Domain Parser Evaluation, 1–8. ACL. de Marneffe, Marie-Catherine; Christopher D. Manning; and Christopher Potts. 2012. Did it happen? The pragmatic complexity of veridicality
Mintz, Mike; Steven Bills; Rion Snow; and Daniel Jurafsky. 2009. Distant supervision for relation extraction without labeled data. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP, 1003–1011. Suntec, Singapore: Association for Computational Linguistics. 41 / 42
Introduction Overview Argument structure advmod Classifiers Negation Refs.
Pang, Bo; Lillian Lee; and Shivakumar Vaithyanathan. 2002. Thumbs up? sentiment classification using machine learning techniques. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 79–86. Philadelphia: Association for Computational Linguistics. Percha, Bethany; Yael Garten; and Russ B. Altman. 2012. Discovering and explanation of drug–drug interactions via text mining. Pacific Symposium on Biocomputing 410–421. Snow, Rion; Daniel Jurafsky; and Andrew Y. Ng. 2005. Learning syntactic patterns for automatic hypernym discovery. In Lawrence K. Saul; Yair Weiss; and L´ eon Bottou, eds., Advances in Neural Information Processing Systems 17, 1297–1304. Cambridge, MA: MIT Press. Surdeanu, Mihai; Richard Johansson; Adam Meyers; Llu´ ıs M` arquez; and Joakim Nivre. 2008. The CoNLL 2008 shared task on joint parsing of syntactic and semantic dependencies. In CoNLL 2008: Proceedings of the Twelfth Conference on Computational Natural Language Learning, 159–177. Manchester: Coling 2008 Organizing Committee. Syrett, Kristen and Jeffrey Lidz. 2010. 30-month-olds use the distribution and meaning of adverbs to interpret novel adjectives. Language Learning and Development 6(4):258–282. 42 / 42