Bag of words and svm classification for kaggle competition