All Projects β†’ watson-developer-cloud β†’ Natural Language Understanding Nodejs

watson-developer-cloud / Natural Language Understanding Nodejs

Licence: apache-2.0
πŸ†• Demo code for the Natural Language Understanding Service.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Natural Language Understanding Nodejs

Blocks
Blocks World -- Simulator, Code, and Models (Misra et al. EMNLP 2017)
Stars: ✭ 39 (-66.95%)
Mutual labels:  natural-language-understanding
Dialogue Understanding
This repository contains PyTorch implementation for the baseline models from the paper Utterance-level Dialogue Understanding: An Empirical Study
Stars: ✭ 77 (-34.75%)
Mutual labels:  natural-language-understanding
Easy Bert
A Dead Simple BERT API for Python and Java (https://github.com/google-research/bert)
Stars: ✭ 106 (-10.17%)
Mutual labels:  natural-language-understanding
Convai Baseline
ConvAI baseline solution
Stars: ✭ 49 (-58.47%)
Mutual labels:  natural-language-understanding
Intent classifier
Stars: ✭ 67 (-43.22%)
Mutual labels:  natural-language-understanding
Spark Nlp Models
Models and Pipelines for the Spark NLP library
Stars: ✭ 88 (-25.42%)
Mutual labels:  natural-language-understanding
Reading comprehension tf
Machine Reading Comprehension in Tensorflow
Stars: ✭ 37 (-68.64%)
Mutual labels:  natural-language-understanding
Xlnet extension tf
XLNet Extension in TensorFlow
Stars: ✭ 109 (-7.63%)
Mutual labels:  natural-language-understanding
Mt Dnn
Multi-Task Deep Neural Networks for Natural Language Understanding
Stars: ✭ 72 (-38.98%)
Mutual labels:  natural-language-understanding
Spokestack Python
Spokestack is a library that allows a user to easily incorporate a voice interface into any Python application.
Stars: ✭ 103 (-12.71%)
Mutual labels:  natural-language-understanding
Python Tutorial Notebooks
Python tutorials as Jupyter Notebooks for NLP, ML, AI
Stars: ✭ 52 (-55.93%)
Mutual labels:  natural-language-understanding
Bidaf Keras
Bidirectional Attention Flow for Machine Comprehension implemented in Keras 2
Stars: ✭ 60 (-49.15%)
Mutual labels:  natural-language-understanding
Bert As Service
Mapping a variable-length sentence to a fixed-length vector using BERT model
Stars: ✭ 9,779 (+8187.29%)
Mutual labels:  natural-language-understanding
Ludwig
Data-centric declarative deep learning framework
Stars: ✭ 8,018 (+6694.92%)
Mutual labels:  natural-language-understanding
Chatbot
Русскоязычный Ρ‡Π°Ρ‚Π±ΠΎΡ‚
Stars: ✭ 106 (-10.17%)
Mutual labels:  natural-language-understanding
Coursera Natural Language Processing Specialization
Programming assignments from all courses in the Coursera Natural Language Processing Specialization offered by deeplearning.ai.
Stars: ✭ 39 (-66.95%)
Mutual labels:  natural-language-understanding
Awesome Vln
A curated list of research papers in Vision-Language Navigation (VLN)
Stars: ✭ 86 (-27.12%)
Mutual labels:  natural-language-understanding
Deep Nlp Seminars
Materials for deep NLP course
Stars: ✭ 113 (-4.24%)
Mutual labels:  natural-language-understanding
Transformers
πŸ€— Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
Stars: ✭ 55,742 (+47138.98%)
Mutual labels:  natural-language-understanding
Chinese nlu by using rasa nlu
使用 RASA NLU ζ₯ζž„ε»ΊδΈ­ζ–‡θ‡ͺη„Άθ―­θ¨€η†θ§£η³»η»ŸοΌˆNLUοΌ‰| Use RASA NLU to build a Chinese Natural Language Understanding System (NLU)
Stars: ✭ 99 (-16.1%)
Mutual labels:  natural-language-understanding

πŸš€ Natural Language Understanding Sample Application

This Node.js app demonstrates some of the Natural Language Understanding service features.

Travis semantic-release

Natural Language Understanding is a collection of APIs that offer text analysis through natural language processing. This set of APIs can analyze text to help you understand its concepts, entities, keywords, sentiment, and more. Additionally, you can create a custom model for some APIs to get specific results that are tailored to your domain.

Demo

Prerequisites

  1. Sign up for an IBM Cloud account.
  2. Download the IBM Cloud CLI.
  3. Create an instance of the Natural Language Understanding service and get your credentials:
    • Go to the Natural Language Understanding page in the IBM Cloud Catalog.
    • Log in to your IBM Cloud account.
    • Click Create.
    • Click Show to view the service credentials.
    • Copy the apikey value.
    • Copy the url value.

Configuring the application

  1. In the application folder, copy the .env.example file and create a file called .env

    cp .env.example .env
    
  2. Open the .env file and add the service credentials that you obtained in the previous step.

    Example .env file that configures the apikey and url for a Natural Language Understanding service instance hosted in the US East region:

    NATURAL_LANGUAGE_UNDERSTANDING_IAM_APIKEY=X4rbi8vwZmKpXfowaS3GAsA7vdy17Qh7km5D6EzKLHL2
    NATURAL_LANGUAGE_UNDERSTANDING_URL=https://gateway-wdc.watsonplatform.net/natural-language-understanding/api
    

Running locally

  1. Install the dependencies

    npm install
    
  2. Run the application

    npm start
    
  3. View the application in a browser at localhost:3000

Deploying to IBM Cloud as a Cloud Foundry Application

  1. Login to IBM Cloud with the IBM Cloud CLI

    ibmcloud login
    
  2. Target a Cloud Foundry organization and space.

    ibmcloud target --cf
    
  3. Edit the manifest.yml file. Change the name field to something unique.
    For example, - name: my-app-name.

  4. Deploy the application

    ibmcloud app push
    
  5. View the application online at the app URL.
    For example: https://my-app-name.mybluemix.net

Directory structure

.
β”œβ”€β”€ app.js                      // express routes
β”œβ”€β”€ config                      // express configuration
β”‚   β”œβ”€β”€ express.js
β”‚   └── security.js
β”œβ”€β”€ manifest.yml
β”œβ”€β”€ package.json
β”œβ”€β”€ public                      // static resources
β”œβ”€β”€ server.js                   // entry point
β”œβ”€β”€ test                        // tests
└── views                       // react components

License

This sample code is licensed under Apache 2.0.
Full license text is available in LICENSE.

Contributing

See CONTRIBUTING.

Open Source @ IBM

Find more open source projects on the IBM Github Page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].