Sample Applications

Stay organized with collections Save and categorize content based on your preferences.

This page lists Cloud Natural Language API sample applications. We will be adding more samples to this page as they are created.

To walk through a sample, see installation requirements, and get detailed explanations of the code, see the Sentiment Analysis Tutorial.

Language examples

Python

These Python applications show you how to make different Cloud Natural Language API calls.

Documentation and Python Code

Java

This Java application shows you how to make a Cloud Natural Language API call to analyze sentiment, entities or syntax.

Documentation and Java Code

Node.js

This Node.js application shows you how to make a Cloud Natural Language API call to analyze sentiment, entities or syntax.

Documentation and Node.js Code

Go

This Go application shows you how to make a Cloud Natural Language API call to analyze sentiment, entities or syntax.

Documentation and Go Code

Mobile platform examples

Android

This Android application shows you how to make a Cloud Natural Language API call to analyze sentiment, entities, or syntax.

Documentation and Android Code

iOS

This iOS application shows you how to make a Cloud Natural Language API call to call to analyze sentiment, entities, or syntax.

Documentation and iOS Code

Other languages

For more information about using other languages, see the following references: