it behaves that Initial capital words and all lowercase words get different results, but I did have turned all words into lowercase before everything gets started.
in the compare_phonemes function in the compare.py
there is a division operation having integers as operands
which gets floor division result under python2 version
changing the first operand of the expression from int to float fixed this problem