The entity analysis request message.
The entity analysis response message.
The entity-level sentiment analysis request message.
The entity-level sentiment analysis response message.
The sentiment analysis request message.
The sentiment analysis response message.
The syntax analysis request message.
The syntax analysis response message.
The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
Container for nested types declared in the AnnotateTextRequest message type.
All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.
The text annotations response message.
Represents a category returned from the text classifier.
The document classification request message.
The document classification response message.
Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017
Container for nested types declared in the DependencyEdge message type.
Represents the input to API methods.
Container for nested types declared in the Document message type.
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.
Container for nested types declared in the Entity message type.
Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
Container for nested types declared in the EntityMention message type.
Provides text analysis operations such as sentiment analysis and entity recognition.
Base class for server-side implementations of LanguageService
Client for LanguageService
LanguageService client wrapper, for convenient use.
Builder class for LanguageServiceClient to provide simple configuration of credentials, endpoint etc.
LanguageService client wrapper implementation, for convenient use.
Settings for LanguageServiceClient instances.
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
Container for nested types declared in the PartOfSpeech message type.
Represents a sentence in the input document.
Represents the feeling associated with the entire text or entities in the text.
Represents an output piece of text.
Represents the smallest syntactic building block of the text.
The parse label enum for the token.
Enum of possible cases for the "source" oneof.
The document types enum.
Represents the text encoding that the caller uses to process the output.
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
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
The supported types of mentions.
The characteristic of a verb that expresses time flow during an event.
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.
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
Gender classes of nouns reflected in the behaviour of associated words.
The grammatical feature of verbs, used for showing modality and attitude.
The distinction between the speaker, second person, third person, etc.
This category shows if the token is part of a proper name.
Reciprocal features of a pronoun.
The part of speech tags enum.
The relationship between the action that a verb expresses and the participants identified by its arguments.