Stefan Th. Gries
Home
Contact information
Disclaimer
Last updated: 23 November 2026

Teaching at the University of California, Santa Barbara


Ling 120: Corpus linguistics (W 2027)

Syllabus and overview


This course is an introduction to computerized research methods, which are applied to large data bases of language used in natural communicative settings to supplement more traditional ways of linguistic analysis in all linguistic sub-disciplines. There will be a bit of 'theoretical' reading on what a corpus is, what kinds of corpora there are, and how they are created/compiled, but nearly all of the course is hands-on practice with the open source programming language and environment R . We will begin with some basics of R and then deal with how to write scripts for the four main corpus-linguistic methods – frequencies, dispersions, association, and keyness – as well as some other applications. For that, we will read a few overview articles and a few corpus-linguistic studies that cover topics including syntax (patterns and alternations), lexis/semantics (key words in different cultures and near synonymy), psycholinguistics (disfluencies), and others.

Note: This course is based on the second edition of my textbook Quantitative corpus linguistics with R: a practical introduction. New York: Routledge, Taylor & Francis Group, which you will need to have: it will teach you most fundamentals of R programming for text analysis (and can therefore be useful way beyond this course).


Downloads for class sessions
(files will be available as required)



Folder for the whole course
Instructions how to set up R etc.

Additional files to be added to that folder per session:
For session 01: qmd and the Google doc
For session 02: qmd and the Google doc
For session 03: qmd and the Google doc
For session 04: qmd and the Google doc
For session 05: qmd and the Google doc
For session 06: qmd and the Google doc
For session 07: qmd and the Google doc
For session 08: qmd and the Google doc
For session 09: qmd and the Google doc
For session 10: qmd and the Google doc


Assignments



All assignments in one qmd file are available here


Software



R (from CRAN) (required, ideally at least version 4.6.x)
RStudio (required, ideally at least version 2026.x)
LibreOffice (optional, ideally at least version 26.8.x)