Instructions to run:
Each file contains solutions to each part of the homework. I ran each of these using Python downloaded from Microsoft Store.
*All probabilities of 1.2 training models are stored in 1.2 Probabilities.txt
It is as follows:
sentence_tagger.py - Solves Part 1.3, Questions 1 and 2. percentage.py - Solves Part 1.3, Question 3. singletons.py - Solves Part 1.3, Question 4. log_perplexity.py - Solves Part 1.3, Questions 5 and 6. perplexity_7.py - Solves Part 1.3, Question 7.
*All other are found in ShortAnswers.txt