Syntactic and semantic parsing
Problems
- Constituency parsing
Find the phrase-structure tree of a natural language sentence, with labeled constituents such as NP and VP over spans of words.
core - Dependency parsing
Find the dependency tree of a sentence, the head and the relation label of each word.
core - Natural language inference
Decide whether a premise sentence entails, contradicts or is neutral toward a hypothesis sentence.
core - Semantic parsing
Map a sentence to a formal meaning representation, such as a logical form, a database query or a program, that can be executed.
core - Semantic role labeling
Find the predicates of a sentence and label the spans that fill their roles, such as agent, patient and instrument.
core
Algorithms
- Arc-eager parsing
Transition-based parsing that adds right arcs as early as possible, with moves shift, left-arc, right-arc and reduce, in linear time.
1 languagescore - Arc-standard parsing
Transition-based dependency parsing with a stack, a buffer and the moves shift, left-arc and right-arc between the two top stack words.
1 languagescore - Eisner algorithm
An O(n^3) dynamic program over complete and incomplete spans that finds the best projective dependency tree under arc-factored scores.
1 languagescore - Head rules
A table that picks the head child of each phrase type, used to lexicalize trees and to convert constituency trees to dependencies.
1 languagescore - Maximum spanning tree dependency parsing
Score every possible arc and take the maximum spanning arborescence by Chu-Liu-Edmonds, which allows non-projective trees.
1 languagescore - A* parsing
Agenda-based exact Viterbi parsing that pops chart items by inside score plus an admissible and monotonic estimate of the outside score.
1 languagesadvanced - Arc-hybrid parsing
A transition system that takes left-arc from arc-eager and right-arc from arc-standard. It has a simple exact dynamic oracle.
1 languagesadvanced - Feature structure unification
Merge two feature structures, directed graphs of attribute values, into the most general one that has the information of both, or fail.
1 languagesadvanced - Neural transition-based dependency parser
A transition parser whose next move is chosen by a feedforward network on embeddings of words, tags and labels near the stack top.
1 languagesadvanced - Smatch
Score two AMR graphs by the F1 of matching triples under the best variable mapping, found by hill climbing with restarts.
1 languagesadvanced - Swap transition system
Arc-standard parsing with an extra swap move that reorders words, so it builds any non-projective tree, in quadratic time at worst and near linear time on treebanks.
1 languagesadvanced - Biaffine dependency parser
Score each head-dependent pair by a biaffine product of BiLSTM vectors, then decode the best tree under those arc scores.
1 languagesresearch - Span-based neural constituency parsing
A neural network scores each labeled span of the sentence, and a CKY-style dynamic program over spans finds the binary tree with the largest total score.
1 languagesresearch
Techniques
- Dynamic oracle
Train a transition parser on its own possibly wrong configurations, with an oracle that gives the moves that can still reach the best tree.
advanced - Parent annotation
Split each nonterminal of the treebank trees by the label of its parent, so a PCFG sees more context. Klein and Manning measured F1 rising from 72.62 to 76.81.
1 languagesadvanced - Supertagging
Assign each word a rich lexical category, such as a CCG category or a TAG elementary tree, by sequence tagging before full parsing.
advanced
Definitions
- Attachment score
The fraction of words whose predicted head is correct (unlabeled) or whose head and relation label are both correct (labeled).
intro - Dependency tree
A rooted tree over the words of a sentence with a labeled arc from each head word to each of its dependents.
intro - Treebank
A corpus of sentences annotated with their syntactic trees, used to read off grammars and to train and test parsers.
intro - PARSEVAL measures
Precision, recall and F1 of the labeled constituent spans of a predicted tree against a gold tree, the standard score of constituency parsers.
core - Projective dependency tree
A dependency tree in which every word between a head and its dependent is a descendant of that head, so arcs drawn above do not cross.
core - Abstract meaning representation
A rooted, directed, labeled graph of concepts and relations that captures who did what to whom in a sentence, abstracting from syntax.
advanced
Models
- Combinatory categorial grammar
A lexicalized grammar whose words have functor categories such as (S\NP)/NP, combined by application, composition and type raising.
advanced - Dependency model with valence
Klein and Manning's generative model for unsupervised dependency induction, with stop and attach decisions on each side of a head, trained by EM.
advanced - Latent-variable PCFG
A PCFG whose nonterminals are split into latent subcategories learned by EM, with repeated split, merge and smoothing rounds.
advanced - Lexicalized PCFG
A PCFG whose nonterminals carry their head word and tag, with rule probabilities factored into head and dependent generation steps.
advanced - Rhetorical structure theory
A theory of discourse that builds a tree over text spans joined by relations such as elaboration or contrast between nucleus and satellite.
advanced - Tree-adjoining grammar
A mildly context-sensitive formalism that builds trees from elementary trees by substitution and adjunction, parsed in O(n^6) time.
advanced