| Crates.io | tantivy-vibrato |
| lib.rs | tantivy-vibrato |
| version | 0.3.0 |
| created_at | 2023-01-19 01:10:26.028878+00 |
| updated_at | 2023-01-19 01:10:26.028878+00 |
| description | A Tantivy tokenizer using Vibrato. |
| homepage | |
| repository | https://github.com/akr4/tantivy-vibrato |
| max_upload_size | |
| id | 762185 |
| size | 7,932 |
A Tantivy tokenizer using Vibrato.
let tokenizer = VibratoTokenizer::new("/path/to/dictionary")?;
let analyzer = TextAnalyzer::from(tokenizer).filter(LowerCaser);
index.tokenizers().register("lang_ja", analyzer);
You need to specify a path to the Vibrato's dictionary file.