Expand description
The messages and enums that are part of this client library.
Modules§
- annotate_
text_ request - Defines additional types related to AnnotateTextRequest
- document
- Defines additional types related to Document
- encoding_
type - Useful constants to work with EncodingType
- entity
- Defines additional types related to Entity
- entity_
mention - Defines additional types related to EntityMention
- moderate_
text_ request - Defines additional types related to ModerateTextRequest
Structs§
- Analyze
Entities Request - The entity analysis request message.
- Analyze
Entities Response - The entity analysis response message.
- Analyze
Sentiment Request - The sentiment analysis request message.
- Analyze
Sentiment Response - The sentiment analysis response message.
- Annotate
Text Request - The request message for the text annotation API, which can perform multiple analysis types in one call.
- Annotate
Text Response - The text annotations response message.
- Classification
Category - Represents a category returned from the text classifier.
- Classify
Text Request - The document classification request message.
- Classify
Text Response - The document classification response message.
- Document
- Represents the input to API methods.
- Encoding
Type - Represents the text encoding that the caller uses to process the output.
Providing an
EncodingTypeis 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
- 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 probability and mentions, with entities.
- Entity
Mention - Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
- Moderate
Text Request - The document moderation request message.
- Moderate
Text Response - The document moderation response message.
- Sentence
- Represents a sentence in the input document.
- Sentiment
- Represents the feeling associated with the entire text or entities in the text.
- Text
Span - Represents a text span in the input document.