Skip to main content

Module encoding_classify

Module encoding_classify 

Source
Expand description

Histogram-based encoding classifier. Encoding classifier over a precomputed 256-bin byte histogram.

Constants§

ENCODING_CLASSIFY_OP_ID
Canonical op id for histogram-based encoding classification.
ENCODING_CLASSIFY_WORKGROUP_SIZE
Single-result workgroup for standalone histogram classification.
ENC_ASCII
Encoding-id for pure ASCII input.
ENC_BINARY
Encoding-id for unknown or binary input.
ENC_ISO8859_1
Encoding-id for ISO-8859-1 / Windows-1252-like high-byte input.
ENC_UTF8
Encoding-id for UTF-8 input.
ENC_UTF16BE
Encoding-id for UTF-16 big-endian input.
ENC_UTF16LE
Encoding-id for UTF-16 little-endian input.

Functions§

classify_from_histogram
Reference oracle for encoding_classify.
encoding_classify
Standalone classifier program for primitive-level conformance.
encoding_classify_body
Build the reusable classifier body.
encoding_classify_child
Wrap the classifier body as a child of parent_op_id.