File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- # TODO ปรับ API ให้เหมือน nltk
32from __future__ import absolute_import ,division ,print_function ,unicode_literals
43import sys
54def 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 ))
You can’t perform that action at this time.
0 commit comments