This software is available in the Treehouse. You can also install it on your home machines, but you'll need to be running linux. If you don't already have a linux machine, we suggest Ubuntu+LKB.
Natural language processing (NLP) enables computers to make use of data represented in human language (including the vast quantities of data available on the web) and to interact with computers on human terms. Applications from machine translation to speech recognition and web-based information retrieval demand both precision and robustness from NLP technology. Meetings these demands will require better hand-built grammars of human languages combined with sophisticated statistical processing methods. This class focuses on the implementation of linguistic grammars, drawing on a combination of sound grammatical theory and engineering skills.
Class meetings will alternate between lectures and discussion sessions. We will cover the implementation of constraints in morphology, syntax and semantics within a unification-based lexicalist framework of grammar. Weekly exercises will focus on building up an implemented grammar for a language of your choice (everyone must work on a different language, so be prepared to work with a language you don't know well!), based on the LinGO Grammar Matrix. At the end of the quarter, we will use the various grammars in a machine translation task.
Prerequisites: Linguistics 566 or equivalent. No programming experience is required.
Note: To request academic accommodations due to a disability, please contact Disabled Student Services, 448 Schmitz, 206-543-8924 (V/TTY). If you have a letter from Disabled Student Services indicating that you have a disability which requires academic accommodations, please present the letter to the instructor so we can discuss the accommodations you might need in this class.
Weekly lab exercises, typically assigned on Mondays and due by Friday night. Course time on Thursdays will be used for discussion of the exercises, so please work on them ahead of time and bring questions. Lab exercises will require write-ups to explain the phenomena as manifested in your language and how you implemented your analysis. Active class participation will be viewed favorably when it comes to grading.
Everyone will complete Lab 1 individually, but students are be expected to work in pairs starting with Lab 2. Partners will alternate doing the write up portion of the lab, and have the grades for the labs where they did the write up weighted more heavily in their final course grade.
Lab exercises are to be turned in via Canvas.
Under construction---will be updated.
All course recordings will be posted on our Canvas page. If I'm slow to make them available there, please ping me over the Canvas discussions.
|3/28, 3/30||Overview, Introduction
|Lab 1: Getting to know the LKB and the Grammar Matrix; Choose language||3/31||Ch 1-3|
|4/4, 4/6||Testsuites, [incr tsdb()]||Lab 2: Testsuites/customization I: Word order, person/number/gender, pronouns, case, the rest of the NP, basic lexicon (full form)||4/7||Ch 4, 5|
Bender et al 2011 (in course Canvas)
|4/11, 4/13||The Grammar Matrix: Motivations, technical details
Morphotactics in the Grammar Matrix
|Lab 3: Testsuites/customization II: Tense/aspect, agreement, other required affixes, negation, argument optionality, valence-changing lexical rules, possessives||4/14||Bender et al 2010 (in Canvas); Goodman 2013|
|4/18, 4/20||Minimal Recursion Semantics||Lab 4: Testsuites/customization III: Matrix yes-no questions, matrix wh- questions, coordination, agreement with coordinated NPs, modification, non-verbal predicates, embedded clauses||4/21||Copestake, Flickinger, Pollard, and Sag, 2005 (esp. Sec 3)|
|4/25, 4/27||Modification, Discourse Status, Argument Optionality, Possessives; Precision grammars and corpus data||Lab 5: Test corpus, modification, possessives, argument optionality||4/28||Borthen and Haugereid 2005, available under Files on the course Canvas (Research on Language and Computation 3(2):221-246)|
(Optional: Baldwin et al 2005)
|5/2, 5/4||Clause types, illocutionary force, non-verbal predicates||Lab 6: Polar questions, embedded clauses, non-verbal predicates||5/5|
|5/9, 5/11||Wh- questions||Lab 7: negation|
One corpus sentence
|5/16, 5/18||VPM, The LOGON MT architecture||Lab 8: VPM, One more corpus sentence, First translation||5/19|
|5/23, 5/25||MT continued||Lab 9: Grammar clean up; Transfer rules||5/26||Oepen et al 2007|
|5/30, 6/1||The Grammar Matrix: Future directions||Machine Translation Extravaganza|