Closed maksymbevza closed 6 years ago
To reproduce:
$ echo -n hello world | python apply_bpe.py --codes bpe_codes.txt hel@@ lo worldd
I know that having EOL before EOF is a good thing and everyone better do it, but no one is protected from it.
thank you for reporting this; fixed now.
I have commented on a potential bug here... https://github.com/rsennrich/subword-nmt/commit/1d4c3ca
Thanks for fixing!
To reproduce:
I know that having EOL before EOF is a good thing and everyone better do it, but no one is protected from it.