learn / Term explained
EN

Parsing and Extraction · Terminology Explanation

Structured extraction

Structured extraction

Common writing methods: field extraction, JSON extraction, Schema

What it means

Mapping page content to predefined fields and types, such as turning a product page into a JSON record containing a name, price and specifications.

Fields can be extracted via selectors, rules, or models, but all require specification of expected types, required fields, and missing value handling. Structural consistency and factual correctness are two independent inspection dimensions.

Model-assisted extraction is suitable for handling some irregular pages, but may also produce misreadings or inferences. The output should be compared with the original text, unit, and context. Just because legal JSON is returned, it does not mean that the information is true.

In a scraping task

Define fields and also define missing

If the page does not publish prices, price can be left blank by convention instead of being filled in with 0. The data should also retain currency and source URL to avoid conflating different calibers in subsequent comparisons.

{
  "name": "Example product",
  "price": null,
  "source_url": "https://example.com/item"
}

Common misconceptions

  • Correctly formatted JSON does not equate to correct field facts.
  • A numerical value without units or sources may not be sufficient for comparison.

References

Organized by Northleaf Studio. The source link retains the original address to facilitate continued reading.

Back to glossary