#tantivy #tokenizer #vibrato

tantivy-vibrato

A Tantivy tokenizer using Vibrato

1 unstable release

0.3.0 Jan 19, 2023

#42 in #tantivy

50 downloads per month

Custom license

7KB
154 lines

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.

Dependencies

~17–48MB
~689K SLoC