{"id":774,"date":"2020-04-07T09:10:15","date_gmt":"2020-04-07T07:10:15","guid":{"rendered":"https:\/\/user.phil.hhu.de\/kallmeyer\/?page_id=774"},"modified":"2020-07-14T07:54:05","modified_gmt":"2020-07-14T05:54:05","slug":"parsing-sommer-2020","status":"publish","type":"page","link":"https:\/\/user.phil.hhu.de\/kallmeyer\/teaching\/parsing-sommer-2020\/","title":{"rendered":"Parsing &#8211; Sommer 2020"},"content":{"rendered":"<h4>Seminar (Laura Kallmeyer)<\/h4>\n<p>Monday 10.30-12.00 and Tuesday 10.30-12.00.<\/p>\n<p>Start: 20.04.2020. Last session: 14.07.2020.<\/p>\n<p>Due to the current situation concerning Corona, the seminar will be taught as an online seminar. More information can be found <a href=\"https:\/\/app.phil-fak.uni-duesseldorf.de\/moodle\/course\/view.php?id=409\">here<\/a> on the Moodle course page.<\/p>\n<h4>Course description:<\/h4>\n<p>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. <\/p>\n<p>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.<\/p>\n<p>For references see the slides of the individual sessions. <\/p>\n<h4>Schedule and Slides<\/h4>\n<p>(Some of the slides are from previous years.)<\/p>\n<div>\n<ul>\n<li> 20.-21.04.20 <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/04\/parsing-intro.pdf\">Introduction<\/a>, <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/04\/parsing-cfg.pdf\">Context-free grammars (CFG)<\/a>\n<li> 27.-28.04.20 CFG continued, <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/04\/parsing-pda.pdf\">Push-Down Automata (PDA)<\/a>\n<li> 04-05.05.20 <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/04\/parsing-unger.pdf\">Unger&#8217;s Parser<\/a>.<br \/> <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/ex-unger.pdf\">Example<\/a> of a trace for Unger&#8217;s parser.<br \/> An implementation of Unger&#8217;s Parser (by Simon Petitjean) can be found <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/unger.py\">here<\/a>.<br \/> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/05\/parsing-top-down.pdf\">Top-down Parsing (LL-Parsing)<\/a>.\n<li> 11.-12.05.20 <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/deduction.pdf\">Parsing as Deduction<\/a>.<br \/> An example of agenda-based parsing can be found <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2019\/04\/deduction-example.pdf\">here<\/a>.\n<li> 15.05., 19.05-20<a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/cyk.pdf\">CYK Parsing<\/a>. <b>Achtung: die Vorlesung von Montag ist auf den Freitag davor (15.5. statt 18.5.) vorverlegt.<\/b>\n<li> 25.-26.05.20 <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/shift-reduce.pdf\">Shift Reduce Parsing<\/a>, <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/ll-k.pdf\">LL(1) Parsing<\/a>\n<li> 01.06.20 holiday (Pfingstmontag)\n<li> 02.06.20 LL(1) Parsing continued\n<li> 08.-09.06.20 <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/left-corner.pdf\">Left Corner Parsing<\/a>\n<li> 15.-16.06.20 <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/earley.pdf\">Earley Parsing<\/a>\n<li> 22.-23.06.20 <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/lr.pdf\">LR  Parsing<\/a>, <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/tomita.pdf\">Tomita<\/a>\n<li> 29.-30.06.20 <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2019\/07\/parsing-pcfg.pdf\">PCFG, Inside and outside, Viterbi<\/a>\n<li> 06.-07.07.20 <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2019\/06\/parsing-treebank-grammars.pdf\">Treebank grammars<\/a>, <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/weighted-deductive-parsing.pdf\">Weighted deductive parsing<\/a>\n<li> 13.-14.07.20 Weighted deductive parsing continued, <a href=\"https:\/\/user.phil-fak.uni-duesseldorf.de\/~kallmeyer\/Parsing\/a-star-parsing.pdf\">A* parsing<\/a>\n<li> 14.07.20 Transition-based constituency parsing: Kenji Sagae and Alon Lavie <a href=\"https:\/\/www.aclweb.org\/anthology\/W05-1513.pdf\">A Classifier-Based Parser with Linear Run-Time Complexity <\/a>, IWPT 2005.\n<\/ul>\n<\/div>\n<h4>Homework<\/h4>\n<div>\n<p>There are weekly exercises for the course. These exercises are obligatory, they have to be handed in via <a href=\"https:\/\/app.phil-fak.uni-duesseldorf.de\/moodle\/\">Moodle<\/a>. The solutions of the exercises will be discussed in the course.<\/p>\n<ul>\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/05\/parsing-homework-cfg1.pdf\">parsing-homework-cfg1<\/a> (with solutions), due April 27th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/05\/parsing-homework-cfg2.pdf\">parsing-homework-cfg2<\/a> (with solution), due May 4th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/05\/parsing-homework-top-down.pdf\">parsing-homework-top-down<\/a>, (with solution), due May 11th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/05\/parsing-homework-deduction.pdf\">parsing-homework-deduction<\/a>, (with solution), due May 18th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/05\/parsing-homework-cyk.pdf\">parsing-homework-cyk<\/a>, (with solution), due May 25th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/06\/parsing-homework-shift-reduce.pdf\">parsing-homework-shift-reduce<\/a> (with solution), due June 2nd 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/06\/parsing-homework-ll1.pdf\">parsing-homework-ll1<\/a>, (with solution), due June 8th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/06\/parsing-homework-left-corner-earley.pdf\">parsing-homework-left-corner-earley<\/a>, (with solution), due June 15th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/06\/parsing-homework-lr.pdf\">parsing-homework-lr<\/a>, (with solution), due June 22th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/07\/parsing-homework-tomita.pdf\">parsing-homework-tomita<\/a>,  (with solution), due June 29th 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/07\/parsing-homework-treebank-grammars.pdf\">parsing-homework-treebank-grammars<\/a>,  (with solution), due July 06th, 2020.\n<li> <a href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-content\/uploads\/sites\/19\/2020\/07\/parsing-homework-weighted-deductive.pdf\">parsing-homework-weighted-deductive<\/a>,  (with solution), due July 13th, 2020.\n<\/ul>\n<h4>Leistungsnachweise<\/h4>\n<p>Sowohl f&uuml;r einen BN als auch f&uuml;r eine AP m&uuml;ssen mindestens 9 der 12 Hausaufgabenbl&auml;tter bearbeitet und sinnvoll gel&ouml;st werden. Gruppenarbeit (max. Gruppengr&ouml;\u00dfe ist 3) ist erlaubt, bitte alle Namen auf die Abgabe.<br \/>F&uuml;r eine AP kann zus&auml;tzlich eine individuelle Pr&uuml;fung vereinbart werden, zum Beispiel eine m&uuml;ndliche Pr&uuml;fung. <\/p>\n<p>(F&uuml;r Studierende des BA Computerlinguistik integrativ ist Parsing eine Grundveranstaltung in CL5, hier ist keine AP vorgesehen.)\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Seminar (Laura Kallmeyer) Monday 10.30-12.00 and Tuesday 10.30-12.00. Start: 20.04.2020. Last session: 14.07.2020. Due to the current situation concerning Corona, the seminar will be taught as an online seminar. More information can be found here on the Moodle course page. <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/user.phil.hhu.de\/kallmeyer\/teaching\/parsing-sommer-2020\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":20,"featured_media":0,"parent":25,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0},"_links":{"self":[{"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/pages\/774"}],"collection":[{"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/comments?post=774"}],"version-history":[{"count":43,"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/pages\/774\/revisions"}],"predecessor-version":[{"id":974,"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/pages\/774\/revisions\/974"}],"up":[{"embeddable":true,"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/pages\/25"}],"wp:attachment":[{"href":"https:\/\/user.phil.hhu.de\/kallmeyer\/wp-json\/wp\/v2\/media?parent=774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}