Skip to content

Commit 18ce677

Browse files
committed
fix url thai2vec
1 parent da4662e commit 18ce677

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pythainlp/word_vector/__init__

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import absolute_import,unicode_literals
2+
from __future__ import absolute_import,unicode_literals
3+
from .thai2vec import *

pythainlp/word_vector/thai2vec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def download():
3131
if not os.path.exists(path):
3232
print("Download models...")
3333
from urllib import request
34-
request.urlretrieve("https://github.com/cstorm125/thai2vec/raw/master/data/thaiwiki/models/thai2vec.vec",path)
34+
request.urlretrieve("https://www.dropbox.com/sh/t9qfj2ethst8g20/AAC_vnHM5xmiyz1B9ouz_8Kna/data/thaiwiki/models/thai2vec.vec?dl=1",path)
3535
print("OK.")
3636
return path
3737
def get_model():

0 commit comments

Comments
 (0)