a lot of parsing and some of naive bayes done