Hello, thanks so much for this code! It's been really helpful for me.
The case when there's already an EOS symbol in the data doesn't seem to be covered. As I understand it, when the EOS symbol is empty it'll still append {}. Changing if eos to if eos != '' in the data reader should do the trick.
Hello, thanks so much for this code! It's been really helpful for me.
The case when there's already an EOS symbol in the data doesn't seem to be covered. As I understand it, when the EOS symbol is empty it'll still append {}. Changing if eos to if eos != '' in the data reader should do the trick.