Skip to content

Commit

Permalink
0.6.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
eiennohito committed Feb 10, 2022
1 parent 4ab7a27 commit 78f9dee
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 19 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# [0.6.3](https://github.com/WorksApplications/sudachi.rs/releases/tag/v0.6.2) (2020-02-10)

## Highlights

* Fixed path resolution algorithm for resources. They are now resolved in the following order (first existing file wins):
1. Absolute paths stay as they are
2. Relative to "path" value of the config file
3. Relative to "resource_dir" parameter of the config object during creation
* For SudachiPy it is the parameter of `Dictionary` constructor
4. Relative to the location of the configuration file
5. Relative to the current directory

## Python

* `Dictionary` now has `__repr__()` function which displays absolute paths to dictionaries in use.
* `Dictionary` now has `pos_of()` function which returns a POS tuple for a given POS id.
* `PosMatcher` supports set operations
* union (`m1 | m2`)
* intersection (`m1 & m2`)
* difference (`m1 - m2`)
* negation (`~m1`)

# [0.6.2](https://github.com/WorksApplications/sudachi.rs/releases/tag/v0.6.2) (2020-12-09)

## Fixes

* Fix analysis differences with 0.5.4

# [0.6.1](https://github.com/WorksApplications/sudachi.rs/releases/tag/v0.6.1) (2020-12-08)

## Highlights
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

[![Rust](https://github.com/WorksApplications/sudachi.rs/actions/workflows/rust.yml/badge.svg)](https://github.com/WorksApplications/sudachi.rs/actions/workflows/rust.yml)

**2021-12-09 UPDATE**: [0.6.2 Release](https://github.com/WorksApplications/sudachi.rs/releases/tag/v0.6.2)
**2022-02-10 UPDATE**: [0.6.3 Release](https://github.com/WorksApplications/sudachi.rs/releases/tag/v0.6.3)

Try it:
```shell
pip install --update 'sudachipy>=0.6.2'
pip install --update 'sudachipy>=0.6.3'
```


Expand Down
2 changes: 1 addition & 1 deletion plugin/input_text/default_input_text/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "default_input_text"
version = "0.6.3-a1"
version = "0.6.3"
authors = ["Works Applications <sudachi@worksap.co.jp>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion plugin/oov/simple_oov/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "simple_oov"
version = "0.6.3-a1"
version = "0.6.3"
authors = ["Works Applications <sudachi@worksap.co.jp>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion plugin/path_rewrite/join_katakana_oov/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "join_katakana_oov"
version = "0.6.3-a1"
version = "0.6.3"
authors = ["Works Applications <sudachi@worksap.co.jp>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion plugin/path_rewrite/join_numeric/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "join_numeric"
version = "0.6.3-a1"
version = "0.6.3"
authors = ["Works Applications <sudachi@worksap.co.jp>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
10 changes: 10 additions & 0 deletions python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `sudachipy.Tokenizer` will ignore the provided logger.
- Ref: [#76]

## [0.6.3] - 2022/01/10

- Changed path resolution algorithm for resources [#203](https://github.com/WorksApplications/sudachi.rs/pull/203)
- Added set operations to `PosMatcher` [#204](https://github.com/WorksApplications/sudachi.rs/pull/204)
- Added `pos_of()` function to `Dictionary` which returns a POS tuple for a given POS id.

## [0.6.2] - 2021/12/09

- Fixed analysis differences with 0.5.4

## [0.6.1] - 2021/12/08

- [`Morpheme.part_of_speech`](https://worksapplications.github.io/sudachi.rs/python/api/sudachipy.html#sudachipy.Morpheme.part_of_speech) method now returns Tuple of POS components instead of a list.
Expand Down
2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sudachipy"
version = "0.6.3-a1"
version = "0.6.3"
edition = "2018"
description = "Python bindings of sudachi.rs, the Japanese Morphological Analyzer"
homepage = "https://github.com/WorksApplications/sudachi.rs"
Expand Down
2 changes: 1 addition & 1 deletion python/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Works Applications'

# The full version, including alpha/beta/rc tags
release = '0.6.3-a1'
release = '0.6.3'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion python/py_src/sudachipy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from importlib.util import find_spec
from pathlib import Path

__version__ = "0.6.3-a1"
__version__ = "0.6.3"

_DEFAULT_RESOURCEDIR = Path(__file__).resolve().parent / 'resources'
_DEFAULT_SETTINGFILE = _DEFAULT_RESOURCEDIR / 'sudachi.json'
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name="SudachiPy",
version="0.6.3-a1",
version="0.6.3",
description="Python version of Sudachi, the Japanese Morphological Analyzer",
long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion sudachi-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sudachi-cli"
version = "0.6.3-a1"
version = "0.6.3"
authors = ["Works Applications <sudachi@worksap.co.jp>"]
edition = "2018"
description = "Rust version of Sudachi, the Japanese Morphological Analyzer"
Expand Down
2 changes: 1 addition & 1 deletion sudachi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sudachi"
version = "0.6.3-a1"
version = "0.6.3"
authors = ["Works Applications <sudachi@worksap.co.jp>"]
edition = "2018"
description = "Rust version of Sudachi, the Japanese Morphological Analyzer"
Expand Down

0 comments on commit 78f9dee

Please sign in to comment.