Expand description
Universal character encoding detector — Rust port of chardet 7.
Re-exports§
pub use pipeline::orchestrator::run_pipeline;pub use pipeline::orchestrator::PipelineOptions;pub use result::DetectionResult;
Modules§
- codecs
- Exact CPython-compatible codec validity and decoding.
- enums
- Bit-flag encoding eras, mirroring
chardet.enums.EncodingEra. - models
- Bigram model loading and scoring, mirroring
chardet.models. - output_
names - Public-API encoding-name remapping, mirroring
chardet.output_names. - pipeline
- Detection pipeline stages and shared constants.
- registry
- Encoding registry and name lookup, mirroring
chardet.registry. - result
- Shared pipeline types:
DetectionResultandPipelineContext. - utils
- Shared constants and helpers, mirroring
chardet._utils.
Structs§
- Detect
Options - Public options for
detectanddetect_all.
Functions§
- detect
- Detect the encoding of
data, applying the public output-name transforms. - detect_
all - Return all candidate results sorted by descending confidence.
- detect_
with - Like
detect, with explicit options.