A little documentation, and modifying the appropriate methods
Finally got the tokenizer working correctly, needed to limit the number of replacements to 1 in order to track everything correctly