Skip to content

Commit b50275a

Browse files
committed
1 parent 528658e commit b50275a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pythainlp/tag/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# TODO ปรับ API ให้เหมือน nltk
32
from __future__ import absolute_import,division,print_function,unicode_literals
43
import sys
54
def pos_tag(text,engine='old'):
@@ -21,11 +20,11 @@ def tag(text1):
2120
from artagger import Tagger
2221
except ImportError:
2322
import pip
24-
pip.main(['install','https://github.com/wannaphongcom/artagger/archive/master.zip'])
23+
pip.main(['install','https://github.com/franziz/artagger/archive/master.zip'])
2524
try:
2625
from artagger import Tagger
2726
except ImportError:
28-
print("Error ! using 'pip install https://github.com/wannaphongcom/artagger/archive/master.zip'")
27+
print("Error ! using 'pip install https://github.com/franziz/artagger/archive/master.zip'")
2928
sys.exit(0)
3029
tagger = Tagger()
3130
words = tagger.tag(' '.join(text1))

0 commit comments

Comments
 (0)