Creates a trainning data for the Naive Bayes.