Skip to content

Commit

Permalink
Update Lindera to 0.13.0 (#46)
Browse files Browse the repository at this point in the history
* Update Lindera to 0.13.0

* Update CHANGES.md
  • Loading branch information
mosuka authored Apr 7, 2022
1 parent 23569ba commit 26c4317
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 0.13.0 (2022-04-07)
- Update Lindera to 0.13.0 #46 @mosuka

## 0.12.5 (2022-04-06)
- Bump Lindera to 0.12.6 #45 @mosuka

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lindera-tantivy"
version = "0.12.5"
version = "0.13.0"
edition = "2021"
description = "Lindera Tokenizer for Tantivy."
documentation = "https://docs.rs/lindera-tantivy"
Expand All @@ -22,7 +22,7 @@ cc-cedict = ["lindera/cc-cedict"] # Chinese dictionary
[dependencies]
tantivy = "0.17"

lindera = "0.12.6"
lindera = "0.13.0"

[dev-dependencies]
criterion = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/cc-cedict_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn main() -> tantivy::Result<()> {
let index = Index::create_in_ram(schema.clone());

let config = TokenizerConfig {
dict_type: DictionaryType::Cedict,
dict_type: DictionaryType::CcCedict,
dict_path: None,
user_dict_path: None,
user_dict_type: UserDictionaryType::Csv,
Expand Down
2 changes: 1 addition & 1 deletion examples/ko-dic_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn main() -> tantivy::Result<()> {
let index = Index::create_in_ram(schema.clone());

let config = TokenizerConfig {
dict_type: DictionaryType::Kodic,
dict_type: DictionaryType::KoDic,
dict_path: None,
user_dict_path: None,
user_dict_type: UserDictionaryType::Csv,
Expand Down

0 comments on commit 26c4317

Please sign in to comment.