Tokenization is a essential step in artificial intelligence (AI) , acting as the beginning stage for preparing text data. Essentially, it involves dividing a larger block of text – like a phrase – into smaller units called “segments". These tokens can be strings, symbols, or even sub-word segment