Implementation of Tokenizer Class