aws_comprehend
Amazon Comprehend is an AWS service for gaining insight into the content of documents.
Use these actions to determine the topics contained in your documents, the topics they discuss, the predominant sentiment expressed in them, the predominant language used, and more.Summary
Functions
-
batch_detect_dominant_language(Client, Input)
Determines the dominant language of the input text for a batch of documents.
- batch_detect_dominant_language(Client, Input, Options)
-
batch_detect_entities(Client, Input)
Inspects the text of a batch of documents for named entities and returns information about them.
- batch_detect_entities(Client, Input, Options)
-
batch_detect_key_phrases(Client, Input)
Detects the key noun phrases found in a batch of documents.
- batch_detect_key_phrases(Client, Input, Options)
-
batch_detect_sentiment(Client, Input)
Inspects a batch of documents and returns an inference of the prevailing sentiment,
POSITIVE
,NEUTRAL
,MIXED
, orNEGATIVE
, in each one. - batch_detect_sentiment(Client, Input, Options)
-
batch_detect_syntax(Client, Input)
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them.
- batch_detect_syntax(Client, Input, Options)
-
classify_document(Client, Input)
Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.
- classify_document(Client, Input, Options)
-
create_document_classifier(Client, Input)
Creates a new document classifier that you can use to categorize documents.
- create_document_classifier(Client, Input, Options)
-
create_endpoint(Client, Input)
Creates a model-specific endpoint for synchronous inference for a previously trained custom model.
- create_endpoint(Client, Input, Options)
-
create_entity_recognizer(Client, Input)
Creates an entity recognizer using submitted files.
- create_entity_recognizer(Client, Input, Options)
-
delete_document_classifier(Client, Input)
Deletes a previously created document classifier.
- delete_document_classifier(Client, Input, Options)
-
delete_endpoint(Client, Input)
Deletes a model-specific endpoint for a previously-trained custom model.
- delete_endpoint(Client, Input, Options)
-
delete_entity_recognizer(Client, Input)
Deletes an entity recognizer.
- delete_entity_recognizer(Client, Input, Options)
-
describe_document_classification_job(Client, Input)
Gets the properties associated with a document classification job.
- describe_document_classification_job(Client, Input, Options)
-
describe_document_classifier(Client, Input)
Gets the properties associated with a document classifier.
- describe_document_classifier(Client, Input, Options)
-
describe_dominant_language_detection_job(Client, Input)
Gets the properties associated with a dominant language detection job.
- describe_dominant_language_detection_job(Client, Input, Options)
-
describe_endpoint(Client, Input)
Gets the properties associated with a specific endpoint.
- describe_endpoint(Client, Input, Options)
-
describe_entities_detection_job(Client, Input)
Gets the properties associated with an entities detection job.
- describe_entities_detection_job(Client, Input, Options)
-
describe_entity_recognizer(Client, Input)
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
- describe_entity_recognizer(Client, Input, Options)
-
describe_events_detection_job(Client, Input)
Gets the status and details of an events detection job.
- describe_events_detection_job(Client, Input, Options)
-
describe_key_phrases_detection_job(Client, Input)
Gets the properties associated with a key phrases detection job.
- describe_key_phrases_detection_job(Client, Input, Options)
-
describe_pii_entities_detection_job(Client, Input)
Gets the properties associated with a PII entities detection job.
- describe_pii_entities_detection_job(Client, Input, Options)
-
describe_sentiment_detection_job(Client, Input)
Gets the properties associated with a sentiment detection job.
- describe_sentiment_detection_job(Client, Input, Options)
-
describe_topics_detection_job(Client, Input)
Gets the properties associated with a topic detection job.
- describe_topics_detection_job(Client, Input, Options)
-
detect_dominant_language(Client, Input)
Determines the dominant language of the input text.
- detect_dominant_language(Client, Input, Options)
-
detect_entities(Client, Input)
Inspects text for named entities, and returns information about them.
- detect_entities(Client, Input, Options)
-
detect_key_phrases(Client, Input)
Detects the key noun phrases found in the text.
- detect_key_phrases(Client, Input, Options)
-
detect_pii_entities(Client, Input)
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
- detect_pii_entities(Client, Input, Options)
-
detect_sentiment(Client, Input)
Inspects text and returns an inference of the prevailing sentiment (
POSITIVE
,NEUTRAL
,MIXED
, orNEGATIVE
). - detect_sentiment(Client, Input, Options)
-
detect_syntax(Client, Input)
Inspects text for syntax and the part of speech of words in the document.
- detect_syntax(Client, Input, Options)
-
list_document_classification_jobs(Client, Input)
Gets a list of the documentation classification jobs that you have submitted.
- list_document_classification_jobs(Client, Input, Options)
-
list_document_classifiers(Client, Input)
Gets a list of the document classifiers that you have created.
- list_document_classifiers(Client, Input, Options)
-
list_dominant_language_detection_jobs(Client, Input)
Gets a list of the dominant language detection jobs that you have submitted.
- list_dominant_language_detection_jobs(Client, Input, Options)
-
list_endpoints(Client, Input)
Gets a list of all existing endpoints that you've created.
- list_endpoints(Client, Input, Options)
-
list_entities_detection_jobs(Client, Input)
Gets a list of the entity detection jobs that you have submitted.
- list_entities_detection_jobs(Client, Input, Options)
-
list_entity_recognizers(Client, Input)
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training.
- list_entity_recognizers(Client, Input, Options)
-
list_events_detection_jobs(Client, Input)
Gets a list of the events detection jobs that you have submitted.
- list_events_detection_jobs(Client, Input, Options)
-
list_key_phrases_detection_jobs(Client, Input)
Get a list of key phrase detection jobs that you have submitted.
- list_key_phrases_detection_jobs(Client, Input, Options)
-
list_pii_entities_detection_jobs(Client, Input)
Gets a list of the PII entity detection jobs that you have submitted.
- list_pii_entities_detection_jobs(Client, Input, Options)
-
list_sentiment_detection_jobs(Client, Input)
Gets a list of sentiment detection jobs that you have submitted.
- list_sentiment_detection_jobs(Client, Input, Options)
-
list_tags_for_resource(Client, Input)
Lists all tags associated with a given Amazon Comprehend resource.
- list_tags_for_resource(Client, Input, Options)
-
list_topics_detection_jobs(Client, Input)
Gets a list of the topic detection jobs that you have submitted.
- list_topics_detection_jobs(Client, Input, Options)
-
start_document_classification_job(Client, Input)
Starts an asynchronous document classification job.
- start_document_classification_job(Client, Input, Options)
-
start_dominant_language_detection_job(Client, Input)
Starts an asynchronous dominant language detection job for a collection of documents.
- start_dominant_language_detection_job(Client, Input, Options)
-
start_entities_detection_job(Client, Input)
Starts an asynchronous entity detection job for a collection of documents.
- start_entities_detection_job(Client, Input, Options)
-
start_events_detection_job(Client, Input)
Starts an asynchronous event detection job for a collection of documents.
- start_events_detection_job(Client, Input, Options)
-
start_key_phrases_detection_job(Client, Input)
Starts an asynchronous key phrase detection job for a collection of documents.
- start_key_phrases_detection_job(Client, Input, Options)
-
start_pii_entities_detection_job(Client, Input)
Starts an asynchronous PII entity detection job for a collection of documents.
- start_pii_entities_detection_job(Client, Input, Options)
-
start_sentiment_detection_job(Client, Input)
Starts an asynchronous sentiment detection job for a collection of documents.
- start_sentiment_detection_job(Client, Input, Options)
-
start_topics_detection_job(Client, Input)
Starts an asynchronous topic detection job.
- start_topics_detection_job(Client, Input, Options)
-
stop_dominant_language_detection_job(Client, Input)
Stops a dominant language detection job in progress.
- stop_dominant_language_detection_job(Client, Input, Options)
-
stop_entities_detection_job(Client, Input)
Stops an entities detection job in progress.
- stop_entities_detection_job(Client, Input, Options)
-
stop_events_detection_job(Client, Input)
Stops an events detection job in progress.
- stop_events_detection_job(Client, Input, Options)
-
stop_key_phrases_detection_job(Client, Input)
Stops a key phrases detection job in progress.
- stop_key_phrases_detection_job(Client, Input, Options)
-
stop_pii_entities_detection_job(Client, Input)
Stops a PII entities detection job in progress.
- stop_pii_entities_detection_job(Client, Input, Options)
-
stop_sentiment_detection_job(Client, Input)
Stops a sentiment detection job in progress.
- stop_sentiment_detection_job(Client, Input, Options)
-
stop_training_document_classifier(Client, Input)
Stops a document classifier training job while in progress.
- stop_training_document_classifier(Client, Input, Options)
-
stop_training_entity_recognizer(Client, Input)
Stops an entity recognizer training job while in progress.
- stop_training_entity_recognizer(Client, Input, Options)
-
tag_resource(Client, Input)
Associates a specific tag with an Amazon Comprehend resource.
- tag_resource(Client, Input, Options)
-
untag_resource(Client, Input)
Removes a specific tag associated with an Amazon Comprehend resource.
- untag_resource(Client, Input, Options)
-
update_endpoint(Client, Input)
Updates information about the specified endpoint.
- update_endpoint(Client, Input, Options)
Functions
batch_detect_dominant_language(Client, Input)
Determines the dominant language of the input text for a batch of documents.
For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.batch_detect_dominant_language(Client, Input, Options)
batch_detect_entities(Client, Input)
Inspects the text of a batch of documents for named entities and returns information about them.
For more information about named entities, seehow-entities
batch_detect_entities(Client, Input, Options)
batch_detect_key_phrases(Client, Input)
Detects the key noun phrases found in a batch of documents.
batch_detect_key_phrases(Client, Input, Options)
batch_detect_sentiment(Client, Input)
Inspects a batch of documents and returns an inference of the
prevailing sentiment, POSITIVE
, NEUTRAL
, MIXED
, or NEGATIVE
, in
each one.
batch_detect_sentiment(Client, Input, Options)
batch_detect_syntax(Client, Input)
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them.
For more information, seehow-syntax
.
batch_detect_syntax(Client, Input, Options)
classify_document(Client, Input)
Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.
classify_document(Client, Input, Options)
create_document_classifier(Client, Input)
Creates a new document classifier that you can use to categorize documents.
To create a classifier, you provide a set of training documents that labeled with the categories that you want to use. After the classifier is trained you can use it to categorize a set of labeled documents into the categories. For more information, seehow-document-classification
.
create_document_classifier(Client, Input, Options)
create_endpoint(Client, Input)
Creates a model-specific endpoint for synchronous inference for a previously trained custom model
create_endpoint(Client, Input, Options)
create_entity_recognizer(Client, Input)
Creates an entity recognizer using submitted files.
After yourCreateEntityRecognizer
request is submitted, you can check
job status using the API.
create_entity_recognizer(Client, Input, Options)
delete_document_classifier(Client, Input)
Deletes a previously created document classifier
Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted.
If an active inference job is using the model, a ResourceInUseException
will be returned.
delete_document_classifier(Client, Input, Options)
delete_endpoint(Client, Input)
Deletes a model-specific endpoint for a previously-trained custom model.
All endpoints must be deleted in order for the model to be deleted.delete_endpoint(Client, Input, Options)
delete_entity_recognizer(Client, Input)
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED)
will be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.
delete_entity_recognizer(Client, Input, Options)
describe_document_classification_job(Client, Input)
Gets the properties associated with a document classification job.
Use this operation to get the status of a classification job.describe_document_classification_job(Client, Input, Options)
describe_document_classifier(Client, Input)
Gets the properties associated with a document classifier.
describe_document_classifier(Client, Input, Options)
describe_dominant_language_detection_job(Client, Input)
Gets the properties associated with a dominant language detection job.
Use this operation to get the status of a detection job.describe_dominant_language_detection_job(Client, Input, Options)
describe_endpoint(Client, Input)
Gets the properties associated with a specific endpoint.
Use this operation to get the status of an endpoint.describe_endpoint(Client, Input, Options)
describe_entities_detection_job(Client, Input)
Gets the properties associated with an entities detection job.
Use this operation to get the status of a detection job.describe_entities_detection_job(Client, Input, Options)
describe_entity_recognizer(Client, Input)
Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.
describe_entity_recognizer(Client, Input, Options)
describe_events_detection_job(Client, Input)
Gets the status and details of an events detection job.
describe_events_detection_job(Client, Input, Options)
describe_key_phrases_detection_job(Client, Input)
Gets the properties associated with a key phrases detection job.
Use this operation to get the status of a detection job.describe_key_phrases_detection_job(Client, Input, Options)
describe_pii_entities_detection_job(Client, Input)
Gets the properties associated with a PII entities detection job.
For example, you can use this operation to get the job status.describe_pii_entities_detection_job(Client, Input, Options)
describe_sentiment_detection_job(Client, Input)
Gets the properties associated with a sentiment detection job.
Use this operation to get the status of a detection job.describe_sentiment_detection_job(Client, Input, Options)
describe_topics_detection_job(Client, Input)
Gets the properties associated with a topic detection job.
Use this operation to get the status of a detection job.describe_topics_detection_job(Client, Input, Options)
detect_dominant_language(Client, Input)
Determines the dominant language of the input text.
For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.detect_dominant_language(Client, Input, Options)
detect_entities(Client, Input)
Inspects text for named entities, and returns information about them.
For more information, about named entities, seehow-entities
.
detect_entities(Client, Input, Options)
detect_key_phrases(Client, Input)
Detects the key noun phrases found in the text.
detect_key_phrases(Client, Input, Options)
detect_pii_entities(Client, Input)
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
detect_pii_entities(Client, Input, Options)
detect_sentiment(Client, Input)
Inspects text and returns an inference of the prevailing sentiment
(POSITIVE
, NEUTRAL
, MIXED
, or NEGATIVE
).
detect_sentiment(Client, Input, Options)
detect_syntax(Client, Input)
Inspects text for syntax and the part of speech of words in the document.
For more information,how-syntax
.
detect_syntax(Client, Input, Options)
list_document_classification_jobs(Client, Input)
Gets a list of the documentation classification jobs that you have submitted.
list_document_classification_jobs(Client, Input, Options)
list_document_classifiers(Client, Input)
Gets a list of the document classifiers that you have created.
list_document_classifiers(Client, Input, Options)
list_dominant_language_detection_jobs(Client, Input)
Gets a list of the dominant language detection jobs that you have submitted.
list_dominant_language_detection_jobs(Client, Input, Options)
list_endpoints(Client, Input)
Gets a list of all existing endpoints that you've created.
list_endpoints(Client, Input, Options)
list_entities_detection_jobs(Client, Input)
Gets a list of the entity detection jobs that you have submitted.
list_entities_detection_jobs(Client, Input, Options)
list_entity_recognizers(Client, Input)
Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training.
Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list.
The results of this list are not in any particular order. Please get the list and sort locally if needed.list_entity_recognizers(Client, Input, Options)
list_events_detection_jobs(Client, Input)
Gets a list of the events detection jobs that you have submitted.
list_events_detection_jobs(Client, Input, Options)
list_key_phrases_detection_jobs(Client, Input)
Get a list of key phrase detection jobs that you have submitted.
list_key_phrases_detection_jobs(Client, Input, Options)
list_pii_entities_detection_jobs(Client, Input)
Gets a list of the PII entity detection jobs that you have submitted.
list_pii_entities_detection_jobs(Client, Input, Options)
list_sentiment_detection_jobs(Client, Input)
Gets a list of sentiment detection jobs that you have submitted.
list_sentiment_detection_jobs(Client, Input, Options)
list_tags_for_resource(Client, Input)
Lists all tags associated with a given Amazon Comprehend resource.
list_tags_for_resource(Client, Input, Options)
list_topics_detection_jobs(Client, Input)
Gets a list of the topic detection jobs that you have submitted.
list_topics_detection_jobs(Client, Input, Options)
start_document_classification_job(Client, Input)
Starts an asynchronous document classification job.
Use the operation to track the progress of the job.start_document_classification_job(Client, Input, Options)
start_dominant_language_detection_job(Client, Input)
Starts an asynchronous dominant language detection job for a collection of documents.
Use the operation to track the status of a job.start_dominant_language_detection_job(Client, Input, Options)
start_entities_detection_job(Client, Input)
Starts an asynchronous entity detection job for a collection of documents.
Use the operation to track the status of a job.
This API can be used for either standard entity detection or custom entity recognition. In order to be used for custom entity recognition, the optionalEntityRecognizerArn
must be used in order to provide access to
the recognizer being used to detect the custom entity.
start_entities_detection_job(Client, Input, Options)
start_events_detection_job(Client, Input)
Starts an asynchronous event detection job for a collection of documents.
start_events_detection_job(Client, Input, Options)
start_key_phrases_detection_job(Client, Input)
Starts an asynchronous key phrase detection job for a collection of documents.
Use the operation to track the status of a job.start_key_phrases_detection_job(Client, Input, Options)
start_pii_entities_detection_job(Client, Input)
Starts an asynchronous PII entity detection job for a collection of documents.
start_pii_entities_detection_job(Client, Input, Options)
start_sentiment_detection_job(Client, Input)
Starts an asynchronous sentiment detection job for a collection of documents.
use the operation to track the status of a job.start_sentiment_detection_job(Client, Input, Options)
start_topics_detection_job(Client, Input)
Starts an asynchronous topic detection job.
Use theDescribeTopicDetectionJob
operation to track the status of a
job.
start_topics_detection_job(Client, Input, Options)
stop_dominant_language_detection_job(Client, Input)
Stops a dominant language detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and
put into the STOP_REQUESTED
state. If the job completes before it can be
stopped, it is put into the COMPLETED
state; otherwise the job is
stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400
Internal Request Exception.
stop_dominant_language_detection_job(Client, Input, Options)
stop_entities_detection_job(Client, Input)
Stops an entities detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and
put into the STOP_REQUESTED
state. If the job completes before it can be
stopped, it is put into the COMPLETED
state; otherwise the job is
stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400
Internal Request Exception.
stop_entities_detection_job(Client, Input, Options)
stop_events_detection_job(Client, Input)
Stops an events detection job in progress.
stop_events_detection_job(Client, Input, Options)
stop_key_phrases_detection_job(Client, Input)
Stops a key phrases detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and
put into the STOP_REQUESTED
state. If the job completes before it can be
stopped, it is put into the COMPLETED
state; otherwise the job is
stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400
Internal Request Exception.
stop_key_phrases_detection_job(Client, Input, Options)
stop_pii_entities_detection_job(Client, Input)
Stops a PII entities detection job in progress.
stop_pii_entities_detection_job(Client, Input, Options)
stop_sentiment_detection_job(Client, Input)
Stops a sentiment detection job in progress.
If the job state is IN_PROGRESS
the job is marked for termination and
put into the STOP_REQUESTED
state. If the job completes before it can be
stopped, it is put into the COMPLETED
state; otherwise the job is be
stopped and put into the STOPPED
state.
If the job is in the COMPLETED
or FAILED
state when you call the
StopDominantLanguageDetectionJob
operation, the operation returns a 400
Internal Request Exception.
stop_sentiment_detection_job(Client, Input, Options)
stop_training_document_classifier(Client, Input)
Stops a document classifier training job while in progress.
If the training job state isTRAINING
, the job is marked for termination
and put into the STOP_REQUESTED
state. If the training job completes
before it can be stopped, it is put into the TRAINED
; otherwise the
training job is stopped and put into the STOPPED
state and the service
sends back an HTTP 200 response with an empty HTTP body.
stop_training_document_classifier(Client, Input, Options)
stop_training_entity_recognizer(Client, Input)
Stops an entity recognizer training job while in progress.
If the training job state isTRAINING
, the job is marked for termination
and put into the STOP_REQUESTED
state. If the training job completes
before it can be stopped, it is put into the TRAINED
; otherwise the
training job is stopped and putted into the STOPPED
state and the
service sends back an HTTP 200 response with an empty HTTP body.
stop_training_entity_recognizer(Client, Input, Options)
tag_resource(Client, Input)
Associates a specific tag with an Amazon Comprehend resource.
A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.tag_resource(Client, Input, Options)
untag_resource(Client, Input)
Removes a specific tag associated with an Amazon Comprehend resource.
untag_resource(Client, Input, Options)
update_endpoint(Client, Input)
Updates information about the specified endpoint.