Vocabulary Creation

this part is responsible for creating the vocab to be used for training the classifier 
According to what I have read you can not append to an empty vector. That's why I did that, I just forgot to find another way to do so. I will as soon as I am free.