Simple implementation of the training and testing phase of the Naive Bayes algorithm for text classification applied to IMDB reviews