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 clauses;
11pub mod cold;
12mod docblobs;
13mod docvalues;
14mod edit;
15mod fields;
16mod positions;
17mod segment;
18mod token;
19
20pub use bm25::{BM25_B, BM25_K1};
21pub use segment::sorted_order;
22pub use segment::{
23    Bucket, CorpusStats, Distinct, Facet, FacetedMatches, Filter, QueryOpts, SegmentShape, Sort,
24    TextMatch, TextSegment, TextStats,
25};
26pub use segment::{Clauses, parse_clauses};
27pub use token::{KevyTokenizer, Tokenizer, tokenize, tokenize_spans};