Document Manager
The DocumentManager is a high level API on top of the Gini API, which is used via the DocumentRepository. It provides high level methods to handle document related tasks easily.
Constructors
Types
Functions
Creates a new Gini composite document. The input Map must contain the partial documents as keys. These will be part of the multi-page document. The value for each partial document key is the amount in degrees the document has been rotated by the user.
Creates a new Gini composite document.
Uploads raw data and creates a new Gini partial document.
Deletes a Gini document.
Deletes a Gini partial document and all its parent composite documents.
Get all extractions (specific and compound) for the given document.
Poll the document and get all extractions (specific and compound) once processing has completed.
Get the document with the given unique identifier.
Gets the layout of a document. The layout of the document describes the textual content of a document with positional information, based on the processed document.
Continually checks the document status (via the Gini API) until the document is fully processed. To avoid flooding the network, there is a pause of at least DocumentRepository.POLLING_INTERVAL and a timeout of DocumentRepository.POLLING_TIMEOUT.
Sends approved and conceivably corrected extractions for the given document. This is called "submitting feedback on extractions" in the Gini API documentation.