Skip to content

stevengregory/watson-translator-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watson Translator with Node

An experiment with the IBM Watson Language Translator service using Node. This simple app uses the Language Translator to perform intelligent language translation; simply enter a message into the prompt to activate Watson.

Demo

The language model is set for English to Japanese, but can be changed in the config.js file.

Requirements

  1. Sign up for an IBM Cloud account or simply log in.

  2. Create a Language Translator service.

  3. Get the API key (will be used later in .env config).

Getting Started

  1. Clone this repository.

    git clone https://github.com/stevengregory/watson-translator-node.git
    cd watson-translator-node
  2. Configure the environment settings.

    Create a .env file and place it in the root of the project directory.

    touch .env

    Add the API key from your IBM Watson service.

    API_KEY=your_api_key
  3. Install the npm packages.

    npm install
  4. Run the app!

    npm start

About

IBM Watson Language Translator experiment with Node

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published