Skip to content

Commit 497d18d

Browse files
committed
PyThaiNLP v3.0.2
- Fixed some wrong code. from #645
1 parent 3b4abdf commit 497d18d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pythainlp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
__version__ = "3.0.1"
2+
__version__ = "3.0.2"
33

44
thai_consonants = "กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรลวศษสหฬอฮ" # 44 chars
55

pythainlp/corpus/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def get_corpus_db_detail(name: str, version: str = None) -> dict:
4848
if _CHECK_MODE == "1":
4949
local_db = TinyDB(corpus_db_path(), access_mode='r')
5050
else:
51-
local_db = TinyDB(corpus_db_path(), access_mode='r')
51+
local_db = TinyDB(corpus_db_path())
5252
query = Query()
5353
if version is None:
5454
res = local_db.search(query.name == name)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.0.1
2+
current_version = 3.0.2
33
commit = True
44
tag = True
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
setup(
107107
name="pythainlp",
108-
version="3.0.1",
108+
version="3.0.2",
109109
description="Thai Natural Language Processing library",
110110
long_description=readme,
111111
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)