Class DocumentsResource
The "documents" collection of methods.
Inheritance
System.Object
DocumentsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v1beta1
Assembly: Google.Apis.CloudNaturalLanguage.v1beta1.dll
Syntax
public class DocumentsResource
Constructors
DocumentsResource(IClientService)
Constructs a new resource.
Declaration
public DocumentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
AnalyzeEntities(AnalyzeEntitiesRequest)
Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.
Declaration
public virtual DocumentsResource.AnalyzeEntitiesRequest AnalyzeEntities(AnalyzeEntitiesRequest body)
Parameters
Type | Name | Description |
---|---|---|
AnalyzeEntitiesRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
DocumentsResource.AnalyzeEntitiesRequest |
AnalyzeSentiment(AnalyzeSentimentRequest)
Analyzes the sentiment of the provided text.
Declaration
public virtual DocumentsResource.AnalyzeSentimentRequest AnalyzeSentiment(AnalyzeSentimentRequest body)
Parameters
Type | Name | Description |
---|---|---|
AnalyzeSentimentRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
DocumentsResource.AnalyzeSentimentRequest |
AnalyzeSyntax(AnalyzeSyntaxRequest)
Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.
Declaration
public virtual DocumentsResource.AnalyzeSyntaxRequest AnalyzeSyntax(AnalyzeSyntaxRequest body)
Parameters
Type | Name | Description |
---|---|---|
AnalyzeSyntaxRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
DocumentsResource.AnalyzeSyntaxRequest |
AnnotateText(AnnotateTextRequest)
A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.
Declaration
public virtual DocumentsResource.AnnotateTextRequest AnnotateText(AnnotateTextRequest body)
Parameters
Type | Name | Description |
---|---|---|
AnnotateTextRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
DocumentsResource.AnnotateTextRequest |