Skip to main content

hs_predict/rules/
mod.rs

1//! Rule-based HS code classification engine.
2//!
3//! The engine uses a static CAS → HS mapping table ([`static_table`])
4//! and a shape/purity matcher ([`matcher`]) to classify known compounds
5//! without any LLM calls.
6//!
7//! Chapter 38 (miscellaneous chemical preparations) is handled by
8//! [`chapter38`], which provides use-case-based classification for mixtures.
9
10pub mod chapter38;
11pub mod jp_table;
12pub mod matcher;
13pub mod static_table;
14pub mod types;