Linguistics 5200 Fall 2009 » slides http://robfelty.com/teaching/ling5200Fall2009 Introduction to computational corpus linguistics Fri, 18 Dec 2009 00:07:43 +0000 http://wordpress.org/?v=2.9-rare en hourly 1 Slides from Oct. 22nd http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-22nd/ http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-22nd/#comments Thu, 22 Oct 2009 22:20:11 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=137 Here are the slides from today’s class covering python and shell integration, and homework 7 difficulties.

Also note that I have extended homework 8 until this Sunday at midnight.

pdf iconling5200-nltk3-4-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-22nd/feed/ 0
Slides from Oct. 15th http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-15th/ http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-15th/#comments Thu, 15 Oct 2009 21:59:36 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=127 Here are the slides from today’s class covering normalization and tokenization using regular expressions and the nltk. We did not get to the last section on tokenization, so we will postpone that until Tuesday. Have a nice weekend.

pdf iconling5200-nltk3-3-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-15th/feed/ 0
Slides from Oct. 13th http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-13th/ http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-13th/#comments Tue, 13 Oct 2009 20:20:04 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=123 Here are the slides from today’s class covering unicode and regular expressions in python. I corrected the problem with the codecs.open example.

pdf iconling5200-nltk3-2-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-13th/feed/ 0
Slides from Oct. 8th http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-8th/ http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-8th/#comments Thu, 08 Oct 2009 21:30:08 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=117 Here are the slides from today’s class covering string basics and methods in python.

pdf iconling5200-nltk-3-1-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-8th/feed/ 0
Slides for Oct. 6th http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-for-oct-6th/ http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-for-oct-6th/#comments Tue, 06 Oct 2009 20:20:05 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=113 Here are the slides from today’s class covering file input and output, reading from stdin, and command line arguments and options. Please also look at the args.py and opts.py files under resources/py, which have some examples. Two other things to note:
  1. The combined course notes file now has an appendix with solutions to practice problems
  2. I updated the celex.txt file in resources/texts. Please run svn update to get the latest version

pdf iconling5200-nltk3-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-for-oct-6th/feed/ 0
Slides from Oct. 1 http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-1/ http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-1/#comments Thu, 01 Oct 2009 22:07:53 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=107 Here are the slides from today’s class covering semantic relations. We also talked about automatic historical linguistics. You can try out the handy script from the repository in resources/py/auto_histling.py

Martha Palmer also gave a brief introduction to some of the corpora and databases that are available for use. Please look at the list on the linguistics website. If you are interested in using one of these, you will need to ask Martha for an account on the verbs or babel server.

pdf iconling5200-nltk2-2-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/10/slides-from-oct-1/feed/ 0
Slides for Sep. 29th http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-for-sep-29th/ http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-for-sep-29th/#comments Wed, 30 Sep 2009 04:13:21 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=102 Here are the slides for today’s class covering nltk lexical resources, python functions and modules.

We did not get to the last part about automatically doing historical linguistics. We will cover that on Thursday.

pdf iconling5200-nltk2-1-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-for-sep-29th/feed/ 0
Slides from Sep 24th http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-from-sep-24th/ http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-from-sep-24th/#comments Thu, 24 Sep 2009 21:57:02 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=96 Here are the slides from today’s class, covering an introduction to various corpora in the NLTK, and a discussion of calculating conditional frequency distributions.

pdf iconling5200-nltk2-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-from-sep-24th/feed/ 0
Slides for Sep. 22nd http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-for-sep-22nd/ http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-for-sep-22nd/#comments Tue, 22 Sep 2009 20:43:15 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=93 Here are the slides from today’s class covering control structures (conditionals and loops) in python.

pdf iconling5200-nltk1-2-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-for-sep-22nd/feed/ 0
Slides on python lists and word frequency http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-on-python-lists-and-word-frequency/ http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-on-python-lists-and-word-frequency/#comments Thu, 17 Sep 2009 22:07:26 +0000 Robert Felty http://robfelty.com/teaching/ling5200Fall2009/?p=86 Here are the slides from today, which give examples of how to use lists in python, and how to calculate word frequency using the NLTK.

pdf iconling5200-nltk1-1-slides.pdf

]]>
http://robfelty.com/teaching/ling5200Fall2009/2009/09/slides-on-python-lists-and-word-frequency/feed/ 0