Result different between python 2 and 3
Closed this issue · 2 comments
sih4sing5hong5 commented
I get 0 alignments by running the second command in #5.
But I run second one with python 3, get "1 alignment pairs found"
This is different from python2's.
rsennrich commented
the difference seems to be that python 3 does unicode-aware lowercasing, whereas the python 2 version does not lowercase special characters (specifically, 'É' in 'ANNÉES'). With a bit of work, it would be possible to change all string objects in the script to unicode to fix this under python2.