Framework
KLReadingOrder
API Documentation: DocC Reconstruct human reading order from shuffled OCR observations with deterministic, inspectable geometry instead of document-specific guesses. KLReadingOrder is a Swift package from Nuancery Labs, extracted from the layout reconstruction used by wondays. It accepts text, confidence, normalized boxes, page identity, and source order; it returns ordered lines while preserving caller-owned candidate IDs. The package does not run OCR and does not interpret document meaning. It solves the geometric step between recognition and semantic extraction.
Guides
API Reference
Architecture
Migration
KLReadingOrder · Swift Package documentation