Autumn 2010
Introduction
This course gives an intensive introduction to some of the aspects of computer science important for language technology. In particular, it teaches the craft of programming to students with little or no background in computer science.
The course is a part of the Language Technology Master Programme.
News
- Date for the retake exam: March 10, 13.30-18.30, V30 (Viktoriagatan 30)
- The retake exam: LT2102_2010_12_08.pdf
- I have now corrected the retake exams. You can get your result from Ritva at FLoV.
- Reminder: to get a grade on the course, you need a pass on all assignments before December 15. Make sure that this is the case, and ask me if you are unsure.
- Date for the retake exam: December 8, 13.30-18.30, V30 (Viktoriagatan 30)
- The exam: LT2102_2010_10_27.pdf. The solutions will not be released, for the following reason: the answers look deceptively easy, but what you need to practice is convincing yourself that your solution is actually the correct one (without a computer, at first).
- I have now corrected the exams, but it may still be a couple of days before you can get your exam at FLoV. In the meantime, if you want your result, just drop me a mail.
- The course is now officially over. Good luck on the exam, and I hope that you have enjoyed the course!
- Torbjorn Lager's exercises are available here.
- Assignment 3 has been revised slightly and a clarification has been added. See the blue text in top of the assignment description.
- If I get no specific wishes about the last lectures, then I will go through Torbjorn's exercises (modified slightly). Try to solve them yourself with paper and pen (don't use a computer!). The exercises are in the lecture notes: Lecture notes (pdf)
- About the last lecture: please send me suggestions about what you want me to repeat.
- Assignment 3 has been published.
- Assignment 2 has been published.
- Exam: October 27, 8-13, V30 (Viktoriagatan 30)
- Assignment 1 has been published.
- Instruction on how to install NLTK on your own computer is found here.
- The course starts September 7, 10.15, room T219.
Teacher
Course Literature
-
Python
for Software Design, How to Think Like a Computer Scientist,
Allen B. Downey
- Natural Language Processing with Python --- Analyzing Text with the Natural Language Toolkit, Steven Bird, Ewan Klein, and Edward Loper (Only the first chapters will be used in this course, but it is the main course book in Programming for NLP.)
- Online Python reference (Python version 2.6 is used in this course).
Assignments
The final version of an assignment is published in conjunction with the lecture it is introduced.
- Assignment 0: Getting started (not obligatory, but highly recommended)
- Assignment 1: Princeton WordNet (Deadline: week 38, Friday, 23.59 CET)
- Assignment 2: Flesch-Kincaid readability test (Deadline: week 40, Friday, 23.59 CET)
- Assignment 3: Language Identification (Deadline: week 42, Friday, 23.59 CET)
Schedule
| Tuesday 10.15-12.00 | Tuesday 13.15-15.00 | Friday 10.15-12.00 | Friday 13.15-15.00 | |
|---|---|---|---|---|
| Week 36 | Lecture 1: Introduction Lecture notes (pdf) Introduction to assignment 0 T219 Downey: ch. 1 NLTK: ch. 1 |
supervised lab Assignment 0 |
no supervision Assignment 0 |
Lecture 2: Functions and expressions Lecture notes (pdf) T302 Downey: ch. 2, 3, 4 |
| Week 37 | Lecture 3: Control and recursion Lecture notes (pdf) Introduction to assignment 1 T307 Downey: ch. 5, 6, 7 |
supervised lab Assignment 1 |
supervised lab Assignment 1 |
Lecture 4: Strings and documentation Lecture notes (pdf) T307 Downey: ch. 8, 9 NLTK: ch. 3.2 |
| Week 38 | Lecture 5: Data structures Lecture notes (pdf) T219 Downey: ch. 10, 11, 12, 13 |
supervised lab Assignment 1 |
supervised lab Assignment 1 Deadline |
Lecture 6: Modules and Python library Lecture notes (pdf) T307 Python documentation |
| Week 39 | Lecture 7: Files, databases, and pickling Lecture notes (pdf) Introduction to assignment 2 T307 Downey: ch. 14 |
supervised lab Assignment 2 |
supervised lab Assignment 2 |
no lecture |
| Week 40 | Lecture 8: Classes and objects Lecture notes (pdf) T307 Downey: ch. 15, 16, 17, 18 |
supervised lab Assignment 2 |
moved to afternoon => Assignment 2 Deadline |
supervised lab |
| Week 41 | Lecture 9: GUI and debugging Lecture notes (pdf) Introduction to assignment 3 T219 Downey: ch. 19, appendix |
supervised lab Assignment 3 |
moved to afternoon => Assignment 3 |
supervised lab |
| Week 42 | Lecture 10: Repetition Lecture notes (pdf) (L10 solutions) T302 |
supervised lab Assignment 3 |
moved to afternoon => Assignment 3 Deadline |
supervised lab |
| Week 43 | Exam: Wednesday, 8-13, V30 (Viktoriagatan 30) |
|||