Programming or coding is an essential skill for anyone working with Artificial Intelligence (AI) today. It is particularly crucial for fields such as computational linguistics and Natural Language Processing (NLP), where analyzing and understanding language relies heavily on programming. This course provides a comprehensive introduction to programming with Python, focusing specifically on applications in linguistics. No prior programming experience is required. Students will first learn the fundamentals of programming and Python syntax. Then, they will explore how to use some tools to the analysis of language data.
| Week | Dates | Content | Materials | Homework |
|---|---|---|---|---|
| 1 | Jan 13 | Overview and Setup
Introducing the course and getting to know you. |
BrightSpace
Tutorials
|
|
| Jan 15 | Logistics
Troubleshooting Python installation, terminal work, and introducing jupyter notebook and Google colab |
Readings
Notebooks |
HW 1 [OUT] |
|
| 2 | Jan 20 | Data Types and Variables
Variables, Numbers and Booleans |
Readings
Notebooks Labs
|
|
| Jan 22 | Data Types and Variables
Strings and Lists |
Readings
Notebooks Labs
|
|
|
| 3 | Jan 27 | Data Types and Variables
Sets, Tuples, Dictionaries |
Readings
Notebooks
Labs
|
|
| Jan 29 | Workshop |
Notebooks
|
HW 1 [DUE] |
|
| 4 | Feb 3 | Control structures
Grouping, identation, If statement |
Readings
Notebooks Labs
|
HW 2 [OUT] |
| Feb 5 | Control structures
For loops |
Readings
Notebooks Labs
|
||
| 5 | Feb 10 | Workshop |
Notebooks |
|
| Feb 12 | File IO |
Readings
Notebooks Labs
|
||
| 6 | Feb 17 | Functions and Modules
|
Readings
Notebooks Labs
|
HW 2 [DUE] |
| Feb 19 | Regular Expressions I
|
Readings
Notebooks Labs
|