ScienceCitationAnchor

GoogleApi.ContentWarehouse.V1.Model.ScienceCitationAnchor


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. 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!
  2. count (type: integer(), default: nil)
    - Number of times this anchor text appears, only consider the text itself
  3. face (type: integer(), default: nil)
    - font face bitmask: kBold, kItalic, etc.
  4. size (type: integer(), default: nil)
    - font size, in px
  5. text (type: String.t, default: nil)
    - Space-delimited anchor words. Text that needs segmentation (like CJK or Thai) is unsegmented. Generated by ScienceParseUtils::AppendTokenSeqToString()
  6. type (type: integer(), default: nil)
    - one of the "Type" value defined below.
  7. 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"

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ScienceCitationAnchor