Simple tokenizer to split a character steam (text) into character classes (tokens) written in PHP