pdftract/crates
jedarden 7df83c64dd feat(pdftract-51bk): implement ProfileType, Profile, MatchPredicate types
- Add ProfileType enum with 10 variants (invoice, receipt, contract, etc.)
- Add Profile struct with name, type, predicates, threshold (default 0.6)
- Add MatchPredicate enum with 12 predicate kinds (text_contains, text_matches_regex, structural_has_table, etc.)
- All types support serde YAML serialization/deserialization
- ProfileType uses snake_case for YAML compatibility
- MatchPredicate uses tagged enum representation (kind field)
- Comprehensive unit tests for all variants and roundtrip serialization

Closes: pdftract-51bk
2026-05-24 09:34:40 -04:00
..
pdftract-cer-diff docs(pdftract-aawrz): add LICENSE-MIT and LICENSE-APACHE files 2026-05-23 10:36:28 -04:00
pdftract-cli feat(pdftract-1s2uj): add xref test fixture corpus and integration test runner 2026-05-24 08:20:04 -04:00
pdftract-core feat(pdftract-51bk): implement ProfileType, Profile, MatchPredicate types 2026-05-24 09:34:40 -04:00
pdftract-libpdftract feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
pdftract-py feat(pdftract-2nu0s): implement Python SDK contract conformance 2026-05-24 08:55:11 -04:00