Modules§

Structs§

  • The entity analysis request message.
  • The entity 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.
  • The text annotations response message.
  • Represents dependency parse tree information for a token.
  • Represents the input to API methods.
  • 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.
  • Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
  • Represents part of speech information for a token.
  • 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.

Enums§

  • 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.