package google.cloud.language.v1beta2

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service LanguageService

language_service.proto:32

Provides text analysis operations such as sentiment analysis and entity recognition.

message AnnotateTextRequest.Features

language_service.proto:1077

All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. Next ID: 10

Used in: AnnotateTextRequest

message ClassificationCategory

language_service.proto:962

Represents a category returned from the text classifier.

Used in: AnnotateTextResponse, ClassifyTextResponse

message DependencyEdge

language_service.proto:659

Represents dependency parse tree information for a token.

Used in: Token

enum DependencyEdge.Label

language_service.proto:661

The parse label enum for the token.

Used in: DependencyEdge

message Document

language_service.proto:107

################################################################ # Represents the input to API methods.

Used in: AnalyzeEntitiesRequest, AnalyzeEntitySentimentRequest, AnalyzeSentimentRequest, AnalyzeSyntaxRequest, AnnotateTextRequest, ClassifyTextRequest

enum Document.Type

language_service.proto:109

The document types enum.

Used in: Document

enum EncodingType

language_service.proto:280

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.

Used in: AnalyzeEntitiesRequest, AnalyzeEntitySentimentRequest, AnalyzeSentimentRequest, AnalyzeSyntaxRequest, AnnotateTextRequest

message Entity

language_service.proto:163

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.

Used in: AnalyzeEntitiesResponse, AnalyzeEntitySentimentResponse, AnnotateTextResponse

enum Entity.Type

language_service.proto:168

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.

Used in: Entity

message EntityMention

language_service.proto:925

Represents a mention for an entity in the text. Currently, proper noun mentions are supported.

Used in: Entity

enum EntityMention.Type

language_service.proto:927

The supported types of mentions.

Used in: EntityMention

message PartOfSpeech

language_service.proto:331

Represents part of speech information for a token.

Used in: Token

enum PartOfSpeech.Aspect

language_service.proto:378

The characteristic of a verb that expresses time flow during an event.

Used in: PartOfSpeech

enum PartOfSpeech.Case

language_service.proto:395

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.

Used in: PartOfSpeech

enum PartOfSpeech.Form

language_service.proto:446

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

Used in: PartOfSpeech

enum PartOfSpeech.Gender

language_service.proto:485

Gender classes of nouns reflected in the behaviour of associated words.

Used in: PartOfSpeech

enum PartOfSpeech.Mood

language_service.proto:500

The grammatical feature of verbs, used for showing modality and attitude.

Used in: PartOfSpeech

enum PartOfSpeech.Number

language_service.proto:524

Count distinctions.

Used in: PartOfSpeech

enum PartOfSpeech.Person

language_service.proto:539

The distinction between the speaker, second person, third person, etc.

Used in: PartOfSpeech

enum PartOfSpeech.Proper

language_service.proto:557

This category shows if the token is part of a proper name.

Used in: PartOfSpeech

enum PartOfSpeech.Reciprocity

language_service.proto:569

Reciprocal features of a pronoun.

Used in: PartOfSpeech

enum PartOfSpeech.Tag

language_service.proto:333

The part of speech tags enum.

Used in: PartOfSpeech

enum PartOfSpeech.Tense

language_service.proto:582

Time reference.

Used in: PartOfSpeech

enum PartOfSpeech.Voice

language_service.proto:607

The relationship between the action that a verb expresses and the participants identified by its arguments.

Used in: PartOfSpeech

message Sentence

language_service.proto:150

Represents a sentence in the input document.

Used in: AnalyzeSentimentResponse, AnalyzeSyntaxResponse, AnnotateTextResponse

message Sentiment

language_service.proto:319

Represents the feeling associated with the entire text or entities in the text. Next ID: 6

Used in: AnalyzeSentimentResponse, AnnotateTextResponse, Entity, EntityMention, Sentence

message TextSpan

language_service.proto:952

Represents an output piece of text.

Used in: EntityMention, Sentence, Token

message Token

language_service.proto:302

Represents the smallest syntactic building block of the text.

Used in: AnalyzeSyntaxResponse, AnnotateTextResponse