generate_sentence.sh script requires two more files generate.py and my_prob.pkl
To execute the script:
(i) chmod +x generate_sentence.sh
(ii) ./generate_sentence.sh
There are separate files for each setting given in the assignments with the names setting1.py, setting2.py etc. Each of the scripts requires NLTK as the corpus is taken from the NLTK library