ITextractAnalyzeDocumentRequest
Interface in AWS.Textract
Interface for AnalyzeDocument requests.
Ancestors
Properties
AdaptersConfig
property AdaptersConfig: ITextractAdaptersConfig
Type: ITextractAdaptersConfig
Specify the adapter to be used when analyzing a document.
Document
property Document: ITextractDocument
Type: ITextractDocument
Specify the input document.
FeatureTypes
property FeatureTypes: TList<string>
Specify a list of feature types of analysis to perform.
Valid values: FORMS | TABLES. Add FORMS to the list to return detected form data. Add TABLES to the list to return information about tables detected. All lines and words detected in the document will be included in the response (including text that isn't related to the value of FeatureTypes).
HumanLoopConfig
property HumanLoopConfig: ITextractHumanLoopConfig
Type: ITextractHumanLoopConfig
Specify configuration for the human in the loop workflow for analyzing documents.
QueriesConfig
property QueriesConfig: ITextractQueriesConfig
Type: ITextractQueriesConfig
Specify queries and their aliases.
Methods
AddAdapter
function AddAdapter(const AAdapter: ITextractAdapter): NativeInt; overload;
Add an adapter to AdaptersConfig.
Parameters
| Name | Description |
|---|---|
AAdapter | Specify an adapter to add to AdaptersConfig. |
Returns
Returns the index of the adapter added to AdaptersConfig.
function AddAdapter(const AAdapterId, AVersion: string): NativeInt; overload;
Add an adapter to AdaptersConfig.
Parameters
| Name | Description |
|---|---|
AAdapterId | Specify the unique identifier for the adapter resource. |
AVersion | Specify the version of the adapter. |
Returns
Returns the index of the adapter added to AdaptersConfig.
function AddAdapter(const AAdapterId, AVersion: string; const APages: array of string): NativeInt; overload;
Add an adapter to AdaptersConfig.
Parameters
| Name | Description |
|---|---|
AAdapterId | Specify the unique identifier for the adapter resource. |
AVersion | Specify the version of the adapter. |
APages | Specify the pages to apply the adapter to. |
Returns
Returns the index of the adapter added to AdaptersConfig.
AddQuery
function AddQuery(const AQuery: ITextractQuery): NativeInt; overload;
Add a query to QueriesConfig.
Parameters
| Name | Description |
|---|---|
AQuery | Specify a query to add to Queries. |
Returns
Returns the index of the query added to QueriesConfig.
function AddQuery(const AText: string; const AAlias: string = ''): NativeInt; overload;
Add a query to QueriesConfig.
Parameters
| Name | Description |
|---|---|
AText | Specify a question that Amazon Textract will be applied to the document. |
AAlias | Specify an alias to attach to the query, for ease of location. |
Returns
Returns the index of the query added to QueriesConfig.
function AddQuery(const AText, AAlias: string; const APages: array of string): NativeInt; overload;
Add a query to QueriesConfig.
Parameters
| Name | Description |
|---|---|
AText | Specify a question that Amazon Textract will be applied to the document. |
AAlias | Specify an alias to attach to the query, for ease of location. |
APages | Specify the pages to apply the query to. |
Returns
Returns the index of the query added to QueriesConfig.