API documentation for language_v1beta2.types
module.
Classes
AnalyzeEntitiesRequest
The entity analysis request message.
The encoding type used by the API to calculate offsets.
AnalyzeEntitiesResponse
The entity analysis response message.
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][googl e.cloud.language.v1beta2.Document.language] field for more details.
AnalyzeEntitySentimentRequest
The entity-level sentiment analysis request message.
The encoding type used by the API to calculate offsets.
AnalyzeEntitySentimentResponse
The entity-level sentiment analysis response message.
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][googl e.cloud.language.v1beta2.Document.language] field for more details.
AnalyzeSentimentRequest
The sentiment analysis request message.
The encoding type used by the API to calculate sentence offsets for the sentence sentiment.
AnalyzeSentimentResponse
The sentiment analysis response message.
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][googl e.cloud.language.v1beta2.Document.language] field for more details.
AnalyzeSyntaxRequest
The syntax analysis request message.
The encoding type used by the API to calculate offsets.
AnalyzeSyntaxResponse
The syntax analysis response message.
Tokens, along with their syntactic information, in the input document.
AnnotateTextRequest
The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
The enabled features.
AnnotateTextResponse
The text annotations response message.
Tokens, along with their syntactic information, in the input document. Populated if the user enables [AnnotateTextRequest.F eatures.extract_syntax][google.cloud.language.v1beta2.Annotat eTextRequest.Features.extract_syntax].
The overall sentiment for the document. Populated if the user enables [AnnotateTextRequest.Features.extract_document_senti ment][google.cloud.language.v1beta2.AnnotateTextRequest.Featur es.extract_document_sentiment].
Categories identified in the input document.
Any
API documentation for language_v1beta2.types.Any
class.
CancelOperationRequest
API documentation for language_v1beta2.types.CancelOperationRequest
class.
ClassificationCategory
Represents a category returned from the text classifier.
The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.
ClassifyTextRequest
The document classification request message.
ClassifyTextResponse
The document classification response message.
CustomHttpPattern
API documentation for language_v1beta2.types.CustomHttpPattern
class.
DeleteOperationRequest
API documentation for language_v1beta2.types.DeleteOperationRequest
class.
DependencyEdge
Represents dependency parse tree information for a token.
The parse label for the token.
DescriptorProto
API documentation for language_v1beta2.types.DescriptorProto
class.
Document
Represents the input to API methods.
The source of the document: a string containing the content or a Google Cloud Storage URI.
The Google Cloud Storage URI where the file content is located. This URI must be of the form: gs://bucket_name/object_name. For more details, see https://cloud.google.com/storage/docs/reference-uris. NOTE: Cloud Storage object versioning is not supported.
Empty
API documentation for language_v1beta2.types.Empty
class.
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.
The entity type.
The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient.
For calls to [AnalyzeEntitySentiment][] or if [AnnotateTextReq uest.Features.extract_entity_sentiment][google.cloud.languag e.v1beta2.AnnotateTextRequest.Features.extract_entity_sentim ent] is set to true, this field will contain the aggregate sentiment expressed for this entity in the provided document.
EntityMention
Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
The type of the entity mention.
EnumDescriptorProto
API documentation for language_v1beta2.types.EnumDescriptorProto
class.
EnumOptions
API documentation for language_v1beta2.types.EnumOptions
class.
EnumValueDescriptorProto
API documentation for language_v1beta2.types.EnumValueDescriptorProto
class.
EnumValueOptions
API documentation for language_v1beta2.types.EnumValueOptions
class.
ExtensionRangeOptions
API documentation for language_v1beta2.types.ExtensionRangeOptions
class.
FieldDescriptorProto
API documentation for language_v1beta2.types.FieldDescriptorProto
class.
FieldOptions
API documentation for language_v1beta2.types.FieldOptions
class.
FileDescriptorProto
API documentation for language_v1beta2.types.FileDescriptorProto
class.
FileDescriptorSet
API documentation for language_v1beta2.types.FileDescriptorSet
class.
FileOptions
API documentation for language_v1beta2.types.FileOptions
class.
GeneratedCodeInfo
API documentation for language_v1beta2.types.GeneratedCodeInfo
class.
GetOperationRequest
API documentation for language_v1beta2.types.GetOperationRequest
class.
Http
API documentation for language_v1beta2.types.Http
class.
HttpRule
API documentation for language_v1beta2.types.HttpRule
class.
ListOperationsRequest
API documentation for language_v1beta2.types.ListOperationsRequest
class.
ListOperationsResponse
API documentation for language_v1beta2.types.ListOperationsResponse
class.
MessageOptions
API documentation for language_v1beta2.types.MessageOptions
class.
MethodDescriptorProto
API documentation for language_v1beta2.types.MethodDescriptorProto
class.
MethodOptions
API documentation for language_v1beta2.types.MethodOptions
class.
OneofDescriptorProto
API documentation for language_v1beta2.types.OneofDescriptorProto
class.
OneofOptions
API documentation for language_v1beta2.types.OneofOptions
class.
Operation
API documentation for language_v1beta2.types.Operation
class.
OperationInfo
API documentation for language_v1beta2.types.OperationInfo
class.
PartOfSpeech
Represents part of speech information for a token.
The grammatical aspect.
The grammatical form.
The grammatical mood.
The grammatical person.
The grammatical reciprocity.
The grammatical voice.
Sentence
Represents a sentence in the input document.
For calls to [AnalyzeSentiment][] or if [AnnotateTextRequest.F eatures.extract_document_sentiment][google.cloud.language.v1 beta2.AnnotateTextRequest.Features.extract_document_sentimen t] is set to true, this field will contain the sentiment for the sentence.
Sentiment
Represents the feeling associated with the entire text or entities in the text.
Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
ServiceDescriptorProto
API documentation for language_v1beta2.types.ServiceDescriptorProto
class.
ServiceOptions
API documentation for language_v1beta2.types.ServiceOptions
class.
SourceCodeInfo
API documentation for language_v1beta2.types.SourceCodeInfo
class.
Status
API documentation for language_v1beta2.types.Status
class.
TextSpan
Represents an output piece of text.
The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.
Timestamp
API documentation for language_v1beta2.types.Timestamp
class.
Token
Represents the smallest syntactic building block of the text.
Parts of speech tag for this token.
Lemma
<https://en.wikipedia.org/wiki/Lemma_%28morphology%29>
__ of
the token.
UninterpretedOption
API documentation for language_v1beta2.types.UninterpretedOption
class.
WaitOperationRequest
API documentation for language_v1beta2.types.WaitOperationRequest
class.