-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
修改代码 支持python3.5以上版本 #105
Comments
@jackycaf |
解决了吗?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1)去掉 python 脚本中的 unicode:
例如:process_anno_file.py
ustr = unicode(token.decode('utf8')) # 去掉unicode
2)去掉python脚本中的decode("utf8"):
例如:sentence.py
x.append(vob.GetWordIndex(str(t[0].encode("utf8")))) # 去掉.encode("utf8")
The text was updated successfully, but these errors were encountered: