NlpSemanticParsingDatetimeRange

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange


Table of Contents ▼

Jump to a specific part of the page:

Description

Range has 4 use cases: 1. with an explicit begin and an explicit end, e.g. "from Monday to Wednesday." Both |begin| and |end| are filled in this case. 2. a point date/time expression is used as a range at a finer granularity. E.g., in "first Monday of this month", "this month" is used as a range. In this case, only |begin| will be filled and the |end| will be filled during the grounding process. 3. a fuzzy date/time range such as "morning" or "evening." 4. with a relative begin and a relative end, e.g. "from yesterday to next Monday." Note: this may be used in a mixture of exact/relative begin and end. Next available ID: 14.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. begin (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime, default: nil)
    - Deprecated fields. Do NOT use.
  2. beginRelative (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime, default: nil)
    -
  3. duration (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity, default: nil)
    - if |duration| is set, one field from start or finish must be populated, but not both. |exclusive| value is still relevant to decide if the endpoints of the range are included in the range (value defined in the start/finish fields as well as the datetime value resulting of offseting the duration over the given range endpoint).
  4. end (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime, default: nil)
    -
  5. endRelative (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime, default: nil)
    -
  6. exclusive (type: boolean(), default: nil)
    -
  7. finish (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime, default: nil)
    -
  8. fuzzyRange (type: String.t, default: nil)
    -
  9. metadata (type: String.t, default: nil)
    -
  10. properties (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties, default: nil)
    -
  11. rangeModifier (type: String.t, default: nil)
    - Modifier that return the appropriate subrange. For more information, see the description of RangeOfDateTimeModifier. Example: late* morning
  12. start (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime, default: nil)
    - |start| and |finish| are inclusive unless exclusive field is true. the values in start and finish can be an absolute point, a relative or another range. Recurrences and repeated values are not expected/allowed.
  13. symbolicValue (type: String.t, default: nil)
    - The field is set if the range is the result of resolving/grounding a relative datetime expression referring to a part of the day. E.g. "morning", "afternoon", "evening", "night", "tonight", etc.

Type

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange