View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefMentionDebugInfo (google_api_content_warehouse v0.4.0)

Attributes

  • cleanText (type: String.t, default: nil) - A clean version of text. This is mostly used for compatibility with other Goldmine annotators.
  • infoString (type: list(String.t), default: nil) - Optional debug information.
  • snippet (type: String.t, default: nil) - A snippet of the parsed text (html tags removed) in the page around this mention. Useful for human evaluation of the quality of the annotations. Outputted by WebrefAnnotator if --webref_output_mention_snippet_size is set to a value greater than 0.
  • text (type: String.t, default: nil) - Original UTF-8 document text occurring in the range [begin, end).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefMentionDebugInfo{
  cleanText: String.t() | nil,
  infoString: [String.t()] | nil,
  snippet: String.t() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.