-
Notifications
You must be signed in to change notification settings - Fork 279
Get some errors #2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
แนะนำให้เอาไฟล์ test.py มารันภายนอกไลบรารีที่เก็บ pythainlp ครับ ตอนนี้ตัว pythainlp มีปัญหาเรื่องระบบ test ครับ เวชั่นต่อไปจะแยกไฟล์ test ออกเป็นอีกระบบหนึ่ง เพื่อแก้ไขปัญหานี้ครับ |
wannaphong
pushed a commit
that referenced
this issue
Oct 20, 2018
Merge back from PyThaiNLP main repo
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
ผมได้ลง pyicu ไปแล้วครับ แล้วตามด้วยตัว pythainlp
เสร็จแล้วจะลองรันตัว test.py ดู แล้วได้ error มาตามนี้
Traceback (most recent call last):
File "test.py", line 5, in
from pythainlp.segment import segment
File "/home/benkit/TH/pythainlp/pythainlp/init.py", line 12, in
from . import postaggers
File "/home/benkit/TH/pythainlp/pythainlp/postaggers/init.py", line 2, in
from .text import tag
File "/home/benkit/TH/pythainlp/pythainlp/postaggers/text.py", line 16, in
data1 =data()
File "/home/benkit/TH/pythainlp/pythainlp/postaggers/text.py", line 14, in data
model = json.load(handle)
File "/usr/lib/python3.4/json/init.py", line 265, in load
return loads(fp.read(),
File "/usr/lib/python3.4/codecs.py", line 319, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa1 in position 6: invalid start byte
มีคำแนะนำอะไรบ้างคับ
The text was updated successfully, but these errors were encountered: