GoogleApi.ContentWarehouse.V1.Model.NlpSaftLabeledSpan
Table of Contents ▼
Jump to a specific part of the page:
Description
A generic span, possibly with an associated label. The span may be defined by either byte-level or token-level boundaries.
Attributes List
This module has the following attributes (case-insensitive ascending order):
View Attributes
Attributes
-
byteEnd
(type:integer()
, default:nil
)
- note: inclusive -
byteStart
(type:integer()
, default:nil
)
- The indices of the first and last byte covered by the span. -
label
(type:String.t
, default:nil
)
- The label associated with the span. -
labelScores
(type:map()
, default:nil
)
- Optionally stores alternative labels with associated scores for the span. -
score
(type:number()
, default:nil
)
- A score associated with the span. -
tokenEnd
(type:integer()
, default:nil
)
- note: inclusive -
tokenStart
(type:integer()
, default:nil
)
- The indices of the first and last token covered by the span.
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSaftLabeledSpan