Final assignment of the Text Based Information Retrieval course at KULeuven. Implements classifiers based on Multinomial Naive Bayes, for patent classification with the WIPO Alpha dataset.