Skip to content

Commit ee4b1a1

Browse files
authored
Merge pull request #80 from PyThaiNLP/pythainlp1.6
PyThaNLP 1.6.0.4
2 parents 762fd0f + e99e28a commit ee4b1a1

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

pythainlp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import
3-
__version__ = 1.5
3+
__version__ = 1.6
44
import six
55
if six.PY3:
66
"""

pythainlp/word_vector/__init__

+2-1
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

+1-1
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():

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setup(
2121
name='pythainlp',
22-
version='1.6.0.2',
22+
version='1.6.0.4',
2323
description="Thai natural language processing in Python package.",
2424
long_description=readme,
2525
author='PyThaiNLP',

0 commit comments

Comments
 (0)