View Source GoogleApi.ContentWarehouse.V1.Model.NlpSaftLabeledSpan (google_api_content_warehouse v0.3.0)
A generic span, possibly with an associated label. The span may be defined by either byte-level or token-level boundaries.
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.