Python-based Text Tokenizer