@Deprecated public class CompareComply extends com.ibm.cloud.sdk.core.service.BaseService
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_NAME
Deprecated.
|
static String |
DEFAULT_SERVICE_URL
Deprecated.
|
Constructor and Description |
---|
CompareComply(String version)
Deprecated.
Constructs an instance of the `CompareComply` client.
|
CompareComply(String version,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Deprecated.
Constructs an instance of the `CompareComply` client.
|
CompareComply(String version,
String serviceName)
Deprecated.
Constructs an instance of the `CompareComply` client.
|
CompareComply(String version,
String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Deprecated.
Constructs an instance of the `CompareComply` client.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackReturn> |
addFeedback(AddFeedbackOptions addFeedbackOptions)
Deprecated.
Add feedback.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ClassifyReturn> |
classifyElements(ClassifyElementsOptions classifyElementsOptions)
Deprecated.
Classify the elements of a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CompareReturn> |
compareDocuments(CompareDocumentsOptions compareDocumentsOptions)
Deprecated.
Compare two documents.
|
com.ibm.cloud.sdk.core.http.ServiceCall<HTMLReturn> |
convertToHtml(ConvertToHtmlOptions convertToHtmlOptions)
Deprecated.
Convert document to HTML.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> |
createBatch(CreateBatchOptions createBatchOptions)
Deprecated.
Submit a batch-processing request.
|
com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackDeleted> |
deleteFeedback(DeleteFeedbackOptions deleteFeedbackOptions)
Deprecated.
Delete a specified feedback entry.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TableReturn> |
extractTables(ExtractTablesOptions extractTablesOptions)
Deprecated.
Extract a document's tables.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> |
getBatch(GetBatchOptions getBatchOptions)
Deprecated.
Get information about a specific batch-processing job.
|
com.ibm.cloud.sdk.core.http.ServiceCall<GetFeedback> |
getFeedback(GetFeedbackOptions getFeedbackOptions)
Deprecated.
Get a specified feedback entry.
|
String |
getVersion()
Deprecated.
Gets the version.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Batches> |
listBatches()
Deprecated.
List submitted batch-processing jobs.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Batches> |
listBatches(ListBatchesOptions listBatchesOptions)
Deprecated.
List submitted batch-processing jobs.
|
com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackList> |
listFeedback()
Deprecated.
List the feedback in a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackList> |
listFeedback(ListFeedbackOptions listFeedbackOptions)
Deprecated.
List the feedback in a document.
|
void |
setVersion(String version)
Deprecated.
Sets the version.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> |
updateBatch(UpdateBatchOptions updateBatchOptions)
Deprecated.
Update a pending or active batch-processing job.
|
public static final String DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_URL
public CompareComply(String version)
version
- Release date of the version of the API you want to use. Specify dates in
YYYY-MM-DD format. The current version is `2018-10-15`.public CompareComply(String version, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
version
- Release date of the version of the API you want to use. Specify dates in
YYYY-MM-DD format. The current version is `2018-10-15`.authenticator
- the Authenticator
instance to be configured for this clientpublic CompareComply(String version, String serviceName)
version
- Release date of the version of the API you want to use. Specify dates in
YYYY-MM-DD format. The current version is `2018-10-15`.serviceName
- the service name to be used when configuring the client instancepublic CompareComply(String version, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
version
- Release date of the version of the API you want to use. Specify dates in
YYYY-MM-DD format. The current version is `2018-10-15`.serviceName
- the service name to be used when configuring the client instanceauthenticator
- the Authenticator
instance to be configured for this clientpublic String getVersion()
Release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format. The current version is `2018-10-15`.
public void setVersion(String version)
version
- the new versionpublic com.ibm.cloud.sdk.core.http.ServiceCall<HTMLReturn> convertToHtml(ConvertToHtmlOptions convertToHtmlOptions)
Converts a document to HTML.
convertToHtmlOptions
- the ConvertToHtmlOptions
containing the options for the
callServiceCall
with a result of type HTMLReturn
public com.ibm.cloud.sdk.core.http.ServiceCall<ClassifyReturn> classifyElements(ClassifyElementsOptions classifyElementsOptions)
Analyzes the structural and semantic elements of a document.
classifyElementsOptions
- the ClassifyElementsOptions
containing the options for
the callServiceCall
with a result of type ClassifyReturn
public com.ibm.cloud.sdk.core.http.ServiceCall<TableReturn> extractTables(ExtractTablesOptions extractTablesOptions)
Analyzes the tables in a document.
extractTablesOptions
- the ExtractTablesOptions
containing the options for the
callServiceCall
with a result of type TableReturn
public com.ibm.cloud.sdk.core.http.ServiceCall<CompareReturn> compareDocuments(CompareDocumentsOptions compareDocumentsOptions)
Compares two input documents. Documents must be in the same format.
compareDocumentsOptions
- the CompareDocumentsOptions
containing the options for
the callServiceCall
with a result of type CompareReturn
public com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackReturn> addFeedback(AddFeedbackOptions addFeedbackOptions)
Adds feedback in the form of _labels_ from a subject-matter expert (SME) to a governing document. **Important:** Feedback is not immediately incorporated into the training model, nor is it guaranteed to be incorporated at a later date. Instead, submitted feedback is used to suggest future updates to the training model.
addFeedbackOptions
- the AddFeedbackOptions
containing the options for the callServiceCall
with a result of type FeedbackReturn
public com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackList> listFeedback(ListFeedbackOptions listFeedbackOptions)
Lists the feedback in a document.
listFeedbackOptions
- the ListFeedbackOptions
containing the options for the callServiceCall
with a result of type FeedbackList
public com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackList> listFeedback()
Lists the feedback in a document.
ServiceCall
with a result of type FeedbackList
public com.ibm.cloud.sdk.core.http.ServiceCall<GetFeedback> getFeedback(GetFeedbackOptions getFeedbackOptions)
Gets a feedback entry with a specified `feedback_id`.
getFeedbackOptions
- the GetFeedbackOptions
containing the options for the callServiceCall
with a result of type GetFeedback
public com.ibm.cloud.sdk.core.http.ServiceCall<FeedbackDeleted> deleteFeedback(DeleteFeedbackOptions deleteFeedbackOptions)
Deletes a feedback entry with a specified `feedback_id`.
deleteFeedbackOptions
- the DeleteFeedbackOptions
containing the options for the
callServiceCall
with a result of type FeedbackDeleted
public com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> createBatch(CreateBatchOptions createBatchOptions)
Run Compare and Comply methods over a collection of input documents.
**Important:** Batch processing requires the use of the [IBM Cloud Object Storage service](https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-about#about-ibm-cloud-object-storage). The use of IBM Cloud Object Storage with Compare and Comply is discussed at [Using batch processing](https://cloud.ibm.com/docs/compare-comply?topic=compare-comply-batching#before-you-batch).
createBatchOptions
- the CreateBatchOptions
containing the options for the callServiceCall
with a result of type BatchStatus
public com.ibm.cloud.sdk.core.http.ServiceCall<Batches> listBatches(ListBatchesOptions listBatchesOptions)
Lists batch-processing jobs submitted by users.
listBatchesOptions
- the ListBatchesOptions
containing the options for the callServiceCall
with a result of type Batches
public com.ibm.cloud.sdk.core.http.ServiceCall<Batches> listBatches()
Lists batch-processing jobs submitted by users.
ServiceCall
with a result of type Batches
public com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> getBatch(GetBatchOptions getBatchOptions)
Gets information about a batch-processing job with a specified ID.
getBatchOptions
- the GetBatchOptions
containing the options for the callServiceCall
with a result of type BatchStatus
public com.ibm.cloud.sdk.core.http.ServiceCall<BatchStatus> updateBatch(UpdateBatchOptions updateBatchOptions)
Updates a pending or active batch-processing job. You can rescan the input bucket to check for new documents or cancel a job.
updateBatchOptions
- the UpdateBatchOptions
containing the options for the callServiceCall
with a result of type BatchStatus
Copyright © 2021 IBM Cloud. All rights reserved.