Code Monkey home page Code Monkey logo

automated-language-analysis's Introduction

automated-language-analysis

This repository contains a CDK project that deploys a fully automated language analysis pipeline.

In this page

Analysis deep dive

The application performs a language analysis of the loaded documents divided into the following categories:

Foreign words

This part of the analysis calculates:

  • Rate of use of foreign words
  • Most frequently occurring foreign words

Lexical richness

This one is calculated in base of different parameters:

Variability

  • TTR: text-to-word ratio: ratio of distinct words in a document to the total number of words in a document.
  • MLTD: measurement of textual lexical diversity.

Volume

  • Amount of words in each document
  • Most repeated nouns, adjectives, adverbs and verbs.

Errors

The following type of errors are calculated:

  • Typographical / punctuation
  • Grammatical
  • Writing style
  • Inconsistency
  • Spelling

Use cases

Depending on your needs and use case, there are two variants of the application that you can deploy: the first one indexes documents in Amazon OpenSearch service to offer text-based search. The second bypasses Amazon OpenSearch service and makes use of Amazon QuickSight for displaying the results.

Select the variant that best suits your use case to view its documentation and deployment instructions.

Prerequisites

The application is deployed to your AWS account via AWS CDK, so you will need to install it in order to continue with the deployment. Execute the following command to install CDK:

npm install -g aws-cdk

You can read more about getting started with CDK by reading the AWS Cloud Development Kit developer guide.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

automated-language-analysis's People

Contributors

amazon-auto avatar bpguasch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

automated-language-analysis's Issues

Ability to delete ECR repositories from DataSourceAnalysisNestedStack

Upon $ cdk destroy, LanguageAnalysis-DataSourceAnalysisNestedStack results in DELETE_FAILED due to event:

The following resource(s) failed to delete: [ErrorsPipelineECRRepositoryXXXXXXXX, MetricsPipelineECRRepositoryYYYYYYYY].

Because they're resources created outside of CDK and therefore CDK does not have permission or capabilities to delete those.

Please consider using a AWS Lambda-backed custom resource to delete all un-deleted resources from main Stack, as a hotfix.

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.