Vocabulary Creation

this part is responsible for creating the vocab to be used for training the classifier 
also use a better name for the variable, no one letter names or better yet do not create a variable at all and pass it to the method directly