Skip to content

Commit 559b8e7

Browse files
committed
Bump version to 1.31.0
1 parent 45fc569 commit 559b8e7

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,24 @@ The project follows [semantic versioning 2.0.0](https://semver.org/). The API co
2626

2727
### Fixes and improvements
2828

29+
## [v1.31.0](https://github.com/OpenNMT/Tokenizer/releases/tag/v1.31.0) (2022-03-07)
30+
31+
### New features
32+
33+
* Add utilities to build and use vocabularies:
34+
* `pyonmttok.Vocab`
35+
* `pyonmttok.build_vocab_from_tokens`
36+
* `pyonmttok.build_vocab_from_lines`
37+
* Define the method `Tokenizer.__call__` to simplify the tokenizer usage when additional features are unused:
38+
39+
```python
40+
tokens = tokenizer(text)
41+
```
42+
43+
### Fixes and improvements
44+
45+
* Update pybind11 to 2.9.1
46+
2947
## [v1.30.1](https://github.com/OpenNMT/Tokenizer/releases/tag/v1.30.1) (2022-01-25)
3048

3149
### Fixes and improvements

bindings/python/pyonmttok/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Version information."""
22

3-
__version__ = "1.30.1"
3+
__version__ = "1.31.0"

0 commit comments

Comments
 (0)