PS Natural Language Processing with Perl SS12
Beschreibung
Perl, entwickelt von einem Linguisten, ist „die Schweizer Offiziers-Kettensäge unter den Programmiersprachen“ (Quelle). In diesem Proseminar werden wir unsere Perlkenntnisse vertiefen und verschiedene Verfahren der maschinellen Sprachverarbeitung implementieren.
Zeit und Ort
Do 10:15–11:45, Raum 0.320 Bismarckstr. 12
Dozent: Thomas Proisl
(Vorläufiger) Kursplan
| Datum | Thema | Vorzubereitende Literatur |
|---|---|---|
| 19. April | Einführung/Wiederholung | perlintro, perlcheat; PBP Ch. 2 |
| 26. April | Module verwenden Übung: Ein einfacher Webcrawler | IP Ch. 3; PBP Ch. 3 |
| 3. Mai | Referenzen und komplexe Datenstrukturen Übung: Minimum edit distance | IP Ch. 4–7; PBP Ch. 4; perlreftut, perldsc |
| 10. Mai | Übung: Termgewichtung | PBP Ch. 5, 6 |
| Christi Himmelfahrt | ||
| 31. Mai | Objektorientierung | IP Ch. 11–13; PBP Ch. 7; perlboot, perltoot |
| Fronleichnam | ||
| 14. Juni | Module erstellen Übung: Lemmatizer | IP Ch. 15–16; PBP Ch. 8; perlnewmod, Module::Starter::PBP |
| 21. Juni | Testen Übung: Lemmatizer testen | IP Ch. 17–18; PBP Ch. 9; Test::Tutorial |
| 28. Juni | N-Gramme Übung: Markov-Textgenerator | Jurafsky/Martin (2009): Ch. 4; PBP Ch. 10, 11 |
| 5. Juli | Word Sense Disambiguation Übung: Simplified Lesk Algorithm | Jurafsky/Martin (2009): Ch. 20; PBP Ch. 12 |
| 12. Juli | Zusammenfassung | PBP Ch. 13 |
| 19. Juli | Klausur | — |
Emacs-Konfiguration
(custom-set-variables '(cperl-close-paren-offset -4) '(cperl-continued-statement-offset 4) '(cperl-highlight-variables-indiscriminately t) '(cperl-indent-level 4) '(cperl-indent-parens-as-block t) '(cperl-tab-always-indent t) '(perlcritic-severity 1) '(perlcritic-exclude "literals | rcs | tidy | postfix") '(show-paren-mode t)) (defalias 'perl-mode 'cperl-mode) ;; perltidy (defun perltidy () "Runs an entire buffer through perltidy." (interactive) (let ((orig-point (point))) (shell-command-on-region (point-min) (point-max) "perltidy -pbp -l=0 -q" nil t shell-command-default-error-buffer) (goto-char (if (<= orig-point (point-max)) orig-point (point-max))))) ;; perlcritic (add-to-list 'load-path "/local/all/etc/emacs.d/perlcritic") (autoload 'perlcritic "perlcritic" "" t) ;; YASnippet (add-to-list 'load-path "/local/all/etc/emacs.d/plugins/yasnippet") (require 'yasnippet) (setq yas/snippet-dirs '("/local/all/etc/emacs.d/plugins/yasnippet/snippets")) (yas/global-mode 1) ;; Auto Complete (add-to-list 'load-path "/local/all/etc/emacs.d/auto-complete") (require 'auto-complete-config) (add-to-list 'ac-dictionary-directories "/local/all/etc/emacs.d/auto-complete/ac-dict") (require 'auto-complete-config) (ac-config-default)
Literatur und Verweise
- Christiansen, Tom, Nathan Torkington (2003): Perl Cookbook. 2nd ed. O'Reilly. http://proquest.safaribooksonline.com/0596003137.
- Christiansen, Tom, Nathan Torkington (2003): Perl Kochbuch. 2. Auflage. O'Reilly. http://proquest.safaribooksonline.com/9783897213661.
- Conway, Damian (2005): Perl Best Practices. O'Reilly. http://proquest.safaribooksonline.com/0596001738.
- Conway, Damian (2006): Perl Best Practices. Deutsche Übersetzung. O'Reilly. http://proquest.safaribooksonline.com/9783897214545.
- Dominus, Mark Jason (2005): Higher-order Perl. Morgan Kaufmann. http://hop.perl.plover.com/.
- Foy, Brian D. (2007): Mastering Perl. O'Reilly. http://proquest.safaribooksonline.com/9780596527242
- Jurafsky, Daniel, James H. Martin (2009): Speech and Language Processing. 2nd ed. Pearson.
- Nugues, Pierre M. (2006): An Introduction to Language Processing with Perl and Prolog. Springer. dx.doi.org/10.1007/3-540-34336-9.
- Schwartz, Randal L., Tom Phoenix (2006): Intermediate Perl. O'Reilly. http://proquest.safaribooksonline.com/0596102062.
- Schwartz, Randal L., Tom Phoenix, Brian D. Foy (2011): Learning Perl. 6th ed. O'Reilly. http://proquest.safaribooksonline.com/9781449311063
- Schwartz, Randal L., Tom Phoenix, Brian D. Foy (2011): Einführung in Perl. 6. Auflage. O'Reilly.