Vocabulary Creation

this part is responsible for creating the vocab to be used for training the classifier 
I don't have the link now when I find it I will show you. I wouldn't have done it this way if I haven't read that