Skip to content

Commit

Permalink
[aws-android-sdk-textract] Update models to latest (#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
awsmobilesdk authored and Karthikeyan committed Dec 9, 2019
1 parent cd7c98c commit 3fa1d94
Show file tree
Hide file tree
Showing 45 changed files with 3,003 additions and 1,082 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,40 +97,41 @@ public interface AmazonTextract {
* <ul>
* <li>
* <p>
* Words and lines that are related to nearby lines and words. The related
* information is returned in two <a>Block</a> objects each of type
* <code>KEY_VALUE_SET</code>: a KEY Block object and a VALUE Block object.
* For example, <i>Name: Ana Silva Carolina</i> contains a key and value.
* Form data (key-value pairs). The related information is returned in two
* <a>Block</a> objects, each of type <code>KEY_VALUE_SET</code>: a KEY
* <code>Block</code> object and a VALUE <code>Block</code> object. For
* example, <i>Name: Ana Silva Carolina</i> contains a key and value.
* <i>Name:</i> is the key. <i>Ana Silva Carolina</i> is the value.
* </p>
* </li>
* <li>
* <p>
* Table and table cell data. A TABLE Block object contains information
* about a detected table. A CELL Block object is returned for each cell in
* a table.
* Table and table cell data. A TABLE <code>Block</code> object contains
* information about a detected table. A CELL <code>Block</code> object is
* returned for each cell in a table.
* </p>
* </li>
* <li>
* <p>
* Selectable elements such as checkboxes and radio buttons. A
* SELECTION_ELEMENT Block object contains information about a selectable
* element.
* Lines and words of text. A LINE <code>Block</code> object contains one or
* more WORD <code>Block</code> objects. All lines and words that are
* detected in the document are returned (including text that doesn't have a
* relationship with the value of <code>FeatureTypes</code>).
* </p>
* </li>
* <li>
* </ul>
* <p>
* Lines and words of text. A LINE Block object contains one or more WORD
* Block objects.
* Selection elements such as check boxes and option buttons (radio buttons)
* can be detected in form data and in tables. A SELECTION_ELEMENT
* <code>Block</code> object contains information about a selection element,
* including the selection status.
* </p>
* </li>
* </ul>
* <p>
* You can choose which type of analysis to perform by specifying the
* <code>FeatureTypes</code> list.
* </p>
* <p>
* The output is returned in a list of <code>BLOCK</code> objects.
* The output is returned in a list of <code>Block</code> objects.
* </p>
* <p>
* <code>AnalyzeDocument</code> is a synchronous operation. To analyze
Expand All @@ -154,6 +155,7 @@ public interface AmazonTextract {
* @throws ProvisionedThroughputExceededException
* @throws InternalServerErrorException
* @throws ThrottlingException
* @throws HumanLoopQuotaExceededException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
Expand All @@ -169,8 +171,8 @@ AnalyzeDocumentResult analyzeDocument(AnalyzeDocumentRequest analyzeDocumentRequ
* <p>
* Detects text in the input document. Amazon Textract can detect lines of
* text and the words that make up a line of text. The input document must
* be an image in JPG or PNG format. <code>DetectDocumentText</code> returns
* the detected text in an array of <a>Block</a> objects.
* be an image in JPEG or PNG format. <code>DetectDocumentText</code>
* returns the detected text in an array of <a>Block</a> objects.
* </p>
* <p>
* Each document page has as an associated <code>Block</code> of type PAGE.
Expand Down Expand Up @@ -238,37 +240,39 @@ DetectDocumentTextResult detectDocumentText(DetectDocumentTextRequest detectDocu
* <ul>
* <li>
* <p>
* Words and lines that are related to nearby lines and words. The related
* information is returned in two <a>Block</a> objects each of type
* <code>KEY_VALUE_SET</code>: a KEY Block object and a VALUE Block object.
* For example, <i>Name: Ana Silva Carolina</i> contains a key and value.
* Form data (key-value pairs). The related information is returned in two
* <a>Block</a> objects, each of type <code>KEY_VALUE_SET</code>: a KEY
* <code>Block</code> object and a VALUE <code>Block</code> object. For
* example, <i>Name: Ana Silva Carolina</i> contains a key and value.
* <i>Name:</i> is the key. <i>Ana Silva Carolina</i> is the value.
* </p>
* </li>
* <li>
* <p>
* Table and table cell data. A TABLE Block object contains information
* about a detected table. A CELL Block object is returned for each cell in
* a table.
* Table and table cell data. A TABLE <code>Block</code> object contains
* information about a detected table. A CELL <code>Block</code> object is
* returned for each cell in a table.
* </p>
* </li>
* <li>
* <p>
* Selectable elements such as checkboxes and radio buttons. A
* SELECTION_ELEMENT Block object contains information about a selectable
* element.
* Lines and words of text. A LINE <code>Block</code> object contains one or
* more WORD <code>Block</code> objects. All lines and words that are
* detected in the document are returned (including text that doesn't have a
* relationship with the value of the <code>StartDocumentAnalysis</code>
* <code>FeatureTypes</code> input parameter).
* </p>
* </li>
* <li>
* </ul>
* <p>
* Lines and words of text. A LINE Block object contains one or more WORD
* Block objects.
* Selection elements such as check boxes and option buttons (radio buttons)
* can be detected in form data and in tables. A SELECTION_ELEMENT
* <code>Block</code> object contains information about a selection element,
* including the selection status.
* </p>
* </li>
* </ul>
* <p>
* Use the <code>MaxResults</code> parameter to limit the number of blocks
* returned. If there are more results than specified in
* that are returned. If there are more results than specified in
* <code>MaxResults</code>, the value of <code>NextToken</code> in the
* operation response contains a pagination token for getting the next set
* of results. To get the next page of results, call
Expand Down Expand Up @@ -375,13 +379,13 @@ GetDocumentTextDetectionResult getDocumentTextDetection(

/**
* <p>
* Starts asynchronous analysis of an input document for relationships
* between detected items such as key and value pairs, tables, and selection
* Starts the asynchronous analysis of an input document for relationships
* between detected items such as key-value pairs, tables, and selection
* elements.
* </p>
* <p>
* <code>StartDocumentAnalysis</code> can analyze text in documents that are
* in JPG, PNG, and PDF format. The documents are stored in an Amazon S3
* in JPEG, PNG, and PDF format. The documents are stored in an Amazon S3
* bucket. Use <a>DocumentLocation</a> to specify the bucket name and file
* name of the document.
* </p>
Expand Down Expand Up @@ -437,7 +441,7 @@ StartDocumentAnalysisResult startDocumentAnalysis(
* </p>
* <p>
* <code>StartDocumentTextDetection</code> can analyze text in documents
* that are in JPG, PNG, and PDF format. The documents are stored in an
* that are in JPEG, PNG, and PDF format. The documents are stored in an
* Amazon S3 bucket. Use <a>DocumentLocation</a> to specify the bucket name
* and file name of the document.
* </p>
Expand Down
Loading

0 comments on commit 3fa1d94

Please sign in to comment.