An open API service indexing awesome lists of open source software.

https://github.com/rishanthakumar/google-nlp-demo

Demonstration of Goole Cloud Natural Language API
https://github.com/rishanthakumar/google-nlp-demo

google-cloud-apis natural-language-processing

Last synced: 2 months ago
JSON representation

Demonstration of Goole Cloud Natural Language API

Awesome Lists containing this project

README

          

# Demonstration of Google Cloud Natural Language API

Google Cloud Natural Language API provides natural language
understanding technologies to developers, including sentiment analysis, entity
recognition, and syntax analysis. This API is part of the larger collection of
Cloud Machine Learning APIs.

These sample Java applications demonstrate how to access the Cloud Natural
Language API.

## Quickstart

- Install [Maven](http://maven.apache.org/).
- Clone this project.
- Get the key json from Google.
- Save it in a json file ( ex: NLPFirstProject.json).
- Get the absolute path of the `NLPFirstProject.json` file, which is available in the project root folder.
- Set the environment variable as follows

```bash
export GOOGLE_APPLICATION_CREDENTIALS=/pathTo/NLPFirstProject.json
```

- Run the main method in the `Sample.java` file.