View Source 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
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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
Unwrap a decoded JSON object into its complex fields.