Skip to content

Commit

Permalink
bump version to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
omukazu committed Jul 18, 2024
1 parent a338e9c commit 7ded0e0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v2.4.0] - 2024-07-18
### Added
- Introduce a special token to handle whitespaces as they are.

### Changed
- Set default value of num_beams to 1.
- Refactor seq2seq module to make it slightly faster.

### Removed
- Remove normalization of whitespaces to "␣".

## [v2.3.0] - 2024-02-01
### Added
- Support Python 3.12.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kwja"
version = "2.3.0"
version = "2.4.0"
description = "A unified Japanese analyzer based on foundation models"
authors = [
"Hirokazu Kiyomaru <[email protected]>",
Expand Down
1 change: 1 addition & 0 deletions src/kwja/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def _get_model_version() -> str:
("2", "1"): "v2.1",
("2", "2"): "v2.2",
("2", "3"): "v2.2",
("2", "4"): "v2.4",
}
version_fields = kwja.__version__.split(".")
return version_map[(version_fields[0], version_fields[1])]
Expand Down

0 comments on commit 7ded0e0

Please sign in to comment.