rename textutils for clarity
minor fixes for Naive Bayes structure
minor fixes for TF Matrix