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
//! Capability flags produced by an NLP engine.
//!
//! Capabilities describe which linguistic artifacts are available and should
//! be trusted for the current analysis. They are crucial for controlled
//! degradation: recognizers and enhancers can adapt their behavior when lemma,
//! POS, or NER is missing rather than failing or guessing.
//!
//! For example:
//! - If `lemma` is false, context enhancement should fall back to surface tokens.
//! - If `ner` is false, NER-backed recognizers must return no detections.
//! - If `sentences` is false, sentence-based windows fall back to token windows.
use ;
/// Flags describing NLP artifacts available for a given analysis.