-
Notifications
You must be signed in to change notification settings - Fork 280
Upgrade ThaiNER from PyThaiNLP 1.7 to PyThaiNLP 2.0
Wannaphong Phatthiyaphaibun edited this page Mar 31, 2019
·
2 revisions
After upgrading from PyThaiNLP 1.7 to PyThaiNLP 2.0, You went to upgrade ThaiNER model. if you use it with your own model, you went to re-train model.
used
>>> from pythainlp.corpus import download
>>> download("thainer")
Download : thainer
Alert: New version is ready to be updated.
from thainer 0.44 update to thainer 1.0
yes or no (y / n) : y
data.model?raw=true: 1.89MB [00:03, 500kB/s]
API change : https://thainlp.org/pythainlp/docs/2.0/notes/pythainlp-1_7-2_0.html#named-entity-recognition
PyThaiNLP