NlpSemanticParsingDateTimeAnnotation

AI Overview😉

  • The potential purpose of this module is to identify and extract specific date and time-related information from search queries, allowing Google to better understand the user's intent and provide more accurate results.
  • This module could impact search results by enabling Google to recognize and respond to queries that contain specific dates, times, or time ranges, such as "flights to New York on Friday" or "restaurants open on Christmas Day". This could lead to more relevant and targeted results, especially for searches related to events, appointments, or scheduling.
  • To be more favorable for this function, a website could ensure that its content includes clear and structured date and time information, such as event listings, business hours, or scheduling details. This could involve using schema markup, providing explicit date and time ranges, and using natural language that is easy for the module to parse and understand.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Example: "Remind me to go to the store on (Friday) (9am)" would output two non-overlapping and unrelated annotations. One would have a start_date = Friday and the other would have start_time = 9am. It's possible for Friday to be one of several upcoming Friday's, so start_date is a repeated field. Next ID: 10

Attributes

  • dateType (type: String.t, default: nil) -
  • endDate (type: list(String.t), default: nil) -
  • endTime (type: list(String.t), default: nil) -
  • endWeekday (type: String.t, default: nil) -
  • rawText (type: String.t, default: nil) -
  • startDate (type: list(String.t), default: nil) - NOTE: None of these are co-indexed. If the query is 'morning', there could be multiple start_time's, start_date's, end_date's, and end_time's, and they do not correspond to one another in any structured way.
  • startTime (type: list(String.t), default: nil) -
  • startWeekday (type: String.t, default: nil) -
  • timeType (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.NlpSemanticParsingDateTimeAnnotation{
    dateType: String.t() | nil,
    endDate: [String.t()] | nil,
    endTime: [String.t()] | nil,
    endWeekday: String.t() | nil,
    rawText: String.t() | nil,
    startDate: [String.t()] | nil,
    startTime: [String.t()] | nil,
    startWeekday: String.t() | nil,
    timeType: 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.