Expand description
Maps detected functional groups to HS chapter / heading hints.
The mapping is intentionally approximate; predictions from this module
carry confidence ≤ 0.70 and are tagged with
PredictionSource::RuleEngine.
§Priority order
More specific functional groups take precedence (e.g. anhydride > carboxylic acid > alcohol). The first matching rule wins.
§HS structure used
- Chapter 28 — inorganic chemicals (when
organic_classisInorganic) - Chapter 29 — organic chemicals (sub-headings by functional group)
- Chapter 38 — misc. chemical preparations (default organic fallback)
Structs§
- Heading
Hint - HS chapter / heading hint derived from SMILES functional group analysis.
Functions§
- map_
to_ heading - Derive an HS chapter / heading hint from functional group analysis.