sendFeedbackForExtractions

public final Resource<Unit> sendFeedbackForExtractions(Document document, Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions)

Sends approved and conceivably corrected extractions for the given document. This is called "submitting feedback on extractions" in the Gini API documentation.

Return

Empty Resource or information about the error

Parameters

document

The document for which the extractions should be updated.

specificExtractions

A Map where the key is the name of the specific extraction and the value is the SpecificExtraction object. This is the same structure as returned by the getExtractions method of this manager.

compoundExtractions

A Map where the key is the name of the compound extraction and the value is the CompoundExtraction object. This is the same structure as returned by the getExtractions method of this manager.


public final Resource<Unit> sendFeedbackForExtractions(Document document, Map<String, SpecificExtraction> specificExtractions)

Sends approved and conceivably corrected extractions for the given document. This is called "submitting feedback on extractions" in the Gini API documentation.

Return

Empty Resource or information about the error

Parameters

document

The document for which the extractions should be updated.

specificExtractions

A Map where the key is the name of the specific extraction and the value is the SpecificExtraction object. This is the same structure as returned by the getExtractions method of this manager.