Before You Start
- Required knowledge
- Python strings, lists, dictionaries, and basic regular expressions.
- Libraries used
- Python standard library only
- Dataset and source
- A small mixed-text corpus embedded in the notebook, including punctuation, Unicode, and URL examples.
- Expected output
- Normalization, word/character tokenization, and a toy byte-pair encoding tokenizer. Python standard library only.