class CloudNaturalLanguage extends Service (View source)

Service definition for CloudNaturalLanguage (v2).

Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.

For more information about this service, see the API Documentation

Constants

CLOUD_LANGUAGE

Apply machine learning models to reveal the structure and meaning of text.

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

Properties

$documents
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the CloudNaturalLanguage service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the CloudNaturalLanguage service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.