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
Course Pages
- Environment Setup – instructions for setting up your computer for HG2051
- Using Visual Studio Code – how to get, complete, and submit assignments
- Glossary – definitions of some technical terms
- Midterm Review
- Final Review
Grading Criteria
This course is graded with continuous assessment as follows:
- Homework (autograded)
- Project 1 – 30%
- Project 2 – 30%
- Mid-term Quiz – 15%
- Final Quiz – 15%
- Participation – 10%
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
- Python – https://www.python.org/
- The Python Tutorial (official docs) – https://docs.python.org/3/tutorial/
- The Python Standard Library (official docs) – https://docs.python.org/3/library/index.html
- Learn Python in 10 Minutes (quick guide) – https://www.stavros.io/tutorials/python/
- Learn Python the Hard Way (beginner’s guide) – https://learnpythonthehardway.org/book/
- Dive Into Python 3 (free ebook) – https://diveintopython3.problemsolving.io/
- Git – https://git-scm.com/
- Official documentation (manuals, cheat sheets, videos) – https://git-scm.com/doc
- GitHub – https://github.com/
- GitHub Guides – https://guides.github.com/
- Visual Studio Code – https://code.visualstudio.com/
- Documentation – https://code.visualstudio.com/docs
- Using Python in VS Code – https://code.visualstudio.com/docs/python/python-tutorial
- Working with Jupyter Notebooks in Visual Studio Code – https://code.visualstudio.com/docs/python/jupyter-support
- NLTK – http://www.nltk.org/
- Natural Language Processing with Python (free ebook) – http://www.nltk.org/book/
- StackOverflow (popular programming Q&A site)– https://stackoverflow.com/
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: