Voting helps other researchers find interesting modules.
Annotators whose semantics are represented via a protocol message should add to that message a field or extension of this type and set it using Annotator::PopulateAnnotationEvalData to enable span-based evaluation metrics in training. Evaluation is done based on token spans. The byte span aligns with the token span and is used when saving examples. Background: In some settings, the examples used to induce/train a grammar do not specify complete semantics of an annotation. For example, some examples that come from Ewok specify only the span associated with each annotation. This message allows evaluation metrics to test the span by embedding it in the semantics. LINT.IfChange
additionalSpans
list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t)
nil
numBytes
integer()
numTokens
startByte
startToken
Unwrap a decoded JSON object into its complex fields.
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData{ additionalSpans: [t()] | nil, numBytes: integer() | nil, numTokens: integer() | nil, startByte: integer() | nil, startToken: integer() | nil }
@spec decode(struct(), keyword()) :: struct()