Text Processing

ConcatenateText

collectra.ConcatenateText joins all input Text artefacts into one Text. Unlike tasks that run separately for each artefact, it consumes the input collection together. separator defaults to a newline.

join_text:
  type: collectra.ConcatenateText
  input: line_text
  output: transcription
  separator: "\n"

Commands

run is the only task command, with the shared run options. There is no train command.

collectra --pipeline pipeline.yaml task join_text run results/page001.collectra
collectra --pipeline pipeline.yaml task join_text run --help

The result must already contain line_text artefacts. See OCR for a task that produces them and Text for evaluation commands.