Skip to content

Commit 3152a36

Browse files
authored
Merge pull request #1397 from bact/dev
Prepare for 5.3.4 release
2 parents 0c4bd4c + 2fb486d commit 3152a36

7 files changed

Lines changed: 19 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ and this project adheres to
1515
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1616

1717
- Full release notes: <https://github.com/PyThaiNLP/pythainlp/releases>
18-
- Commit history: <https://github.com/PyThaiNLP/pythainlp/compare/v5.3.1...v5.3.3>
18+
- Commit history: <https://github.com/PyThaiNLP/pythainlp/compare/v5.3.3...v5.3.4>
1919

20-
## [Unreleased]
20+
## [5.3.4] - 2026-04-02
2121

22-
### Changed
22+
### Fixed
2323

24-
- Fix doctests, docstring formatting, typos, and outdated content
25-
across all modules (#1392).
24+
- Value range check fixes (#1374, #1379, #1382).
25+
- "1001" -> "หนึ่งพันเอ็ด" rule (#1386).
26+
- Build WSD Trie after populating dictionary (#1388).
27+
- Doctests across all modules (#1392).
2628

2729
## [5.3.3] - 2026-03-26
2830

@@ -288,6 +290,7 @@ The minimum requirement is now Python 3.9.
288290

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

293+
[5.3.4]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.3...v5.3.4
291294
[5.3.3]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.2...v5.3.3
292295
[5.3.2]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.1...v5.3.2
293296
[5.3.1]: https://github.com/PyThaiNLP/pythainlp/compare/v5.3.0...v5.3.1

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.3
27+
version: 5.3.4
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-03-26
41+
date-released: 2026-04-02

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.3](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.3...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
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/) |
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.3](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.3...HEAD) | [pythainlp.org/dev-docs](https://pythainlp.org/dev-docs/) |
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/) |
3434

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

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"codeRepository": "https://github.com/PyThaiNLP/pythainlp",
4848
"copyrightYear": 2026,
4949
"dateCreated": "2016-06-27",
50-
"dateModified": "2026-03-26",
50+
"dateModified": "2026-04-02",
5151
"datePublished": "2016-06-27",
5252
"description": "PyThaiNLP is a Thai natural language processing library for Python. It provides standard linguistic analysis for the Thai language, including tokenization and part-of-speech tagging. Additionally, it offers standard Thai locale utility functions, such as Thai Buddhist Era date formatting and the conversion of numbers into Thai text.",
5353
"developmentStatus": "active",
@@ -197,5 +197,5 @@
197197
"https://pythainlp.org/Model-Cards/"
198198
],
199199
"url": "https://pythainlp.org/",
200-
"version": "5.3.3"
200+
"version": "5.3.4"
201201
}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
88

99
[project]
1010
name = "pythainlp"
11-
version = "5.3.3"
11+
version = "5.3.4"
1212
description = "Thai Natural Language Processing library"
1313
readme = "README.md"
1414
requires-python = ">=3.9"
@@ -312,7 +312,7 @@ include = [
312312
]
313313

314314
[tool.bumpversion]
315-
current_version = "5.3.3"
315+
current_version = "5.3.4"
316316
commit = true
317317
tag = true
318318
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\-(?P<release>[a-z]+)(?P<build>\\d+))?"

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.3"
4+
__version__ = "5.3.4"
55

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

0 commit comments

Comments
 (0)