NLP
Lab 1: Spam detection using a naive Bayes classifier [nbc.py]
Lab 2: Minimum edit distance and the noisy channel model for spelling correction [med.py] [sc.py]
Lab 3: N-grams [ngrams.py]
Lab 4: Bigram part-of-speech (POS) tagger [vb.py]
Lab 5: Expectation-maximization (EM) algorithm to train a naive Bayes classifier for text classification [em.py]
Lab 6: Term Frequency – Inverse Document Frequency [tfidf.py]
Lab 7: Document retrieval system using the ideas of vector space models and singular value decomposition (SVD) [dr.py]
Lab 8: Moses