GoogleApi.ContentWarehouse.V1.Model.ScienceCitationAnchor
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
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):
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"
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ScienceCitationAnchor