Change PyThaiNLP Url (#2876)

This commit is contained in:
Wannaphong Phatthiyaphaibun 2018-10-27 19:46:07 +07:00 committed by Ines Montani
parent 9447739027
commit 2d2765fd8a

View File

@ -30,7 +30,7 @@ class Thai(Language):
from pythainlp.tokenize import word_tokenize
except ImportError:
raise ImportError("The Thai tokenizer requires the PyThaiNLP library: "
"https://github.com/wannaphongcom/pythainlp/")
"https://github.com/PyThaiNLP/pythainlp")
words = [x for x in list(word_tokenize(text,"newmm"))]
return Doc(self.vocab, words=words, spaces=[False]*len(words))