I'm currently using the version 0.3.3 of bpemb, and yesterday (8 December 2021), subword-nmt got updated to 3.8.0 which causes an attribute error AttributeError: 'BPECodesAdapter' object has no attribute 'read'.
The quick fix I found was to rollback to subword-nmt 3.7.0
I'm currently using the version 0.3.3 of bpemb, and yesterday (8 December 2021), subword-nmt got updated to 3.8.0 which causes an attribute error
AttributeError: 'BPECodesAdapter' object has no attribute 'read'
.The quick fix I found was to rollback to subword-nmt 3.7.0