Skip to main content

Module extraction_documents

Module extraction_documents 

Source
Expand description

Extraction wire documents (spec 038, 3.3.5 and 3.7; spec 070, 3.1).

Structs§

ExtractRequest
Rendered extraction input. Vocabulary arrays preserve declared option order.
ExtractRules
ExtractionRule
ExtractionSource
FieldRules

Enums§

ByteClass
A byte class (spec 070, 3.2.3). A range is two one-byte strings from ! to ~, lo <= hi.
DateFormat
The closed set of declared date formats (spec 070, 3.3.3).
ExtractionCondition
ExtractionValue
Scalar
An exact input value an equals or one_of condition compares with (spec 070, 3.1 and 3.4.3).
ShapeElement
One element of a token_matching shape (spec 070, 3.3.2), matched possessively.

Functions§

extraction_schema_digest
SHA-256 of canonical schema bytes, using the same value-digest convention as generation fields. This is a content digest, not a document identity.
printable_byte
The single byte of a one-byte string from 0x21 to 0x7E.