Cloud Natural Language API Client Library for Java

While this library is still supported, we suggest trying the newer Cloud Client Library for Cloud Natural Language, especially for new projects. See Cloud Natural Language Libraries for installation and usage details.

Cloud Natural Language API: Provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, entity sentiment analysis, and text annotations.

This page contains information about getting started with the Cloud Natural Language API using the Google API Client Library for Java. In addition, you may be interested in the following documentation:

Add Library to Your Project

Select your build environment (Maven or Gradle) from the following tabs, or download a zip file containing all of the jars you need:

Download

Download the Cloud Natural Language API v1beta2 Client Library for Java.

See the language/readme.html file for details on:

  • What the zip file contains.
  • Which dependent jars are needed for each application type (web, installed, or Android application).

The libs folder contains all the of the globally applicable dependencies you might need across all application types.