-
Notifications
You must be signed in to change notification settings - Fork 273
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
Unicode Error #17
Comments
You setting the default encoding of python is utf8. https://stackoverflow.com/a/21190382 and reinstall from https://github.com/wannaphongcom/pythainlp/tree/develop |
Hi Wannaphong,
thank you, now I get further,
but still an error:
mæw
Traceback (most recent call last):
File "test_gerhard.py", line 24, in <module>
b=texttoeng(b)
File "/home/gerhard/pythainlp/pythainlp/change/__init__.py", line 28,
in texttoeng
dictdataeng= {v: k for k, v in iteritems(dictdata)}
NameError: global name 'iteritems' is not defined
I hope I am not annoying :-)
Cheers, Gerhard
… You setting the default encoding of python is utf8.
https://stackoverflow.com/a/21190382 and reinstall from
https://github.com/wannaphongcom/pythainlp/tree/develop
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX3qjmSpLVc3UV7eQMj8C0yRXTb2XOUgks5rqm3xgaJpZM4MrIwx>.
|
Now , PyThaiNLP support python 2.7 in ad41eff . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
thanks for fixing the import error!
tried to run your sample code now,
but still errors.
a) pythainlp/pythainlp/test/init.py", line 36 -- missing closing paranthesis .. easy to fix
but now:
when using:
I am not sure if this is a problem with my system, or general one ..
Cheers, Gerhard
The text was updated successfully, but these errors were encountered: