Close both the input and output of the tokenizer stream
Mark the input as ended and forbid additional pushes
Flush the tokenizer, causing it to process all pending text
Push a string of text to the tokenizer
Close both the input and output of the tokenizer stream