Skip to main content

kevy_text/
lib.rs

1//! kevy-text — dictionary-free full-text core:
2//! 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 docblobs;
11mod docvalues;
12mod edit;
13mod fields;
14mod positions;
15mod segment;
16mod token;
17
18pub use bm25::{BM25_B, BM25_K1};
19pub use segment::sorted_order;
20pub use segment::{
21    Bucket, CorpusStats, Distinct, Facet, FacetedMatches, Filter, QueryOpts, SegmentShape, Sort, TextMatch, TextSegment, TextStats,
22};
23pub use token::{KevyTokenizer, Tokenizer, tokenize, tokenize_spans};