Linguistics 158: Computer-aided methods in linguistics

John B. Lowe / Department of Linguistics
University of California, Berkeley - Spring 1997

Progamming PERL

week /class: 8 / 16 : Lab Th , 13 Mar 1997

Preliminaries

A few illustrative example scripts

These may be found in:

http:www.linguistics.berkeley.edu/public/Lx158/DemoSoftware.97.03.13/PERL scripts

ScriptThe Point
RegEx2An old friend
RegEx2aImproved version of our old friend
RegEx2bA flat file database query program
wordcountCamel book example for counting words
wordcount2Improvements to above
vbush.txtVannevar Bush's As We May Think (1945)
Swahili-English WordlistTabular format word list (1,086 entries)
TestWordListSample (39 entries) from above


Homework 5 : Corpora (due: Today!)
Homework answers
[Ling 158 Home Page | Linguistics 158 schedule]