package google.cloud.language.v1

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:1068

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

Used in: AnnotateTextRequest

message ClassificationCategory

language_service.proto:955

Represents a category returned from the text classifier.

Used in: AnnotateTextResponse, ClassifyTextResponse

message DependencyEdge

language_service.proto:652

Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017

Used in: Token

enum DependencyEdge.Label

language_service.proto:654

The parse label enum for the token.

Used in: DependencyEdge

message Document

language_service.proto:106

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

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

enum Document.Type

language_service.proto:108

The document types enum.

Used in: Document

enum EncodingType

language_service.proto:270

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:162

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:167

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:918

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

Used in: Entity

enum EntityMention.Type

language_service.proto:920

The supported types of mentions.

Used in: EntityMention

message PartOfSpeech

language_service.proto:322

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

Used in: Token

enum PartOfSpeech.Aspect

language_service.proto:369

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

Used in: PartOfSpeech

enum PartOfSpeech.Case

language_service.proto:386

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:437

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:476

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

Used in: PartOfSpeech

enum PartOfSpeech.Mood

language_service.proto:491

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

Used in: PartOfSpeech

enum PartOfSpeech.Number

language_service.proto:515

Count distinctions.

Used in: PartOfSpeech

enum PartOfSpeech.Person

language_service.proto:530

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

Used in: PartOfSpeech

enum PartOfSpeech.Proper

language_service.proto:548

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

Used in: PartOfSpeech

enum PartOfSpeech.Reciprocity

language_service.proto:560

Reciprocal features of a pronoun.

Used in: PartOfSpeech

enum PartOfSpeech.Tag

language_service.proto:324

The part of speech tags enum.

Used in: PartOfSpeech

enum PartOfSpeech.Tense

language_service.proto:573

Time reference.

Used in: PartOfSpeech

enum PartOfSpeech.Voice

language_service.proto:598

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

Used in: PartOfSpeech

message Sentence

language_service.proto:149

Represents a sentence in the input document.

Used in: AnalyzeSentimentResponse, AnalyzeSyntaxResponse, AnnotateTextResponse

message Sentiment

language_service.proto:308

Represents the feeling associated with the entire text or entities in the text.

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

message TextSpan

language_service.proto:945

Represents an output piece of text.

Used in: EntityMention, Sentence, Token

message Token

language_service.proto:292

Represents the smallest syntactic building block of the text.

Used in: AnalyzeSyntaxResponse, AnnotateTextResponse