HG2051 – Language and the Computer (AY2024-25)

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

Mondays, 9:30am-12:20pm (Sem2)

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 to 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: you will learn the basics of programming and computational linguistics along with some good software engineering practices.

Schedule

Week Date Topic Notes
1 13 Jan What is Computational Linguistics? Why do it? Why use Python?
Computer Science basics
Setup, VS_Code
2 20 Jan Basic Types and Data Structures; Using Python to Count Things; Lists
What is AI?
PyT 3.1; NLTK 1; What is AI?
3 27 Jan Assignment, Expressions, and Control; Strings HBL week
4 3 Feb Text Corpora and Conditional Frequencies
5 10 Feb Lexical Resources and WordNet
6 17 Feb Processing Raw Text
7 24 Feb Mid-review; Working with Software Projects
3 Mar Recess
8 10 Mar Algorithmic Thinking and Regular Expressions
9 17 Mar N-Grams and Collocations
10 24 Mar Part-of-speech Tagging
31 Mar Hari Raya
11 7 Apr Classification
12 14 Apr Ethics, Language Models, and Software Libraries
13 21 Apr Review and Final Quiz

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 archives of the previous courses: