From 26c43173bdec28293c108027553cdb34973af3bc Mon Sep 17 00:00:00 2001 From: Minoru Osuka Date: Thu, 7 Apr 2022 22:49:53 +0900 Subject: [PATCH] Update Lindera to 0.13.0 (#46) * Update Lindera to 0.13.0 * Update CHANGES.md --- CHANGES.md | 3 +++ Cargo.toml | 4 ++-- examples/cc-cedict_example.rs | 2 +- examples/ko-dic_example.rs | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 2be687b..8db0eb1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 8cb711c..a99fa39 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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" diff --git a/examples/cc-cedict_example.rs b/examples/cc-cedict_example.rs index 3e001c8..d8218cf 100644 --- a/examples/cc-cedict_example.rs +++ b/examples/cc-cedict_example.rs @@ -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, diff --git a/examples/ko-dic_example.rs b/examples/ko-dic_example.rs index fae4935..d3a95f1 100644 --- a/examples/ko-dic_example.rs +++ b/examples/ko-dic_example.rs @@ -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,