Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

Google Cloud Natural Language API Samples

Open in Cloud Shell

These samples demonstrate the use of the Google Cloud Natural Language API.

Prerequisites

Download Maven

This sample uses the Apache Maven build system. Before getting started, be sure to download and install it. When you use Maven as described here, it will automatically download the needed client libraries.

Set Up to Authenticate With Your Project's Credentials

Please follow the Set Up Your Project steps in the Quickstart doc to create a project and enable the Cloud Natural Language API. Following those steps, make sure that you Set Up a Service Account, and export the following environment variable:

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your-project-credentials.json

Samples

  • Analyze is a command line tool to show case the features of the API.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.