aleph.ingest.result

DocumentResult

class aleph.ingest.result.DocumentResult

Imports

  • <UNKNOWN>

Summary

Wrapper to link a Document to an ingestor result object.

__init__(self, manager, document)
_emit_iterator_rows(self, iterator)
emit_html_body(self, html, text)
emit_page(self, index, text)

Emit a plain text page.

emit_pdf_alternative(self, file_path)
emit_rows(self, iterator)

Emit rows of a tabular iterator.

emit_text_body(self, text)
update(self)

Apply the outcome of the result to the document.