Proper deployment working in process...
- clone this repository and copy ALL the contents into your project folder.
- download lastest model file from https://github.com/jitkapat/thaipostagger/releases.
- decompress the contents of the model file into a folder named "bert_base_th" and put in the same folder as the repo files.
from tagger import Tagger
tagger = Tagger()
tagger.tag(yoursentence)(see more in tagger.py )