Lindera for SQLite FTS5 extention
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 80/100 with only 24 stars
- Accepts sponsorship (github)
// how to help
// readme
Overview
lindera-sqlite is a C ABI library which exposes a FTS5 tokenizer function.
When used as a custom FTS5 tokenizer this enables application to support Chinese, Japanese and Korean in full-text search.
Use a prebuilt extension
Every release publishes a per-platform, per-dictionary archive containing the shared library and a lindera.yml matching the dictionary that archive embedded. Unpack it and point LINDERA_CONFIG_FILE at that file:
% unzip lindera-sqlite-x86_64-unknown-linux-gnu-v7.0.0.zip
% export LINDERA_CONFIG_FILE=./lindera.yml
Then skip to Load extension, using the unpacked library path.
Build extension
% cargo build --features=embed-cjk
Each embed-* feature embeds a different set of dictionaries into the built extension: