the configuration of our encoder, this will be used in the Reader part of our RWST
have we exhausted the input?
emit the lastToken
emit tokens if the next input token is different than the last
read a token from the input
with the above syntax imported, we can perform the same computation as above, but use a for comprehension
put output on the writer