google_api_comment_analyzer v0.6.0 GoogleApi.CommentAnalyzer.V1alpha1.Model.SpanScore View Source

This is a single score for a given span of text.

Attributes

  • begin (type: integer(), default: nil) - "begin" and "end" describe the span of the original text that the attribute score applies to. The values are the UTF-16 codepoint range. "end" is exclusive. For example, with the text "Hi there", the begin/end pair (0,2) describes the text "Hi".

    If "begin" and "end" are unset, the score applies to the full text.

  • end (type: integer(), default: nil) -

  • score (type: GoogleApi.CommentAnalyzer.V1alpha1.Model.Score.t, default: nil) - The score value.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CommentAnalyzer.V1alpha1.Model.SpanScore{
  begin: integer(),
  end: integer(),
  score: GoogleApi.CommentAnalyzer.V1alpha1.Model.Score.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.