Classes
AnalyzeEntitiesRequest
The entity analysis request message.
AnalyzeEntitiesResponse
The entity analysis response message.
AnalyzeEntitySentimentRequest
The entity-level sentiment analysis request message.
AnalyzeEntitySentimentResponse
The entity-level sentiment analysis response message.
AnalyzeSentimentRequest
The sentiment analysis request message.
AnalyzeSentimentResponse
The sentiment analysis response message.
AnalyzeSyntaxRequest
The syntax analysis request message.
AnalyzeSyntaxResponse
The syntax analysis response message.
AnnotateTextRequest
The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
AnnotateTextRequest.Types
Container for nested types declared in the AnnotateTextRequest message type.
AnnotateTextRequest.Types.Features
All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.
AnnotateTextResponse
The text annotations response message.
ClassificationCategory
Represents a category returned from the text classifier.
ClassificationModelOptions
Model options available for classification requests.
ClassificationModelOptions.Types
Container for nested types declared in the ClassificationModelOptions message type.
ClassificationModelOptions.Types.V1Model
Options for the V1 model.
ClassificationModelOptions.Types.V2Model
Options for the V2 model.
ClassificationModelOptions.Types.V2Model.Types
Container for nested types declared in the V2Model message type.
ClassifyTextRequest
The document classification request message.
ClassifyTextResponse
The document classification response message.
DependencyEdge
Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017
DependencyEdge.Types
Container for nested types declared in the DependencyEdge message type.
Document
Represents the input to API methods.
Document.Types
Container for nested types declared in the Document message type.
Entity
Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities.
Entity.Types
Container for nested types declared in the Entity message type.
EntityMention
Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
EntityMention.Types
Container for nested types declared in the EntityMention message type.
LanguageService
Provides text analysis operations such as sentiment analysis and entity recognition.
LanguageService.LanguageServiceBase
Base class for server-side implementations of LanguageService
LanguageService.LanguageServiceClient
Client for LanguageService
LanguageServiceClient
LanguageService client wrapper, for convenient use.
LanguageServiceClientBuilder
Builder class for LanguageServiceClient to provide simple configuration of credentials, endpoint etc.
LanguageServiceClientImpl
LanguageService client wrapper implementation, for convenient use.
LanguageServiceSettings
Settings for LanguageServiceClient instances.
PartOfSpeech
Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
PartOfSpeech.Types
Container for nested types declared in the PartOfSpeech message type.
Sentence
Represents a sentence in the input document.
Sentiment
Represents the feeling associated with the entire text or entities in the text.
TextSpan
Represents an output piece of text.
Token
Represents the smallest syntactic building block of the text.
Enums
ClassificationModelOptions.ModelTypeOneofCase
Enum of possible cases for the "model_type" oneof.
ClassificationModelOptions.Types.V2Model.Types.ContentCategoriesVersion
The content categories used for classification.
DependencyEdge.Types.Label
The parse label enum for the token.
Document.SourceOneofCase
Enum of possible cases for the "source" oneof.
Document.Types.Type
The document types enum.
EncodingType
Represents the text encoding that the caller uses to process the output.
Providing an EncodingType
is recommended because the API provides the
beginning offsets for various outputs, such as tokens and mentions, and
languages that natively use different text encodings may access offsets
differently.
Entity.Types.Type
The type of the entity. For most entity types, the associated metadata is a
Wikipedia URL (wikipedia_url
) and Knowledge Graph MID (mid
). The table
below lists the associated fields for entities that have different
metadata.
EntityMention.Types.Type
The supported types of mentions.
PartOfSpeech.Types.Aspect
The characteristic of a verb that expresses time flow during an event.
PartOfSpeech.Types.Case
The grammatical function performed by a noun or pronoun in a phrase, clause, or sentence. In some languages, other parts of speech, such as adjective and determiner, take case inflection in agreement with the noun.
PartOfSpeech.Types.Form
Depending on the language, Form can be categorizing different forms of verbs, adjectives, adverbs, etc. For example, categorizing inflected endings of verbs and adjectives or distinguishing between short and long forms of adjectives and participles
PartOfSpeech.Types.Gender
Gender classes of nouns reflected in the behaviour of associated words.
PartOfSpeech.Types.Mood
The grammatical feature of verbs, used for showing modality and attitude.
PartOfSpeech.Types.Number
Count distinctions.
PartOfSpeech.Types.Person
The distinction between the speaker, second person, third person, etc.
PartOfSpeech.Types.Proper
This category shows if the token is part of a proper name.
PartOfSpeech.Types.Reciprocity
Reciprocal features of a pronoun.
PartOfSpeech.Types.Tag
The part of speech tags enum.
PartOfSpeech.Types.Tense
Time reference.
PartOfSpeech.Types.Voice
The relationship between the action that a verb expresses and the participants identified by its arguments.