View Source GoogleApi.ContentWarehouse.V1.Model.SentenceBoundaryAnnotationsInstance (google_api_content_warehouse v0.3.0)

Attributes

  • begin (type: integer(), default: nil) -
  • cleanText (type: String.t, default: nil) - A clean version of .text() generated by using CleanText() and stripping unnecessary whitespace.
  • context (type: String.t, default: nil) - Plain text context from the page within which the annotation occurred.
  • contextBegin (type: integer(), default: nil) - Byte offsets for the clean text context above.
  • contextEnd (type: integer(), default: nil) -
  • end (type: integer(), default: nil) -
  • info (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Used for application-specific information about this annotation.
  • text (type: String.t, default: nil) - Original UTF-8 document text occurring in the range [begin, end).
  • toIndex (type: boolean(), default: nil) - Used to mark the annotations selected to be indexed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SentenceBoundaryAnnotationsInstance{
  begin: integer() | nil,
  cleanText: String.t() | nil,
  context: String.t() | nil,
  contextBegin: integer() | nil,
  contextEnd: integer() | nil,
  end: integer() | nil,
  info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  text: String.t() | nil,
  toIndex: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.