public virtual Task<AnalyzeEntitiesResponse> AnalyzeEntities(AnalyzeEntitiesRequest request, ServerCallContext context)
Finds named entities (currently proper names and common nouns) in the text
along with entity types, salience, mentions for each entity, and
other properties.
public virtual Task<AnalyzeEntitySentimentResponse> AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest request, ServerCallContext context)
Finds entities, similar to
[AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities]
in the text and analyzes sentiment associated with each entity and its
mentions.
public virtual Task<AnalyzeSyntaxResponse> AnalyzeSyntax(AnalyzeSyntaxRequest request, ServerCallContext context)
Analyzes the syntax of the text and provides sentence boundaries and
tokenization along with part of speech tags, dependency trees, and other
properties.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eLanguageService.LanguageServiceBase\u003c/code\u003e class within the Google Cloud Natural Language v1 API, which serves as the base for server-side implementations of the LanguageService.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports various text analysis methods, including \u003ccode\u003eAnalyzeEntities\u003c/code\u003e, \u003ccode\u003eAnalyzeEntitySentiment\u003c/code\u003e, \u003ccode\u003eAnalyzeSentiment\u003c/code\u003e, \u003ccode\u003eAnalyzeSyntax\u003c/code\u003e, \u003ccode\u003eAnnotateText\u003c/code\u003e, \u003ccode\u003eClassifyText\u003c/code\u003e, and \u003ccode\u003eModerateText\u003c/code\u003e, each allowing for deep analysis of the structure and meaning of the provided text.\u003c/p\u003e\n"],["\u003cp\u003eEach of these methods requires a specific request object (e.g., \u003ccode\u003eAnalyzeEntitiesRequest\u003c/code\u003e) and a \u003ccode\u003eServerCallContext\u003c/code\u003e and returns a task containing the corresponding response object (e.g., \u003ccode\u003eAnalyzeEntitiesResponse\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API available, ranging from 2.2.0 to the latest 3.7.0 version, each detailed on its respective page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLanguageService.LanguageServiceBase\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and includes standard inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Natural Language v1 API - Class LanguageService.LanguageServiceBase (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.6.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.5.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.4.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.3.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.2.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.1.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.0.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Language.V1/2.3.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Language.V1/2.2.0/Google.Cloud.Language.V1.LanguageService.LanguageServiceBase) \n\n [BindServiceMethod(typeof(LanguageService), \"BindService\")]\n public abstract class LanguageService.LanguageServiceBase\n\nReference documentation and code samples for the Google Cloud Natural Language v1 API class LanguageService.LanguageServiceBase.\n\nBase class for server-side implementations of LanguageService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LanguageService.LanguageServiceBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Language.V1](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Language.V1.dll\n\nMethods\n-------\n\n### AnalyzeEntities(AnalyzeEntitiesRequest, ServerCallContext)\n\n public virtual Task\u003cAnalyzeEntitiesResponse\u003e AnalyzeEntities(AnalyzeEntitiesRequest request, ServerCallContext context)\n\nFinds named entities (currently proper names and common nouns) in the text\nalong with entity types, salience, mentions for each entity, and\nother properties.\n\n### AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest, ServerCallContext)\n\n public virtual Task\u003cAnalyzeEntitySentimentResponse\u003e AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest request, ServerCallContext context)\n\nFinds entities, similar to\n\\[AnalyzeEntities\\]\\[google.cloud.language.v1.LanguageService.AnalyzeEntities\\]\nin the text and analyzes sentiment associated with each entity and its\nmentions.\n\n### AnalyzeSentiment(AnalyzeSentimentRequest, ServerCallContext)\n\n public virtual Task\u003cAnalyzeSentimentResponse\u003e AnalyzeSentiment(AnalyzeSentimentRequest request, ServerCallContext context)\n\nAnalyzes the sentiment of the provided text.\n\n### AnalyzeSyntax(AnalyzeSyntaxRequest, ServerCallContext)\n\n public virtual Task\u003cAnalyzeSyntaxResponse\u003e AnalyzeSyntax(AnalyzeSyntaxRequest request, ServerCallContext context)\n\nAnalyzes the syntax of the text and provides sentence boundaries and\ntokenization along with part of speech tags, dependency trees, and other\nproperties.\n\n### AnnotateText(AnnotateTextRequest, ServerCallContext)\n\n public virtual Task\u003cAnnotateTextResponse\u003e AnnotateText(AnnotateTextRequest request, ServerCallContext context)\n\nA convenience method that provides all the features that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in one call.\n\n### ClassifyText(ClassifyTextRequest, ServerCallContext)\n\n public virtual Task\u003cClassifyTextResponse\u003e ClassifyText(ClassifyTextRequest request, ServerCallContext context)\n\nClassifies a document into categories.\n\n### ModerateText(ModerateTextRequest, ServerCallContext)\n\n public virtual Task\u003cModerateTextResponse\u003e ModerateText(ModerateTextRequest request, ServerCallContext context)\n\nModerates a document for harmful and sensitive categories."]]