Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akr4/tantivy-vibrato

A Tantivy tokenizer using Vibrato.
https://github.com/akr4/tantivy-vibrato

Last synced: about 1 month ago
JSON representation

A Tantivy tokenizer using Vibrato.

Awesome Lists containing this project

README

        

# tantivy-vibrato

A [Tantivy](https://github.com/quickwit-oss/tantivy) tokenizer using [Vibrato](https://github.com/daac-tools/vibrato).

![Crates.io](https://img.shields.io/crates/v/tantivy-vibrato)

## Usage

```rust
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.