FNLP: Lab Exercises

All labs except for Lab 0 in week 1 are conducted during the timetabled lab sessions that take place in odd weeks (1, 3, 5, 7, 9, 11).   They are designed so that confident students can do them in their own time.  Lab 0 should be done in your own time (ie, there is no timetabled lab session for this), some time before the beginning of week 2.
 
  • Week 1: Lab 0 + introduction.pdf. For the labs, we will be using jupyter notebooks.
    Those who are unfamiliar with jupyter notebooks can use Lab 0 to familiarise themselves with notebooks and perhaps refresh your use of Python
    Not in person: This lab is for you to do on your own only, there will be no lab sessions on this day.
  • Week 3:  Lab 1 Corpora and Language Models                  Lab 1 Solutions
  • Week 5:  Lab 2 Smoothing and Author Identification       Lab 2 Solutions
  • Week 7:  Lab 3 HMMs                                                            Lab 3 Solutions
  • Week 9:  Lab 4 Parsing                                                          Lab 4 Solutions
  • Week 11: Lab 5 Word Sense Disambiguation (no demonstrators present)  Lab 5 Solutions
The solutions to the prior week's lab will appear here on Mondays.
Lab 0 is for self-led learning and does not have solutions. 
To be able to run some of the solutions files, you need to insert the nltk_model folder from lab 1 into the folder, that is not re-uploaded with the solutions.

All labs are intended to run on DICE machines

You are strongly encouraged to use a DICE (Distributed Informatics Computing Environment) machine to carry out the labs, either in one of the Appleton Tower labs or remotely (via Remote Desktop, VPN or ssh -Y).

We are unable to provide support for people having difficulty running the labs on personal machines.

All students on an Informatics degree should already have an account. If you are on a degree in another school, you will automatically get a DICE account once you have registered for this class, so please register as soon as possible.

Read the School’s Computing Support information page for new taught students and, if you have not used Linux before, Introduction to DICE.

License
All rights reserved The University of Edinburgh