Giter Site home page Giter Site logo

amazon-comprehend-job-runner's Introduction

Comprehend-JobRunner

You can use Amazon Comprehend to examine the content of a collection of documents to determine common themes. For example, you can give Amazon Comprehend a collection of news articles, and it will determine the subjects, such as sports, politics, or entertainment. The text in the documents doesn't need to be annotated.

You can also use it to detect Key phrases.

A key phrase is a string containing a noun phrase that describes a particular thing. It generally consists of a noun and the modifiers that distinguish it. For example, "day" is a noun; "a beautiful day" is a noun phrase that includes an article ("a") and an adjective ("beautiful"). Each key phrase includes a score that indicates the level of confidence that Amazon Comprehend has that the string is a noun phrase. You can use the score to determine if the detection has high enough confidence for your application.

Amazon Comprehend JobRunner processes files that are copied to S3 to find Topics and Keyphrases.

The process automatically throttles the number of concurrently running jobs based on your account's service quotas.

There are known limitations with using Lambda concurrency limits with SQS triggers. The Job Runner handles concurrency internally using AWS Step Functions. The state machines are invoked when an AWS CloudWatch Alarm detects messages in the corresponding queue.

ETL Diagram

Prerequisites:

Deployment

sam build --use-container
sam deploy --guided

Using the Job Runner within a larger project

When the processing is complete, the Lambdas keyphrase_detection_completed_job and topic_detection_complete_job are called. Here you can add your business specific login in the ProcessKeyPhrases and the ProcessTopics functions respectively.

For more information about Topic Modeling and Key phrase detection, read the following AWS Documenation:

amazon-comprehend-job-runner's People

Contributors

amazon-auto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.