Spaces:
Running on Zero
Running on Zero
File size: 743 Bytes
333ff0e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | """Data pipeline: (PAGE/ALTO XML OR pre-cropped lines) -> (image, text, writer_id) manifest + split."""
from .dataset import (
HandwritingLineDataset,
build_manifest,
char_coverage,
load_manifest,
normalize_text,
write_splits,
writer_disjoint_split,
)
from .ingest import read_records, scan_folder, writer_from_path
from .parse import LineRecord, parse_alto_xml, parse_file, parse_page_xml
__all__ = [
"LineRecord",
"parse_file",
"parse_page_xml",
"parse_alto_xml",
"build_manifest",
"load_manifest",
"char_coverage",
"writer_disjoint_split",
"write_splits",
"normalize_text",
"HandwritingLineDataset",
"scan_folder",
"read_records",
"writer_from_path",
]
|