Git Product home page Git Product logo

ibm-cloud / code-engine-text-analysis Goto Github PK

View Code? Open in Web Editor NEW
6.0 9.0 10.0 802 KB

Text Analysis with Code Engine, Cloud Object Storage and Natural Language Understanding

Home Page: https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-text-analysis-code-engine

License: Apache License 2.0

Dockerfile 3.06% JavaScript 64.20% HTML 22.29% CSS 9.43% Shell 1.02%
code-engine cos serverless ibm-cloud-solutions ibm-cloud text-analysis natural-language-understanding natural-language-processing ibm-cloud-code-engine ibm-cloud-cr

code-engine-text-analysis's Introduction

Text analysis with Code Engine

Companion code sample to the Code Engine solution tutorial

Following the steps in the solution tutorial and using this code sample, you will learn about IBM Cloud™ Code Engine by deploying a text analysis with IBM Watson natural language understanding application.

You will create a Code Engine project, select the project and deploy Code Engine components - applications and jobs to the project. You will learn how to bind IBM Cloud services (Cloud Object Storage and Natural Language Understanding) to your Code Engine components. You will also understand the auto-scaling capability of Code Engine where instances are scaled up or down (to zero) based on incoming workload.

IBM Cloud™ Code Engine is a fully managed, serverless platform that runs your containerized workloads, including web apps, micro-services, event-driven functions, or batch jobs. Code Engine even builds container images for you from your source code. Because these workloads are all hosted within the same Kubernetes infrastructure, all of them can seamlessly work together. The Code Engine experience is designed so that you can focus on writing code and not on the infrastructure that is needed to host it.

Architecture

License

Check the License

code-engine-text-analysis's People

Contributors

data-henrik avatar dprosper avatar powellquiring avatar vidyasagarmsc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code-engine-text-analysis's Issues

Make /items and /analyzetext return JSON that can be used by a tool like jq

Calling these endpoints result in a JSON output that has a "data" attribute and a value that is another JSON with some data being encoded.

Is the encoded data the actual file content? We don't really need this to show up in the UI, only the title, the size and maybe the first X characters of the text should be enough.

What are these encoded data? and why not returning plain JSON that I can pass directly to jq?

Cannot read property 'accessKeyId' of null

When trying to set up the tutorial I get this backend error. Apparently, I am doing something wrong with my setup with cos.
Could you maybe provide a video or a more thorough tutorial with photos where to click?

NLU language identification

The job does not specified the language in which the text will be provided for the user through the UI, resulting in a "Bad Request: unsupported text language: unknown". I could fix it adding the 'language':'en' in the analyzeParams of the getItem function. However, this prevents the tutorial to be practicable for a non English text file.

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.