Skip to main content

uqa_analysis/
lib.rs

1//
2// Unified Query Algebra
3//
4// Copyright (c) 2023-2026 Cognica, Inc.
5//
6
7//! Text analysis pipeline: char filters, tokenizers, token filters,
8//! composable [`Analyzer`], and a global named-analyzer registry.
9
10pub mod analyzer;
11pub mod char_filter;
12pub mod error;
13pub mod highlight;
14pub mod porter;
15pub mod registry;
16pub mod token_filter;
17pub mod tokenizer;
18
19pub use analyzer::{
20    keyword_analyzer, standard_analyzer, standard_cjk_analyzer, whitespace_analyzer, Analyzer,
21};
22pub use char_filter::CharFilter;
23pub use error::{AnalysisError, AnalysisResult};
24pub use highlight::{highlight, HighlightOptions};
25pub use registry::{
26    drop_analyzer, get_analyzer, list_analyzers, register_analyzer, DEFAULT_ANALYZER_NAME,
27};
28pub use token_filter::{SynonymFileError, TokenFilter};
29pub use tokenizer::Tokenizer;