public class CloudNaturalLanguage.Documents extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudNaturalLanguage.Documents.AnalyzeEntities |
class |
CloudNaturalLanguage.Documents.AnalyzeSentiment |
class |
CloudNaturalLanguage.Documents.AnnotateText |
class |
CloudNaturalLanguage.Documents.ClassifyText |
class |
CloudNaturalLanguage.Documents.ModerateText |
Constructor and Description |
---|
Documents() |
Modifier and Type | Method and Description |
---|---|
CloudNaturalLanguage.Documents.AnalyzeEntities |
analyzeEntities(AnalyzeEntitiesRequest content)
Finds named entities (currently proper names and common nouns) in the text along with entity
types, probability, mentions for each entity, and other properties.
|
CloudNaturalLanguage.Documents.AnalyzeSentiment |
analyzeSentiment(AnalyzeSentimentRequest content)
Analyzes the sentiment of the provided text.
|
CloudNaturalLanguage.Documents.AnnotateText |
annotateText(AnnotateTextRequest content)
A convenience method that provides all features in one call.
|
CloudNaturalLanguage.Documents.ClassifyText |
classifyText(ClassifyTextRequest content)
Classifies a document into categories.
|
CloudNaturalLanguage.Documents.ModerateText |
moderateText(ModerateTextRequest content)
Moderates a document for harmful and sensitive categories.
|
public CloudNaturalLanguage.Documents.AnalyzeEntities analyzeEntities(AnalyzeEntitiesRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the AnalyzeEntitiesRequest
IOException
public CloudNaturalLanguage.Documents.AnalyzeSentiment analyzeSentiment(AnalyzeSentimentRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the AnalyzeSentimentRequest
IOException
public CloudNaturalLanguage.Documents.AnnotateText annotateText(AnnotateTextRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the AnnotateTextRequest
IOException
public CloudNaturalLanguage.Documents.ClassifyText classifyText(ClassifyTextRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the ClassifyTextRequest
IOException
public CloudNaturalLanguage.Documents.ModerateText moderateText(ModerateTextRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the ModerateTextRequest
IOException
Copyright © 2011–2025 Google. All rights reserved.