Perception

Split

nace split https://example.com/packet.pdf \
  --class invoice:Invoice:"A supplier invoice" \
  --class receipt:Receipt:"A payment receipt"
FlagWhat it does
--class ID:LABEL[:DESCRIPTION]One class. Repeatable. It's split at the first two colons, so a description may contain colons but an id or a label can't.
--classes JSONClasses as a JSON array: inline, @FILE, a path, or -. Its entries come before any --class.

At least one --class or --classes is required, or classes in --options. Class fields beyond id, label and description go in --classes. See Split.

Split options

nace split also takes:

FlagWhat it does
--unknown {include,force,error}Pages no class matches: keep them as unclassified, give them the best class, or fail the job. Sent as unknown_policy. Default include.
--include-contentGive each segment its Markdown in content, by sending output.include_content: true.

On this page