GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftSpan
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
The lowest common denominator of a SAFT annotation is simply the definition of some |category| for a sub-span of the |raw_text| of the query.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
category
(type:String.t
, default:nil
)
- Categories can be either syntactic (NNS for fine-grained-POS) or semantics ($Mass for measures). -
rawText
(type:String.t
, default:nil
)
- The substring of the raw query spanned by this annotation.
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftSpan