sacremoses
sacremoses copied to clipboard
fix "int' + 'str' error, revert to what mosesdecoder does
old version will cause 'int' + ‘str' error and is not what mosesdecoder actually does.
Sorry for disappearing for quite a while. Do you have the input sentence that caused that error?
Fixed in 2d5bb8557455abf11074b6e9871efda5af5ebcfc