Cloud Natural Language Client - Class Rest (0.29.0)

Reference documentation and code samples for the Cloud Natural Language Client class Rest.

Implementation of the Google Natural Language JSON API.

Methods

__construct

Parameter
NameDescription
config array

analyzeEntities

Parameter
NameDescription
args array
Returns
TypeDescription
array

analyzeSentiment

Parameter
NameDescription
args array
Returns
TypeDescription
array

analyzeEntitySentiment

Parameter
NameDescription
args array
Returns
TypeDescription
array

analyzeSyntax

Parameter
NameDescription
args array
Returns
TypeDescription
array

annotateText

Parameter
NameDescription
args array
Returns
TypeDescription
array

classifyText

Parameter
NameDescription
args array
Returns
TypeDescription
array

Constants

BASE_URI

Value: 'https://language.googleapis.com/'