We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da4662e commit 18ce677Copy full SHA for 18ce677
pythainlp/word_vector/__init__
@@ -1,2 +1,3 @@
1
# -*- coding: utf-8 -*-
2
-from __future__ import absolute_import,unicode_literals
+from __future__ import absolute_import,unicode_literals
3
+from .thai2vec import *
pythainlp/word_vector/thai2vec.py
@@ -31,7 +31,7 @@ def download():
31
if not os.path.exists(path):
32
print("Download models...")
33
from urllib import request
34
- request.urlretrieve("https://github.com/cstorm125/thai2vec/raw/master/data/thaiwiki/models/thai2vec.vec",path)
+ request.urlretrieve("https://www.dropbox.com/sh/t9qfj2ethst8g20/AAC_vnHM5xmiyz1B9ouz_8Kna/data/thaiwiki/models/thai2vec.vec?dl=1",path)
35
print("OK.")
36
return path
37
def get_model():
0 commit comments