Note that there separate sets of assignments for CS 451/651 and CS
431/631. Make sure you work on the correct asssignments!
CS 431/631 Assignments
Assignment 1: Counting in Python due 2:30pm January 29
For this assignment, you should continue to use the
Waterloo CS Jupyter hub. Use
your password for the CS student computing
environment.
This assignment requires you to implement a mechanism for
answering queries about some count-based statistics over
tokens in the text of Shakespeare's plays.
You will need to upload the following files to the Jupyter hub:
- Shakespeare.txt: the
complete text of Shakespeare's plays
- simple_tokenize.py:
a simple Python module for tokenizing text
- A1.ipynb: this is the starter
notebook for A1, in which you will do your assignment work.
The first two files should already have been uploaded to the hub
for
Assignment 0.
You can just re-use the copies that you already
uploaded. To get started working on the assignment, open the starter
notebook on the hub.
When you have finished, submit A1 using the same procedure you
used for A0:
- Download your A1.ipynb file from the Jupyter hub to your
computer.
- Submit your A1.ipynb file to your GitHub repository using the web interface like you did in assignment 0.
That's it! There's no need to send us anything—we already
know your username from assignment 0. Note that your A1.ipynb should be
committed and pushed to origin before the deadline.
Back to top