Created tokenizer method for each dictionary