Reference documentation and code samples for the Cloud Natural Language Client class Rest.
Implementation of the Google Natural Language JSON API .
Methods
__construct
Parameter
Name
Description
config
array
analyzeEntities
Parameter
Name
Description
args
array
Returns
Type
Description
array
analyzeSentiment
Parameter
Name
Description
args
array
Returns
Type
Description
array
analyzeEntitySentiment
Parameter
Name
Description
args
array
Returns
Type
Description
array
analyzeSyntax
Parameter
Name
Description
args
array
Returns
Type
Description
array
annotateText
Parameter
Name
Description
args
array
Returns
Type
Description
array
classifyText
Parameter
Name
Description
args
array
Returns
Type
Description
array
Constants
BASE_URI
Value: 'https://language.googleapis.com/'