HG2051 – Language and the Computer (AY2024)

Hiram Ring <hiram.ring@ntu.edu.sg>

Thursdays, 9:30am-12:20pm (Sem1)

TR+29 (LHS-B2-06, The Hive)

Traditionally linguistic analysis was done largely by hand, but computer-based methods and tools are becoming increasingly widely used in contemporary research. This course provides an introduction to skills and resources that can assist the linguist in performing fast, flexible, and accurate quantitative analyses. Students will learn a programming language (Python) along with techniques for processing human language data. No previous programming experience is required: we will teach you the basics of programming and computational linguistics along with some good software engineering practices.

Schedule

Week Date Topic Notes
1 15 Aug What is Computational Linguistics? Why do it? Why use Python?
Computer Science basics
Setup, VS_Code
2 22 Aug Basic Types and Data Structures; Using Python to Count Things; Lists
3 29 Aug Assignment, Expressions, and Control; Strings
4 5 Sep Text Corpora and Conditional Frequencies
5 12 Sep Lexical Resources and WordNet
6 19 Sep Processing Raw Text
7 26 Sep Mid-review; Working with Software Projects
03 Oct Recess
8 10 Oct Algorithmic Thinking and Regular Expressions
9 17 Oct N-Grams and Collocations
10 24 Oct Part-of-speech Tagging
31 Oct Deepavali
11 07 Nov Classification
12 14 Nov Ethics, Language Models, and Software Libraries
13 21 Nov Review and Final Quiz Coding challenge
28 Nov Project 2 due, 11:59pm

Course Pages

Grading Criteria

This course is graded with continuous assessment as follows:

You may also get 1–5% extra credit (not exceeding 100% in the course) by submitting a contribution (e.g., code or documentation) to an open-source project. Contact me for details.

Resources

Acknowledgments

The majority of the content for this course has been borrowed (with permission) from Michael Wayne Goodman and Francis Bond, who taught previous years. Below are some of the archives of the previous courses: