Skip to main content

kevy_text/
lib.rs

1//! kevy-text — dictionary-free full-text core (RFC 2026-07-04,
2//! LOCKED): script-aware tokenization (Latin words + CJK bigrams),
3//! per-shard inverted segments maintained synchronously with writes,
4//! BM25 ranking with shard-local statistics.
5
6#![warn(missing_docs)]
7
8mod bm25;
9mod buckets;
10mod segment;
11mod token;
12
13pub use bm25::{BM25_B, BM25_K1};
14pub use segment::{TextMatch, TextSegment, TextStats};
15pub use token::{KevyTokenizer, Tokenizer, tokenize};