Seminar (Laura Kallmeyer)
Monday 10.30-12.00 and Tuesday 08.30-10.00, room 24.53.01.81.
Start: 09.10.2017. Last session: 30.01.2018.
Course description:
Parsing is a central task in natural language processing. Its goal is to compute the syntactic structures of sentences. Such a syntactic structure could either be a constituency structure or a dependency structure. The former is in many cases taken to be generated by a context-free grammar (CFG). Consequently, constituency parsing amounts to a) implementing/inducing a context-free grammar and b) using this grammar for parsing. Dependency parsing, in contrast to this, is mostly grammar-less parsing using machine-learning techniques.
In this course, we will mainly concentrate on step b) of CFG-based constituency parsing. We will revise various symbolic parsing algorithms that yield, given a CFG and an input sentence, the set of all parse trees for this sentence. In the second half of the course, we will move on to probabilistic parsing, covering Viterbi parsing and weighted deductive parsing with A* estimates.
For references see the slides of the individual sessions.
Schedule and Slides
- 09.10.17 Introduction
- 10.10.17 Context-free grammars (CFG)
- 16.10.17 CFG II
- 17.10.17 Push-Down Automata (PDA)
- 23.10.17 Unger’s Parser
- 24.10.17 Unger’s Parser II. Example
- 30.10.17 Top-down Parsing (LL-Parsing)
- 31.10.17 entfällt (Reformationstag)
- 06.11.17 Parsing as Deduction
- 07.11.17 CYK Parsing
- 13.11.17 CYK Parsing II
- 14.11.17 Shift Reduce Parsing
- 20.11.17 LL(1) Parsing
- 21.11.17 LL(1) Parsing II
- 27.11.17 Preparation mid term exam. Sample exercises can be found here, and last year’s mid term exam is here.
- 28.11.17 Mid term exam. Any non-electronic material (course slides etc.) is allowed. The exam is in room 2332.U1.44.
- 04.12.17 Left Corner Parsing
- 05.12.17 Earley Parsing
- 11.12.17 Earley Parsing II
- 12.12.17 LR Parsing
- 18.12.17 LR Parsing II
- 19.12.17 Tomita
- 08.01.18 PCFG, Inside and outside, Viterbi
- 09.01.18 Treebank grammars
- 15.01.18 Weighted deductive parsing
- 16.01.18 Weighted deductive parsing II
- 22.01.18 A* parsing
- 23.01.18 A* parsing II
- 29.01.18 Preparation final exam. For preparation, here is the final exam from 2013, and here the one from 2016.
- 30.01.18 Final exam. Any non-electronic material (course slides etc.) is allowed. The exam is in room 2332.U1.44.
Exercises
There are weekly exercises for the course. These exercises are not mandatory but but working on them is a good way to prepare for the exams. The solutions of the exercises will be discussed in the course.
The collection of homework exercises can be found here: Exercises.
Leistungsnachweise
Sowohl für einen BN als auch für eine AP muss in einer Gruppe von zwei Studierenden ein Beispiel zu einem der Themen erklärt und als Handout ausgearbeitet werden. Daneben ist die Teilnahme an beiden Klausuren obligatorisch. Für einen BN müssen mindestens 50% der Aufgaben sinnvoll bearbeitet werden. Für eine AP setzt sich die Gesamtnote zu gleichen Teilen aus den beiden Klausurnoten zusammen.