bag of words with svm