Skip to content

Commit

Permalink
Merge pull request #249 from PyThaiNLP/fix_bug_2_0_7
Browse files Browse the repository at this point in the history
PyThaiNLP 2.0.7
  • Loading branch information
wannaphong authored Aug 16, 2019
2 parents ed34e2c + 7e36f6f commit ac77e21
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PyThaiNLP is a Python package for text processing and linguistic analysis, simil

**This is a document for development branch (post 2.0). Things will break.**

- The latest stable release is [2.0.5](https://github.com/PyThaiNLP/pythainlp/tree/master)
- The latest stable release is [2.0.7](https://github.com/PyThaiNLP/pythainlp/tree/master)
- PyThaiNLP 2 supports Python 3.6+. Some functions may work with older version of Python 3, but it is not well-tested and will not be supported. See [change log](https://github.com/PyThaiNLP/pythainlp/issues/118).
- [Upgrading from 1.7](https://thainlp.org/pythainlp/docs/2.0/notes/pythainlp-1_7-2_0.html)
- [Upgrade ThaiNER from 1.7](https://github.com/PyThaiNLP/pythainlp/wiki/Upgrade-ThaiNER-from-PyThaiNLP-1.7-to-PyThaiNLP-2.0)
Expand Down Expand Up @@ -106,7 +106,7 @@ PyThaiNLP เป็นไลบารีภาษาไพทอนเพื่
**เอกสารนี้สำหรับรุ่นพัฒนา อาจมีการเปลี่ยนแปลงได้ตลอด**

- รุ่นเสถียรล่าสุดคือรุ่น [2.0.5](https://github.com/PyThaiNLP/pythainlp/tree/master)
- รุ่นเสถียรล่าสุดคือรุ่น [2.0.7](https://github.com/PyThaiNLP/pythainlp/tree/master)
- PyThaiNLP 2 รองรับ Python 3.6 ขึ้นไป
- ผู้ใช้ Python 2.7+ ยังสามารถใช้ PyThaiNLP 1.6 ได้

Expand Down
2 changes: 1 addition & 1 deletion pythainlp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

__version__ = "2.0.6"
__version__ = "2.0.7"

thai_consonants = "กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรลวศษสหฬอฮ" # 44 chars
thai_vowels = "ฤฦะ\u0e31าำ\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39เแโใไ\u0e45\u0e47" # 19
Expand Down
2 changes: 1 addition & 1 deletion pythainlp/util/normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
("([่-๋])([ัิ-ื])", "\\2\\1"),
("([่-๋])([ูุ])", "\\2\\1"),
("ำ([่-๋])", "\\1ำ"),
("(์)([ัิ-])", "\\2\\1"),
("(์)([ัิ-])", "\\2\\1"),
] # เก็บพวก พิมพ์ลำดับผิดหรือผิดแป้นแต่กลับแสดงผลถูกต้อง ให้ไปเป็นแป้นที่ถูกต้อง เช่น เ + เ ไปเป็น แ


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

setup(
name="pythainlp",
version="2.0.6",
version="2.0.7",
description="Thai Natural Language Processing library",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit ac77e21

Please sign in to comment.