NlpSemanticParsingDatetimeRecurrent

AI Overview😉

  • The potential purpose of this module is to parse and understand natural language expressions related to dates and times, such as "every Monday after December 1" or "every morning starting from this Friday". This module aims to extract specific information from these expressions, like the frequency, period, and restrictions, to enable more accurate search results.
  • This module could impact search results by allowing Google to better understand user queries that involve dates and times. For example, if a user searches for "events every Saturday in July", the module can help Google identify the specific dates and times relevant to the query, returning more accurate and relevant results.
  • To be more favorable for this function, a website could:
    • Use clear and concise language when describing dates and times on their website, making it easier for the module to parse and understand.
    • Provide specific and detailed information about events, schedules, or deadlines, allowing the module to extract relevant data.
    • Use structured data and schema markup to provide additional context and information about dates and times, helping the module to better understand the content.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRecurrent (google_api_content_warehouse v0.4.0)

expressions: "every Monday after December 1" "every morning starting from this Friday". Note: if a recurrent DATE/TIME expression is bounded (limited by a finite interval or a finite count), e.g., "every monday in the next 3 months", "... at 11:00am every Monday for 4 times" the grammar will resolve it to a finite number of |range|s. Next available ID: 17.

Attributes

  • countRestriction (type: integer(), default: nil) - How many times it repeats.
  • exception (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t), default: nil) - An arbitrary exception to the recurrence. This can be an absolute point, a relative, a range or a recurrent expression. Examples: "every Tuesday except for July 13th 2021" "every Tuesday except for July 13th and November 2nd" "every second Monday except during the summer" "everyday except Thursdays" * "every Friday, except from October 1st to October 22nd"
  • frequency (type: integer(), default: nil) - |frequency| is used to represent the frequency of the recurrence over a given recurrent period. E.g. "twice a week", "once a month". An unknown frequency is represented with 0, as in just "repeating".
  • metadata (type: String.t, default: nil) -
  • period (type: integer(), default: nil) - |period| and |unit| specify how often |start_point| or |start_range| repeats. |period| should not be 0.
  • rangeRestriction (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange.t, default: nil) -
  • relativeRangeRestriction (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t, default: nil) -
  • restriction (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t, default: nil) - A recurrent expression can be restricted by either a datetime |restriction| or |count_restriction| below. The restriction datetime can be expressed as an explicit range a relative datetime expression, a datetime point or a recurrent datetime. E.g. "every monday [next month]", "every second tuesday [this year]", etc. If |period| is > 0 and |restriction| is not set, repeat indefinitely. Note that this can support recurrent expressions as |restriction| as well. For example in the expression "every monday on [every other month]" where [every other month] is a restriction expressed as a recurrent datetime.
  • start (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t), default: nil) - |start| is used to represent the starting points, ranges or relative datetims in a recurrent expression, for example: "every morning", (range) "everyday at 5 pm", (point) "every second monday" (relative) |start| should never contain a recurrent element.
  • startPoint (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t), default: nil) - DO NOT USE: deprecated fields soon to be removed.
  • startRange (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange.t), default: nil) -
  • startRelative (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t), default: nil) -
  • target (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeTargetToFetch.t, default: nil) - The target to be fetched. This could be a named day-of-week or month (e.g., "Monday", "April"), or a date/time unit (e.g., "day", "week", "month").
  • timeInterval (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity.t, default: nil) - |time_interval| is a time amount or duration, used to described the time interval between the instances of the recurrence. (e.g. "every 3 hours", "every 35 minutes", "every 2 months and 15 days", etc)
  • unit (type: String.t, default: nil) -

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRecurrent{
  countRestriction: integer() | nil,
  exception:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t()]
    | nil,
  frequency: integer() | nil,
  metadata: String.t() | nil,
  period: integer() | nil,
  rangeRestriction:
    GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange.t()
    | nil,
  relativeRangeRestriction:
    GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t()
    | nil,
  restriction:
    GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t()
    | nil,
  start:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t()]
    | nil,
  startPoint:
    [
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t()
    ]
    | nil,
  startRange:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange.t()]
    | nil,
  startRelative:
    [
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t()
    ]
    | nil,
  target:
    GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeTargetToFetch.t()
    | nil,
  timeInterval:
    GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity.t()
    | nil,
  unit: String.t() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.