tantivy-vibrato

Crates.iotantivy-vibrato
lib.rstantivy-vibrato
version0.3.0
sourcesrc
created_at2023-01-19 01:10:26.028878
updated_at2023-01-19 01:10:26.028878
descriptionA Tantivy tokenizer using Vibrato.
homepage
repositoryhttps://github.com/akr4/tantivy-vibrato
max_upload_size
id762185
size7,932
Akira Ueda (akr4)

documentation

README

tantivy-vibrato

A Tantivy tokenizer using Vibrato.

Usage

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.

Commit count: 10

cargo fmt