Vocabulary Creation

this part is responsible for creating the vocab to be used for training the classifier 
ok so I did it and no problem it compiled and ran normally