Skip to content

Commit 8675a58

Browse files
committed
PyThaiNLP v5.3.5
### Fixed - Change loop limit from 20 to dec_maxlen #1464 - fix: remove duplicate .replace mid-tone in _clean_ipa #1409 - Fix: CodeQL ReDoS vulnerability in ULMFiT replace_url #1400 - fix: remove unconditional overwrite that disables teacher forcing in Seq2Seq #1380
1 parent e24ccde commit 8675a58

6 files changed

Lines changed: 19 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ and this project adheres to
1717
- Full release notes: <https://github.com/PyThaiNLP/pythainlp/releases>
1818
- Commit history: <https://github.com/PyThaiNLP/pythainlp/compare/v5.3.3...v5.3.4>
1919

20+
## [5.3.5] - 2026-07-30
21+
22+
### Fixed
23+
24+
- Change loop limit from 20 to dec_maxlen #1464
25+
- fix: remove duplicate .replace mid-tone in _clean_ipa #1409
26+
- Fix: CodeQL ReDoS vulnerability in ULMFiT replace_url #1400
27+
- fix: remove unconditional overwrite that disables teacher forcing in Seq2Seq #1380
28+
29+
2030
## [5.3.4] - 2026-04-02
2131

2232
### Fixed
@@ -290,6 +300,7 @@ The minimum requirement is now Python 3.9.
290300

291301
- See <https://github.com/PyThaiNLP/pythainlp/releases/tag/v5.0.0>
292302

303+
[5.3.5]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.5...v5.3.5
293304
[5.3.4]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.3...v5.3.4
294305
[5.3.3]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.2...v5.3.3
295306
[5.3.2]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.1...v5.3.2

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ abstract: PyThaiNLP is a Thai natural language processing library for Python. It
2424
repository-code: "https://github.com/PyThaiNLP/pythainlp"
2525
type: software
2626
doi: 10.5281/zenodo.3519354
27-
version: 5.3.4
27+
version: 5.3.5
2828
license-url: "https://spdx.org/licenses/Apache-2.0"
2929
keywords:
3030
- computational linguistics
@@ -38,4 +38,4 @@ keywords:
3838
- Thai NLP
3939
- Thai language
4040
- tokenization
41-
date-released: 2026-04-02
41+
date-released: 2026-07-30

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ pip install pythainlp
3131

3232
| Version | Python version | Changes | Documentation |
3333
|:-------:|:--------------:|:-------:|:-------------:|
34-
| [5.3.4](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/blob/dev/CHANGELOG.md#533---2026-03-26) | [pythainlp.org/docs](https://pythainlp.org/docs) |
35-
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/compare/v5.3.4...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
34+
| [5.3.5](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/blob/dev/CHANGELOG.md) | [pythainlp.org/docs](https://pythainlp.org/docs) |
35+
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/compare/v5.3.5...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
3636

3737
## Features
3838

README_TH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ pip install pythainlp
2929

3030
| รุ่น | รุ่นของ Python | มีอะไรเปลี่ยน | เอกสาร |
3131
| :-: | :-: | :-: | :-: |
32-
| [5.3.4](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/blob/dev/CHANGELOG.md#533---2026-03-26) | [pythainlp.org/docs](https://pythainlp.org/docs) |
33-
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/compare/v5.3.4...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
32+
| [5.3.5](https://github.com/PyThaiNLP/pythainlp/releases) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/blob/dev/CHANGELOG.md) | [pythainlp.org/docs](https://pythainlp.org/docs) |
33+
| [`dev`](https://github.com/PyThaiNLP/pythainlp/tree/dev) | 3.9+ | [Log](https://github.com/PyThaiNLP/pythainlp/compare/v5.3.5...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
3434

3535
## ความสามารถ
3636

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,5 +197,5 @@
197197
"https://pythainlp.org/Model-Cards/"
198198
],
199199
"url": "https://pythainlp.org/",
200-
"version": "5.3.4"
200+
"version": "5.3.5"
201201
}

pythainlp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: 2016-2026 PyThaiNLP Project
22
# SPDX-FileType: SOURCE
33
# SPDX-License-Identifier: Apache-2.0
4-
__version__ = "5.3.4"
4+
__version__ = "5.3.5"
55

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

0 commit comments

Comments
 (0)