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

The anchor class holds content relevant to a citation, for example, the text before or after the citation that explains what the citation is about.

Attributes

  • DEPRECATEDSrcFP (type: String.t, default: nil) - Fingerprint of the referral document. The fingerprint should resist to small variance in the document content. DO NOT USE IT!
  • count (type: integer(), default: nil) - Number of times this anchor text appears, only consider the text itself
  • face (type: integer(), default: nil) - font face bitmask: kBold, kItalic, etc.
  • size (type: integer(), default: nil) - font size, in px
  • text (type: String.t, default: nil) - Space-delimited anchor words. Text that needs segmentation (like CJK or Thai) is unsegmented. Generated by ScienceParseUtils::AppendTokenSeqToString()
  • type (type: integer(), default: nil) - one of the "Type" value defined below.
  • weight (type: integer(), default: nil) - weight of the anchor by looking where we get this anchor text. It can be PR, court level, year, or the combination of differerent aspects. weights are 1 - 128 defined as "Weights"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ScienceCitationAnchor{
  DEPRECATEDSrcFP: String.t() | nil,
  count: integer() | nil,
  face: integer() | nil,
  size: integer() | nil,
  text: String.t() | nil,
  type: integer() | nil,
  weight: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.