1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Advanced NLP Module
//!
//! This module provides advanced natural language processing capabilities:
//! - Semantic chunking algorithms
//! - Custom NER training pipeline
//! - Syntax analysis
//!
//! ## Features
//!
//! ### Semantic Chunking
//! - Multiple chunking strategies (sentence, paragraph, topic, semantic, hybrid)
//! - Intelligent boundary detection
//! - Coherence scoring
//! - Configurable chunk sizes and overlap
//!
//! ### Custom NER
//! - Pattern-based entity extraction
//! - Dictionary/gazetteer matching
//! - Rule-based extraction with priorities
//! - Training dataset management
//! - Active learning support
//!
//! ### Syntax Analysis
//! - Part-of-speech tagging
//! - Dependency parsing
//! - Noun phrase extraction
// Re-export main types
pub use ;
pub use ;
pub use ;