Several people seemed interested in seeing some of the handy shortcuts I use in my .bashrc file. I have created a rc directory in the repository with several of my various configuration files. I hope you find them useful.
Since we didn’t get around to talking about python and the nltk at all today, I am postponing it until next week. There is no additional reading for Tuesday. I will update the syllabus to reflect this change shortly.
Also, here is another note on using subversion with the class repository
svn co http://robfelty.com/subversion/ling5200/ myling5200
cd myling5200/students
svn co http://robfelty.com/subversion/ling5200/students/<yourname>
A few people have noted several problems with the sort command. I apologize for the problems. There are several differences between the sort included with Mac and that on Linux (and I think on cygwin, but I am not sure).
- Linux sort has a random option, -R, which is necessary for question 6. If you are working on a Mac, you can go ahead and pretend that the option is there in your answer. I will not take off any points for not figuring this out.
- The textbook uses an older way of specifying fields (columns) for sort, using +. The preferred way is to use the -k option, as I have done in the examples in class. I am 99% certain that the -k option works in both Mac and Linux (and cygwin).
Again, I apologize for the confusion.
Note that I have switched the schedule for Thursday Sep. 3rd and Tuesday Sep. 8th. We will now be covering regular expressions on Thursday Sep 3rd. I have also added a reading for Thursday, which is available on the course website (under resources).
Matt Cecil just alerted me to the fact that the UNIX textbook is also online for free (it is not the most current edition, but I don’t think there should be any substantial differences).
Check it out at:
http://www.netlibrary.com/Details.aspx?ProductId=2203
I would like to welcome you to Linguistics 5200 — Introduction to Computational Corpus Linguistics. I will use this website to post information about the course, such as class notes and slides, as well as news items, such as this message. You will receive e-mail notifications when new material is posted to the website.
I look forward to meeting you next Tuesday. I have two requests for you for Tuesday:
- Glance over the syllabus before class
- Please bring your laptop to class. If you don’t have a laptop, you can share with someone who does