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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dataset Overview: semantic_train_en
|
| 2 |
+
|
| 3 |
+
- **Total Samples:** 100000
|
| 4 |
+
- **Random Seed:** 42
|
| 5 |
+
- **Noise Probability:** 0.3
|
| 6 |
+
- **Generated At:** 2026-02-10 14:40:49
|
| 7 |
+
|
| 8 |
+
## Generator Distribution
|
| 9 |
+
|
| 10 |
+
| Generator Function | Count | Percentage | Target Weight |
|
| 11 |
+
|-------------------|-------|------------|---------------|
|
| 12 |
+
| `gen_ambiguous_until` | 1812 | 1.81% | 0.03 |
|
| 13 |
+
| `gen_before_after_weekday` | 2445 | 2.44% | 0.04 |
|
| 14 |
+
| `gen_complex_weekday_offset` | 1866 | 1.87% | 0.03 |
|
| 15 |
+
| `gen_compound` | 1242 | 1.24% | 0.02 |
|
| 16 |
+
| `gen_day_after_tomorrow` | 2493 | 2.49% | 0.04 |
|
| 17 |
+
| `gen_day_month_written` | 2531 | 2.53% | 0.04 |
|
| 18 |
+
| `gen_day_of_month` | 1880 | 1.88% | 0.03 |
|
| 19 |
+
| `gen_full_date_with_year` | 3061 | 3.06% | 0.05 |
|
| 20 |
+
| `gen_month_boundary` | 1343 | 1.34% | 0.02 |
|
| 21 |
+
| `gen_month_day` | 1845 | 1.85% | 0.03 |
|
| 22 |
+
| `gen_month_middle` | 1904 | 1.90% | 0.03 |
|
| 23 |
+
| `gen_month_ordinal_weekday` | 1830 | 1.83% | 0.03 |
|
| 24 |
+
| `gen_month_ordinal_weekday_typos` | 1285 | 1.29% | 0.02 |
|
| 25 |
+
| `gen_month_week_weekday` | 1881 | 1.88% | 0.03 |
|
| 26 |
+
| `gen_named_month_boundary` | 1213 | 1.21% | 0.02 |
|
| 27 |
+
| `gen_nth_weekday_phrases` | 3178 | 3.18% | 0.05 |
|
| 28 |
+
| `gen_relative_day_with_period` | 3169 | 3.17% | 0.05 |
|
| 29 |
+
| `gen_relative_days` | 3768 | 3.77% | 0.06 |
|
| 30 |
+
| `gen_relative_hours` | 1255 | 1.26% | 0.02 |
|
| 31 |
+
| `gen_relative_hours_written` | 1212 | 1.21% | 0.02 |
|
| 32 |
+
| `gen_relative_minutes` | 2575 | 2.57% | 0.04 |
|
| 33 |
+
| `gen_relative_minutes_written` | 2508 | 2.51% | 0.04 |
|
| 34 |
+
| `gen_relative_months` | 1893 | 1.89% | 0.03 |
|
| 35 |
+
| `gen_relative_weeks` | 2517 | 2.52% | 0.04 |
|
| 36 |
+
| `gen_relative_years` | 1230 | 1.23% | 0.02 |
|
| 37 |
+
| `gen_simple_dates` | 3131 | 3.13% | 0.05 |
|
| 38 |
+
| `gen_special_dates` | 590 | 0.59% | 0.01 |
|
| 39 |
+
| `gen_this_morning_evening` | 2515 | 2.51% | 0.04 |
|
| 40 |
+
| `gen_time_bucuk` | 2499 | 2.50% | 0.04 |
|
| 41 |
+
| `gen_time_civari` | 1305 | 1.31% | 0.02 |
|
| 42 |
+
| `gen_time_gece` | 1918 | 1.92% | 0.03 |
|
| 43 |
+
| `gen_time_hour` | 1806 | 1.81% | 0.03 |
|
| 44 |
+
| `gen_time_kala` | 2546 | 2.55% | 0.04 |
|
| 45 |
+
| `gen_time_period` | 1911 | 1.91% | 0.03 |
|
| 46 |
+
| `gen_time_var` | 1894 | 1.89% | 0.03 |
|
| 47 |
+
| `gen_time_written` | 3140 | 3.14% | 0.05 |
|
| 48 |
+
| `gen_upcoming_weekday` | 2488 | 2.49% | 0.04 |
|
| 49 |
+
| `gen_week_after_this` | 1908 | 1.91% | 0.03 |
|
| 50 |
+
| `gen_week_start_end` | 2449 | 2.45% | 0.04 |
|
| 51 |
+
| `gen_weekday_last_week` | 1867 | 1.87% | 0.03 |
|
| 52 |
+
| `gen_weekday_next_week` | 2489 | 2.49% | 0.04 |
|
| 53 |
+
| `gen_weekday_only` | 1856 | 1.86% | 0.03 |
|
| 54 |
+
| `gen_weekday_this_week` | 2427 | 2.43% | 0.04 |
|
| 55 |
+
| `gen_weekday_with_time` | 3034 | 3.03% | 0.05 |
|
| 56 |
+
| `gen_weekend_with_time` | 1221 | 1.22% | 0.02 |
|
| 57 |
+
| `gen_weeks_and_weekday` | 2514 | 2.51% | 0.04 |
|
| 58 |
+
| `gen_written_month_day` | 2556 | 2.56% | 0.04 |
|
| 59 |
+
|
| 60 |
+
## Pattern Examples
|
| 61 |
+
|
| 62 |
+
Below are 5 random examples generated by each function.
|
| 63 |
+
|
| 64 |
+
### `gen_ambiguous_until`
|
| 65 |
+
|
| 66 |
+
- **Input:** `Parse English date, today is Tuesday, 18 April 2028: until next sat I think`
|
| 67 |
+
**Output:** `{"at_weekday": 5, "is_ambiguous": true, "add_weeks": 1}`
|
| 68 |
+
- **Input:** `Parse English date, today is Thursday, 16 July 2026: before the 25th of the month`
|
| 69 |
+
**Output:** `{"add_months": 0, "at_day": 25, "is_ambiguous": true}`
|
| 70 |
+
- **Input:** `Parse English date, today is Saturday, 8 January 2022: remind me by the 9th of the month maybe`
|
| 71 |
+
**Output:** `{"add_months": 0, "at_day": 9, "is_ambiguous": true}`
|
| 72 |
+
- **Input:** `Parse English date, today is Tuesday, 12 September 2028: before the 24th of this month please`
|
| 73 |
+
**Output:** `{"add_months": 0, "at_day": 24, "is_ambiguous": true}`
|
| 74 |
+
- **Input:** `Parse English date, today is Friday, 11 December 2026: hey until the 27th of the month probably`
|
| 75 |
+
**Output:** `{"add_months": 0, "at_day": 27, "is_ambiguous": true}`
|
| 76 |
+
|
| 77 |
+
### `gen_before_after_weekday`
|
| 78 |
+
|
| 79 |
+
- **Input:** `Parse English date, today is Tuesday, 9 November 2027: day after fri`
|
| 80 |
+
**Output:** `{"at_weekday": 5}`
|
| 81 |
+
- **Input:** `Parse English date, today is Tuesday, 12 August 2025: um the day before this mon I guess`
|
| 82 |
+
**Output:** `{"at_weekday": 6}`
|
| 83 |
+
- **Input:** `Parse English date, today is Sunday, 15 May 2022: one day before this tuesday`
|
| 84 |
+
**Output:** `{"at_weekday": 0}`
|
| 85 |
+
- **Input:** `Parse English date, today is Tuesday, 12 August 2025: the day before sun`
|
| 86 |
+
**Output:** `{"at_weekday": 5}`
|
| 87 |
+
- **Input:** `Parse English date, today is Sunday, 5 July 2026: ONE DAY AFTER MO`
|
| 88 |
+
**Output:** `{"at_weekday": 1}`
|
| 89 |
+
|
| 90 |
+
### `gen_complex_weekday_offset`
|
| 91 |
+
|
| 92 |
+
- **Input:** `Parse English date, today is Tuesday, 1 April 2025: two days after this sunday sounds good`
|
| 93 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 6, "add_days": 2}`
|
| 94 |
+
- **Input:** `Parse English date, today is Wednesday, 10 January 2024: hmm 1 day before this thursday`
|
| 95 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 3, "add_days": -1}`
|
| 96 |
+
- **Input:** `Parse English date, today is Thursday, 3 October 2024: one days before this Saturday I guess`
|
| 97 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 5, "add_days": -1}`
|
| 98 |
+
- **Input:** `Parse English date, today is Saturday, 18 November 2028: maybe two days after next week Saturday`
|
| 99 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 5, "add_days": 2}`
|
| 100 |
+
- **Input:** `Parse English date, today is Monday, 3 May 2027: two days before next week tuesday`
|
| 101 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 1, "add_days": -2}`
|
| 102 |
+
|
| 103 |
+
### `gen_compound`
|
| 104 |
+
|
| 105 |
+
- **Input:** `Parse English date, today is Friday, 21 November 2025: 12 Days From Now`
|
| 106 |
+
**Output:** `{"add_days": 12}`
|
| 107 |
+
- **Input:** `Parse English date, today is Friday, 20 May 2022: two years, one month, three weeks and 19 days from now`
|
| 108 |
+
**Output:** `{"add_years": 2, "add_months": 1, "add_weeks": 3, "add_days": 19}`
|
| 109 |
+
- **Input:** `Parse English date, today is Tuesday, 25 May 2027: hmm two weeks and 19 days later probably`
|
| 110 |
+
**Output:** `{"add_weeks": 2, "add_days": 19}`
|
| 111 |
+
- **Input:** `Parse English date, today is Wednesday, 2 May 2029: 14 days from now`
|
| 112 |
+
**Output:** `{"add_days": 14}`
|
| 113 |
+
- **Input:** `Parse English date, today is Wednesday, 1 May 2024: 2 years, one month, 4 weeks and 3 days later`
|
| 114 |
+
**Output:** `{"add_years": 2, "add_months": 1, "add_weeks": 4, "add_days": 3}`
|
| 115 |
+
|
| 116 |
+
### `gen_day_after_tomorrow`
|
| 117 |
+
|
| 118 |
+
- **Input:** `Parse English date, today is Tuesday, 16 September 2025: let's say day after tmrw`
|
| 119 |
+
**Output:** `{"add_days": 2}`
|
| 120 |
+
- **Input:** `Parse English date, today is Wednesday, 25 April 2029: LIKE 2 DAYS FROM NOW`
|
| 121 |
+
**Output:** `{"add_days": 2}`
|
| 122 |
+
- **Input:** `Parse English date, today is Thursday, 5 September 2030: day after tmrw I think`
|
| 123 |
+
**Output:** `{"add_days": 2}`
|
| 124 |
+
- **Input:** `Parse English date, today is Sunday, 23 February 2025: the day after tomorrow`
|
| 125 |
+
**Output:** `{"add_days": 2}`
|
| 126 |
+
- **Input:** `Parse English date, today is Tuesday, 11 December 2029: in two days`
|
| 127 |
+
**Output:** `{"add_days": 2}`
|
| 128 |
+
|
| 129 |
+
### `gen_day_month_written`
|
| 130 |
+
|
| 131 |
+
- **Input:** `Parse English date, today is Sunday, 6 August 2023: nov 3`
|
| 132 |
+
**Output:** `{"at_month": 11, "at_day": 3}`
|
| 133 |
+
- **Input:** `Parse English date, today is Thursday, 21 August 2025: 2 jan`
|
| 134 |
+
**Output:** `{"at_month": 1, "at_day": 2}`
|
| 135 |
+
- **Input:** `Parse English date, today is Sunday, 26 October 2025: aug 28th`
|
| 136 |
+
**Output:** `{"at_month": 8, "at_day": 28}`
|
| 137 |
+
- **Input:** `Parse English date, today is Tuesday, 21 November 2023: the 23rd of aug`
|
| 138 |
+
**Output:** `{"at_month": 8, "at_day": 23}`
|
| 139 |
+
- **Input:** `Parse English date, today is Tuesday, 21 August 2029: remind me 4th march`
|
| 140 |
+
**Output:** `{"at_month": 3, "at_day": 4}`
|
| 141 |
+
|
| 142 |
+
### `gen_day_of_month`
|
| 143 |
+
|
| 144 |
+
- **Input:** `Parse English date, today is Wednesday, 22 June 2022: the 15th of the month maybe`
|
| 145 |
+
**Output:** `{"add_months": 1, "at_day": 15}`
|
| 146 |
+
- **Input:** `Parse English date, today is Thursday, 24 March 2022: previous month's 4th`
|
| 147 |
+
**Output:** `{"add_months": -1, "at_day": 4}`
|
| 148 |
+
- **Input:** `Parse English date, today is Saturday, 4 April 2026: previous month the 22nd`
|
| 149 |
+
**Output:** `{"add_months": -1, "at_day": 22}`
|
| 150 |
+
- **Input:** `Parse English date, today is Friday, 2 August 2024: the 13th of the following month`
|
| 151 |
+
**Output:** `{"add_months": 1, "at_day": 13}`
|
| 152 |
+
- **Input:** `Parse English date, today is Saturday, 14 November 2026: on the 9th of this month`
|
| 153 |
+
**Output:** `{"add_months": 0, "at_day": 9}`
|
| 154 |
+
|
| 155 |
+
### `gen_full_date_with_year`
|
| 156 |
+
|
| 157 |
+
- **Input:** `Parse English date, today is Sunday, 10 December 2023: sept 26th, 2022 or something`
|
| 158 |
+
**Output:** `{"at_day": 26, "at_month": 9, "at_year": 2022}`
|
| 159 |
+
- **Input:** `Parse English date, today is Wednesday, 16 September 2026: 27th 7 2030`
|
| 160 |
+
**Output:** `{"at_day": 27, "at_month": 7, "at_year": 2030}`
|
| 161 |
+
- **Input:** `Parse English date, today is Thursday, 8 May 2025: 24 FEBRUARY 2027`
|
| 162 |
+
**Output:** `{"at_day": 24, "at_month": 2, "at_year": 2027}`
|
| 163 |
+
- **Input:** `Parse English date, today is Friday, 5 January 2029: 14 october 2027`
|
| 164 |
+
**Output:** `{"at_day": 14, "at_month": 10, "at_year": 2027}`
|
| 165 |
+
- **Input:** `Parse English date, today is Friday, 15 September 2028: 16TH 3 2025`
|
| 166 |
+
**Output:** `{"at_day": 16, "at_month": 3, "at_year": 2025}`
|
| 167 |
+
|
| 168 |
+
### `gen_month_boundary`
|
| 169 |
+
|
| 170 |
+
- **Input:** `Parse English date, today is Sunday, 8 March 2026: last month's start`
|
| 171 |
+
**Output:** `{"add_months": -1, "at_day": 1}`
|
| 172 |
+
- **Input:** `Parse English date, today is Friday, 23 May 2025: start of this month or so`
|
| 173 |
+
**Output:** `{"add_months": 0, "at_day": 1}`
|
| 174 |
+
- **Input:** `Parse English date, today is Monday, 27 March 2028: last month's end`
|
| 175 |
+
**Output:** `{"add_months": -1, "end_of_month": true}`
|
| 176 |
+
- **Input:** `Parse English date, today is Friday, 4 October 2024: next month's beginning`
|
| 177 |
+
**Output:** `{"add_months": 1, "at_day": 1}`
|
| 178 |
+
- **Input:** `Parse English date, today is Friday, 14 December 2029: start of last month`
|
| 179 |
+
**Output:** `{"add_months": -1, "at_day": 1}`
|
| 180 |
+
|
| 181 |
+
### `gen_month_day`
|
| 182 |
+
|
| 183 |
+
- **Input:** `Parse English date, today is Tuesday, 24 September 2024: THE 3RD OF MAY`
|
| 184 |
+
**Output:** `{"at_month": 5, "at_day": 3}`
|
| 185 |
+
- **Input:** `Parse English date, today is Wednesday, 13 March 2030: jan 20`
|
| 186 |
+
**Output:** `{"at_month": 1, "at_day": 20}`
|
| 187 |
+
- **Input:** `Parse English date, today is Saturday, 25 August 2029: um march 3rd`
|
| 188 |
+
**Output:** `{"at_month": 3, "at_day": 3}`
|
| 189 |
+
- **Input:** `Parse English date, today is Friday, 22 November 2024: Apr 25th`
|
| 190 |
+
**Output:** `{"at_month": 4, "at_day": 25}`
|
| 191 |
+
- **Input:** `Parse English date, today is Thursday, 2 April 2026: feb 20th`
|
| 192 |
+
**Output:** `{"at_month": 2, "at_day": 20}`
|
| 193 |
+
|
| 194 |
+
### `gen_month_middle`
|
| 195 |
+
|
| 196 |
+
- **Input:** `Parse English date, today is Monday, 19 October 2026: last month's middle`
|
| 197 |
+
**Output:** `{"add_months": -1, "at_day": 15}`
|
| 198 |
+
- **Input:** `Parse English date, today is Saturday, 14 November 2026: hmm mid next month`
|
| 199 |
+
**Output:** `{"add_months": 1, "at_day": 15}`
|
| 200 |
+
- **Input:** `Parse English date, today is Sunday, 25 February 2024: mid-month sounds good`
|
| 201 |
+
**Output:** `{"add_months": 0, "at_day": 15}`
|
| 202 |
+
- **Input:** `Parse English date, today is Saturday, 25 April 2026: Middle Of Next Month`
|
| 203 |
+
**Output:** `{"add_months": 1, "at_day": 15}`
|
| 204 |
+
- **Input:** `Parse English date, today is Saturday, 11 May 2030: how about mid this month`
|
| 205 |
+
**Output:** `{"add_months": 0, "at_day": 15}`
|
| 206 |
+
|
| 207 |
+
### `gen_month_ordinal_weekday`
|
| 208 |
+
|
| 209 |
+
- **Input:** `Parse English date, today is Monday, 25 September 2028: the first friday of last month`
|
| 210 |
+
**Output:** `{"add_months": -1, "at_week": 1, "at_weekday": 4}`
|
| 211 |
+
- **Input:** `Parse English date, today is Saturday, 13 April 2030: THE THIRD WEDNESDAY OF THIS MONTH`
|
| 212 |
+
**Output:** `{"add_months": 0, "at_week": 3, "at_weekday": 2}`
|
| 213 |
+
- **Input:** `Parse English date, today is Wednesday, 4 April 2029: okay 3rd tuesday of this month`
|
| 214 |
+
**Output:** `{"add_months": 0, "at_week": 3, "at_weekday": 1}`
|
| 215 |
+
- **Input:** `Parse English date, today is Sunday, 1 August 2027: I Think 5Th Tuesday Of Last Month`
|
| 216 |
+
**Output:** `{"add_months": -1, "at_week": 5, "at_weekday": 1}`
|
| 217 |
+
- **Input:** `Parse English date, today is Sunday, 3 March 2030: let's say next month's last thurs`
|
| 218 |
+
**Output:** `{"add_months": 1, "at_week": -1, "at_weekday": 3}`
|
| 219 |
+
|
| 220 |
+
### `gen_month_ordinal_weekday_typos`
|
| 221 |
+
|
| 222 |
+
- **Input:** `Parse English date, today is Monday, 15 May 2023: lst months last thurs`
|
| 223 |
+
**Output:** `{"add_months": -1, "at_week": -1, "at_weekday": 3}`
|
| 224 |
+
- **Input:** `Parse English date, today is Saturday, 18 May 2030: nxt month's last thurs I think`
|
| 225 |
+
**Output:** `{"add_months": 1, "at_week": -1, "at_weekday": 3}`
|
| 226 |
+
- **Input:** `Parse English date, today is Saturday, 14 September 2024: LAST MONTHS SECOND TU`
|
| 227 |
+
**Output:** `{"add_months": -1, "at_week": 2, "at_weekday": 1}`
|
| 228 |
+
- **Input:** `Parse English date, today is Thursday, 13 January 2028: what about this month's last sunday`
|
| 229 |
+
**Output:** `{"add_months": 0, "at_week": -1, "at_weekday": 6}`
|
| 230 |
+
- **Input:** `Parse English date, today is Tuesday, 11 February 2025: last month's 1st thu`
|
| 231 |
+
**Output:** `{"add_months": -1, "at_week": 1, "at_weekday": 3}`
|
| 232 |
+
|
| 233 |
+
### `gen_month_week_weekday`
|
| 234 |
+
|
| 235 |
+
- **Input:** `Parse English date, today is Monday, 20 May 2024: so the 4th week of last month monday`
|
| 236 |
+
**Output:** `{"add_months": -1, "at_week": 4, "at_weekday": 0}`
|
| 237 |
+
- **Input:** `Parse English date, today is Wednesday, 24 November 2027: UM LAST MONTH'S FIRST WEEK FR`
|
| 238 |
+
**Output:** `{"add_months": -1, "at_week": 1, "at_weekday": 4}`
|
| 239 |
+
- **Input:** `Parse English date, today is Sunday, 11 December 2022: hey mo of the last week of next month`
|
| 240 |
+
**Output:** `{"add_months": 1, "at_week": -1, "at_weekday": 0}`
|
| 241 |
+
- **Input:** `Parse English date, today is Thursday, 4 March 2027: Thursday Of The Third Week Of Last Month`
|
| 242 |
+
**Output:** `{"add_months": -1, "at_week": 3, "at_weekday": 3}`
|
| 243 |
+
- **Input:** `Parse English date, today is Sunday, 10 November 2030: LIKE LAST MONTH'S 4TH WEEK MON`
|
| 244 |
+
**Output:** `{"add_months": -1, "at_week": 4, "at_weekday": 0}`
|
| 245 |
+
|
| 246 |
+
### `gen_named_month_boundary`
|
| 247 |
+
|
| 248 |
+
- **Input:** `Parse English date, today is Monday, 6 March 2028: End Of November`
|
| 249 |
+
**Output:** `{"at_month": 11, "end_of_month": true}`
|
| 250 |
+
- **Input:** `Parse English date, today is Saturday, 3 February 2029: The Beginning Of February`
|
| 251 |
+
**Output:** `{"at_month": 2, "at_day": 1}`
|
| 252 |
+
- **Input:** `Parse English date, today is Saturday, 3 May 2025: Sept end`
|
| 253 |
+
**Output:** `{"at_month": 9, "end_of_month": true}`
|
| 254 |
+
- **Input:** `Parse English date, today is Sunday, 12 August 2029: hmm Nov start`
|
| 255 |
+
**Output:** `{"at_month": 11, "at_day": 1}`
|
| 256 |
+
- **Input:** `Parse English date, today is Sunday, 8 January 2023: June beginning`
|
| 257 |
+
**Output:** `{"at_month": 6, "at_day": 1}`
|
| 258 |
+
|
| 259 |
+
### `gen_nth_weekday_phrases`
|
| 260 |
+
|
| 261 |
+
- **Input:** `Parse English date, today is Tuesday, 21 March 2023: the 3rd fr`
|
| 262 |
+
**Output:** `{"at_week": 3, "at_weekday": 4}`
|
| 263 |
+
- **Input:** `Parse English date, today is Monday, 7 October 2030: the 3rd sunday in august`
|
| 264 |
+
**Output:** `{"at_month": 8, "at_week": 3, "at_weekday": 6}`
|
| 265 |
+
- **Input:** `Parse English date, today is Thursday, 21 December 2023: the 2nd sa of Nov`
|
| 266 |
+
**Output:** `{"at_month": 11, "at_week": 2, "at_weekday": 5}`
|
| 267 |
+
- **Input:** `Parse English date, today is Friday, 7 November 2025: THE 2ND FR IN AUG IF POSSIBLE`
|
| 268 |
+
**Output:** `{"at_month": 8, "at_week": 2, "at_weekday": 4}`
|
| 269 |
+
- **Input:** `Parse English date, today is Tuesday, 8 February 2022: the third fri in may`
|
| 270 |
+
**Output:** `{"at_month": 5, "at_week": 3, "at_weekday": 4}`
|
| 271 |
+
|
| 272 |
+
### `gen_relative_day_with_period`
|
| 273 |
+
|
| 274 |
+
- **Input:** `Parse English date, today is Sunday, 15 January 2023: maybe around noon today or something`
|
| 275 |
+
**Output:** `{"add_days": 0, "at_hour": 12, "at_minute": 0, "is_ambiguous": true}`
|
| 276 |
+
- **Input:** `Parse English date, today is Sunday, 6 March 2022: IN THE AFTERNOON TODAY`
|
| 277 |
+
**Output:** `{"add_days": 0, "at_hour": 15, "at_minute": 0, "is_ambiguous": true}`
|
| 278 |
+
- **Input:** `Parse English date, today is Thursday, 21 September 2023: at night yesterday`
|
| 279 |
+
**Output:** `{"add_days": -1, "at_hour": 22, "at_minute": 0, "is_ambiguous": true}`
|
| 280 |
+
- **Input:** `Parse English date, today is Thursday, 8 August 2030: this afternoon day after tomorrow`
|
| 281 |
+
**Output:** `{"add_days": 2, "at_hour": 15, "at_minute": 0, "is_ambiguous": true}`
|
| 282 |
+
- **Input:** `Parse English date, today is Tuesday, 16 October 2029: today this evening or something`
|
| 283 |
+
**Output:** `{"add_days": 0, "at_hour": 19, "at_minute": 0, "is_ambiguous": true}`
|
| 284 |
+
|
| 285 |
+
### `gen_relative_days`
|
| 286 |
+
|
| 287 |
+
- **Input:** `Parse English date, today is Saturday, 7 July 2029: so after 3 days`
|
| 288 |
+
**Output:** `{"add_days": 3}`
|
| 289 |
+
- **Input:** `Parse English date, today is Monday, 22 December 2025: after seventeen days`
|
| 290 |
+
**Output:** `{"add_days": 17}`
|
| 291 |
+
- **Input:** `Parse English date, today is Thursday, 13 June 2030: in twenty five days`
|
| 292 |
+
**Output:** `{"add_days": 25}`
|
| 293 |
+
- **Input:** `Parse English date, today is Tuesday, 19 November 2030: in 13 days`
|
| 294 |
+
**Output:** `{"add_days": 13}`
|
| 295 |
+
- **Input:** `Parse English date, today is Friday, 16 October 2026: in 5 days`
|
| 296 |
+
**Output:** `{"add_days": 5}`
|
| 297 |
+
|
| 298 |
+
### `gen_relative_hours`
|
| 299 |
+
|
| 300 |
+
- **Input:** `Parse English date, today is Wednesday, 28 February 2029: ten hours ago`
|
| 301 |
+
**Output:** `{"add_hours": -10}`
|
| 302 |
+
- **Input:** `Parse English date, today is Wednesday, 20 February 2030: Nine Hours Ago`
|
| 303 |
+
**Output:** `{"add_hours": -9}`
|
| 304 |
+
- **Input:** `Parse English date, today is Sunday, 6 October 2030: sixteen hours from now`
|
| 305 |
+
**Output:** `{"add_hours": 16}`
|
| 306 |
+
- **Input:** `Parse English date, today is Monday, 10 April 2023: twenty-two hours ago`
|
| 307 |
+
**Output:** `{"add_hours": -22}`
|
| 308 |
+
- **Input:** `Parse English date, today is Saturday, 28 September 2024: 14 hours ago`
|
| 309 |
+
**Output:** `{"add_hours": -14}`
|
| 310 |
+
|
| 311 |
+
### `gen_relative_hours_written`
|
| 312 |
+
|
| 313 |
+
- **Input:** `Parse English date, today is Wednesday, 7 March 2029: hmm in three hours`
|
| 314 |
+
**Output:** `{"add_hours": 3}`
|
| 315 |
+
- **Input:** `Parse English date, today is Thursday, 13 August 2026: two hours from now`
|
| 316 |
+
**Output:** `{"add_hours": 2}`
|
| 317 |
+
- **Input:** `Parse English date, today is Tuesday, 19 May 2026: six hours from now`
|
| 318 |
+
**Output:** `{"add_hours": 6}`
|
| 319 |
+
- **Input:** `Parse English date, today is Saturday, 17 February 2024: twenty-four hours ago`
|
| 320 |
+
**Output:** `{"add_hours": -24}`
|
| 321 |
+
- **Input:** `Parse English date, today is Friday, 26 May 2028: Maybe Three Hours From Now`
|
| 322 |
+
**Output:** `{"add_hours": 3}`
|
| 323 |
+
|
| 324 |
+
### `gen_relative_minutes`
|
| 325 |
+
|
| 326 |
+
- **Input:** `Parse English date, today is Friday, 2 May 2025: 15 min ago`
|
| 327 |
+
**Output:** `{"add_minutes": -15}`
|
| 328 |
+
- **Input:** `Parse English date, today is Thursday, 25 May 2028: how about 45 min ago right`
|
| 329 |
+
**Output:** `{"add_minutes": -45}`
|
| 330 |
+
- **Input:** `Parse English date, today is Wednesday, 25 June 2025: 5 mins ago sounds good`
|
| 331 |
+
**Output:** `{"add_minutes": -5}`
|
| 332 |
+
- **Input:** `Parse English date, today is Friday, 22 March 2030: in 15 minutes`
|
| 333 |
+
**Output:** `{"add_minutes": 15}`
|
| 334 |
+
- **Input:** `Parse English date, today is Saturday, 22 November 2025: in 30 min`
|
| 335 |
+
**Output:** `{"add_minutes": 30}`
|
| 336 |
+
|
| 337 |
+
### `gen_relative_minutes_written`
|
| 338 |
+
|
| 339 |
+
- **Input:** `Parse English date, today is Wednesday, 12 July 2023: in fifty-five mins or something`
|
| 340 |
+
**Output:** `{"add_minutes": 55}`
|
| 341 |
+
- **Input:** `Parse English date, today is Friday, 25 December 2026: fifty-five min from now`
|
| 342 |
+
**Output:** `{"add_minutes": 55}`
|
| 343 |
+
- **Input:** `Parse English date, today is Saturday, 16 September 2028: ten mins from now`
|
| 344 |
+
**Output:** `{"add_minutes": 10}`
|
| 345 |
+
- **Input:** `Parse English date, today is Friday, 2 September 2022: remind me in forty-five min`
|
| 346 |
+
**Output:** `{"add_minutes": 45}`
|
| 347 |
+
- **Input:** `Parse English date, today is Friday, 7 December 2029: forty min from now`
|
| 348 |
+
**Output:** `{"add_minutes": 40}`
|
| 349 |
+
|
| 350 |
+
### `gen_relative_months`
|
| 351 |
+
|
| 352 |
+
- **Input:** `Parse English date, today is Monday, 15 September 2025: hey 11 months later if possible`
|
| 353 |
+
**Output:** `{"add_months": 11}`
|
| 354 |
+
- **Input:** `Parse English date, today is Friday, 20 November 2026: in a month probably`
|
| 355 |
+
**Output:** `{"add_months": 1}`
|
| 356 |
+
- **Input:** `Parse English date, today is Saturday, 14 July 2029: NINE MONTHS AGO`
|
| 357 |
+
**Output:** `{"add_months": -9}`
|
| 358 |
+
- **Input:** `Parse English date, today is Wednesday, 23 October 2024: 11 months from now maybe`
|
| 359 |
+
**Output:** `{"add_months": 11}`
|
| 360 |
+
- **Input:** `Parse English date, today is Wednesday, 19 June 2024: ok so 4 months from now`
|
| 361 |
+
**Output:** `{"add_months": 4}`
|
| 362 |
+
|
| 363 |
+
### `gen_relative_weeks`
|
| 364 |
+
|
| 365 |
+
- **Input:** `Parse English date, today is Saturday, 14 December 2024: FOUR WEEKS FROM NOW SOUNDS GOOD`
|
| 366 |
+
**Output:** `{"add_weeks": 4}`
|
| 367 |
+
- **Input:** `Parse English date, today is Monday, 27 May 2024: 5 weeks from now`
|
| 368 |
+
**Output:** `{"add_weeks": 5}`
|
| 369 |
+
- **Input:** `Parse English date, today is Monday, 22 February 2027: seven weeks ago`
|
| 370 |
+
**Output:** `{"add_weeks": -7}`
|
| 371 |
+
- **Input:** `Parse English date, today is Friday, 25 February 2028: how about ten weeks later`
|
| 372 |
+
**Output:** `{"add_weeks": 10}`
|
| 373 |
+
- **Input:** `Parse English date, today is Wednesday, 21 August 2024: three weeks from now or so`
|
| 374 |
+
**Output:** `{"add_weeks": 3}`
|
| 375 |
+
|
| 376 |
+
### `gen_relative_years`
|
| 377 |
+
|
| 378 |
+
- **Input:** `Parse English date, today is Thursday, 19 January 2023: let's say in four years`
|
| 379 |
+
**Output:** `{"add_years": 4}`
|
| 380 |
+
- **Input:** `Parse English date, today is Thursday, 18 January 2024: 1 year from now`
|
| 381 |
+
**Output:** `{"add_years": 1}`
|
| 382 |
+
- **Input:** `Parse English date, today is Saturday, 7 September 2030: remind me in four years`
|
| 383 |
+
**Output:** `{"add_years": 4}`
|
| 384 |
+
- **Input:** `Parse English date, today is Thursday, 11 May 2023: in 5 years probably`
|
| 385 |
+
**Output:** `{"add_years": 5}`
|
| 386 |
+
- **Input:** `Parse English date, today is Wednesday, 3 August 2022: in 2 years please`
|
| 387 |
+
**Output:** `{"add_years": 2}`
|
| 388 |
+
|
| 389 |
+
### `gen_simple_dates`
|
| 390 |
+
|
| 391 |
+
- **Input:** `Parse English date, today is Sunday, 13 January 2030: this day`
|
| 392 |
+
**Output:** `{"add_days": 0}`
|
| 393 |
+
- **Input:** `Parse English date, today is Monday, 13 February 2023: tdy`
|
| 394 |
+
**Output:** `{"add_days": 0}`
|
| 395 |
+
- **Input:** `Parse English date, today is Tuesday, 12 September 2023: so two days ago`
|
| 396 |
+
**Output:** `{"add_days": -2}`
|
| 397 |
+
- **Input:** `Parse English date, today is Sunday, 16 October 2022: let's say this day`
|
| 398 |
+
**Output:** `{"add_days": 0}`
|
| 399 |
+
- **Input:** `Parse English date, today is Wednesday, 26 May 2027: hey day after tomorrow`
|
| 400 |
+
**Output:** `{"add_days": 2}`
|
| 401 |
+
|
| 402 |
+
### `gen_special_dates`
|
| 403 |
+
|
| 404 |
+
- **Input:** `Parse English date, today is Tuesday, 11 March 2025: New Year'S Eve`
|
| 405 |
+
**Output:** `{"at_month": 12, "at_day": 31}`
|
| 406 |
+
- **Input:** `Parse English date, today is Tuesday, 7 July 2026: new year's eve`
|
| 407 |
+
**Output:** `{"at_month": 12, "at_day": 31}`
|
| 408 |
+
- **Input:** `Parse English date, today is Wednesday, 15 July 2026: new year's day`
|
| 409 |
+
**Output:** `{"at_month": 1, "at_day": 1}`
|
| 410 |
+
- **Input:** `Parse English date, today is Friday, 8 December 2023: last day of the year`
|
| 411 |
+
**Output:** `{"at_month": 12, "at_day": 31}`
|
| 412 |
+
- **Input:** `Parse English date, today is Wednesday, 6 April 2022: NEW YEAR'S DAY`
|
| 413 |
+
**Output:** `{"at_month": 1, "at_day": 1}`
|
| 414 |
+
|
| 415 |
+
### `gen_this_morning_evening`
|
| 416 |
+
|
| 417 |
+
- **Input:** `Parse English date, today is Sunday, 22 January 2023: tonight`
|
| 418 |
+
**Output:** `{"add_days": 0, "at_hour": 22, "at_minute": 0}`
|
| 419 |
+
- **Input:** `Parse English date, today is Tuesday, 5 December 2023: AT NOON`
|
| 420 |
+
**Output:** `{"add_days": 0, "at_hour": 12, "at_minute": 0}`
|
| 421 |
+
- **Input:** `Parse English date, today is Sunday, 6 May 2029: today morning`
|
| 422 |
+
**Output:** `{"add_days": 0, "at_hour": 9, "at_minute": 0}`
|
| 423 |
+
- **Input:** `Parse English date, today is Saturday, 19 October 2024: THIS EVENING`
|
| 424 |
+
**Output:** `{"add_days": 0, "at_hour": 19, "at_minute": 0}`
|
| 425 |
+
- **Input:** `Parse English date, today is Monday, 28 January 2030: ok so noon today`
|
| 426 |
+
**Output:** `{"add_days": 0, "at_hour": 12, "at_minute": 0}`
|
| 427 |
+
|
| 428 |
+
### `gen_time_bucuk`
|
| 429 |
+
|
| 430 |
+
- **Input:** `Parse English date, today is Tuesday, 10 December 2030: I think 10:30 PM`
|
| 431 |
+
**Output:** `{"at_hour": 22, "at_minute": 30}`
|
| 432 |
+
- **Input:** `Parse English date, today is Friday, 10 May 2024: 11 thirty`
|
| 433 |
+
**Output:** `{"at_hour": 11, "at_minute": 30}`
|
| 434 |
+
- **Input:** `Parse English date, today is Sunday, 21 March 2027: 12:30 this afternoon or so`
|
| 435 |
+
**Output:** `{"at_hour": 12, "at_minute": 30}`
|
| 436 |
+
- **Input:** `Parse English date, today is Monday, 2 August 2027: 3:30 AM`
|
| 437 |
+
**Output:** `{"at_hour": 3, "at_minute": 30}`
|
| 438 |
+
- **Input:** `Parse English date, today is Saturday, 2 December 2023: at night at 1:30`
|
| 439 |
+
**Output:** `{"at_hour": 1, "at_minute": 30}`
|
| 440 |
+
|
| 441 |
+
### `gen_time_civari`
|
| 442 |
+
|
| 443 |
+
- **Input:** `Parse English date, today is Wednesday, 23 July 2025: roughly 9 maybe`
|
| 444 |
+
**Output:** `{"at_hour": 9, "at_minute": 0, "is_approximate": true}`
|
| 445 |
+
- **Input:** `Parse English date, today is Tuesday, 14 August 2029: schedule for about 15 o'clock`
|
| 446 |
+
**Output:** `{"at_hour": 15, "at_minute": 0, "is_approximate": true}`
|
| 447 |
+
- **Input:** `Parse English date, today is Tuesday, 6 November 2029: remind me approximately 19`
|
| 448 |
+
**Output:** `{"at_hour": 19, "at_minute": 0, "is_approximate": true}`
|
| 449 |
+
- **Input:** `Parse English date, today is Tuesday, 10 January 2023: at about 8`
|
| 450 |
+
**Output:** `{"at_hour": 8, "at_minute": 0, "is_approximate": true}`
|
| 451 |
+
- **Input:** `Parse English date, today is Monday, 7 November 2022: at about 4`
|
| 452 |
+
**Output:** `{"at_hour": 4, "at_minute": 0, "is_approximate": true}`
|
| 453 |
+
|
| 454 |
+
### `gen_time_gece`
|
| 455 |
+
|
| 456 |
+
- **Input:** `Parse English date, today is Saturday, 23 November 2030: 5 past 7 please`
|
| 457 |
+
**Output:** `{"at_hour": 7, "at_minute": 5}`
|
| 458 |
+
- **Input:** `Parse English date, today is Friday, 28 September 2029: QUARTER PAST 4 MAYBE`
|
| 459 |
+
**Output:** `{"at_hour": 4, "at_minute": 15}`
|
| 460 |
+
- **Input:** `Parse English date, today is Tuesday, 18 February 2025: THIRTY PAST 10`
|
| 461 |
+
**Output:** `{"at_hour": 10, "at_minute": 30}`
|
| 462 |
+
- **Input:** `Parse English date, today is Monday, 26 June 2028: schedule for ten after 8`
|
| 463 |
+
**Output:** `{"at_hour": 8, "at_minute": 10}`
|
| 464 |
+
- **Input:** `Parse English date, today is Saturday, 6 January 2024: Twenty After 8 Probably`
|
| 465 |
+
**Output:** `{"at_hour": 8, "at_minute": 20}`
|
| 466 |
+
|
| 467 |
+
### `gen_time_hour`
|
| 468 |
+
|
| 469 |
+
- **Input:** `Parse English date, today is Friday, 9 June 2023: quarter past 3`
|
| 470 |
+
**Output:** `{"at_hour": 3, "at_minute": 15, "is_pm_ambiguous": true}`
|
| 471 |
+
- **Input:** `Parse English date, today is Sunday, 18 May 2025: schedule for 12 o'clock`
|
| 472 |
+
**Output:** `{"at_hour": 12, "at_minute": 0}`
|
| 473 |
+
- **Input:** `Parse English date, today is Thursday, 27 April 2028: at 23:15`
|
| 474 |
+
**Output:** `{"at_hour": 23, "at_minute": 15}`
|
| 475 |
+
- **Input:** `Parse English date, today is Thursday, 22 April 2027: at 5:45`
|
| 476 |
+
**Output:** `{"at_hour": 5, "at_minute": 45}`
|
| 477 |
+
- **Input:** `Parse English date, today is Saturday, 11 November 2028: so at 8:30`
|
| 478 |
+
**Output:** `{"at_hour": 8, "at_minute": 30}`
|
| 479 |
+
|
| 480 |
+
### `gen_time_kala`
|
| 481 |
+
|
| 482 |
+
- **Input:** `Parse English date, today is Tuesday, 1 September 2026: twenty minutes to 10`
|
| 483 |
+
**Output:** `{"at_hour": 9, "at_minute": 40}`
|
| 484 |
+
- **Input:** `Parse English date, today is Friday, 23 January 2026: twenty five to 11`
|
| 485 |
+
**Output:** `{"at_hour": 10, "at_minute": 35}`
|
| 486 |
+
- **Input:** `Parse English date, today is Friday, 26 March 2027: A QUARTER TO 2 OR SO`
|
| 487 |
+
**Output:** `{"at_hour": 1, "at_minute": 45}`
|
| 488 |
+
- **Input:** `Parse English date, today is Monday, 2 December 2030: a quarter to 1`
|
| 489 |
+
**Output:** `{"at_hour": 0, "at_minute": 45}`
|
| 490 |
+
- **Input:** `Parse English date, today is Tuesday, 12 July 2022: 25 minutes to 1`
|
| 491 |
+
**Output:** `{"at_hour": 0, "at_minute": 35}`
|
| 492 |
+
|
| 493 |
+
### `gen_time_period`
|
| 494 |
+
|
| 495 |
+
- **Input:** `Parse English date, today is Tuesday, 4 September 2029: Hey 1 Noon`
|
| 496 |
+
**Output:** `{"at_hour": 13, "at_minute": 0}`
|
| 497 |
+
- **Input:** `Parse English date, today is Sunday, 5 December 2027: at 1 around noon`
|
| 498 |
+
**Output:** `{"at_hour": 13, "at_minute": 0}`
|
| 499 |
+
- **Input:** `Parse English date, today is Friday, 17 April 2026: 3:00 NIGHT`
|
| 500 |
+
**Output:** `{"at_hour": 3, "at_minute": 0}`
|
| 501 |
+
- **Input:** `Parse English date, today is Sunday, 26 November 2023: in the morning at 11`
|
| 502 |
+
**Output:** `{"at_hour": 11, "at_minute": 0}`
|
| 503 |
+
- **Input:** `Parse English date, today is Monday, 26 June 2028: 6 this evening`
|
| 504 |
+
**Output:** `{"at_hour": 18, "at_minute": 0}`
|
| 505 |
+
|
| 506 |
+
### `gen_time_var`
|
| 507 |
+
|
| 508 |
+
- **Input:** `Parse English date, today is Wednesday, 7 May 2025: MAYBE 25 BEFORE 8`
|
| 509 |
+
**Output:** `{"at_hour": 7, "at_minute": 35}`
|
| 510 |
+
- **Input:** `Parse English date, today is Sunday, 3 March 2024: 15 to 9`
|
| 511 |
+
**Output:** `{"at_hour": 8, "at_minute": 45}`
|
| 512 |
+
- **Input:** `Parse English date, today is Monday, 24 December 2029: how about 25 to 1`
|
| 513 |
+
**Output:** `{"at_hour": 12, "at_minute": 35}`
|
| 514 |
+
- **Input:** `Parse English date, today is Thursday, 26 January 2023: 20 till 9 maybe`
|
| 515 |
+
**Output:** `{"at_hour": 8, "at_minute": 40}`
|
| 516 |
+
- **Input:** `Parse English date, today is Tuesday, 24 June 2025: 5 till 12 or so`
|
| 517 |
+
**Output:** `{"at_hour": 11, "at_minute": 55}`
|
| 518 |
+
|
| 519 |
+
### `gen_time_written`
|
| 520 |
+
|
| 521 |
+
- **Input:** `Parse English date, today is Sunday, 26 April 2026: at twenty-three fifteen`
|
| 522 |
+
**Output:** `{"at_hour": 23, "at_minute": 15}`
|
| 523 |
+
- **Input:** `Parse English date, today is Sunday, 19 September 2027: so eighteen o'clock`
|
| 524 |
+
**Output:** `{"at_hour": 18, "at_minute": 0}`
|
| 525 |
+
- **Input:** `Parse English date, today is Saturday, 4 November 2028: eighteen forty-five`
|
| 526 |
+
**Output:** `{"at_hour": 18, "at_minute": 45}`
|
| 527 |
+
- **Input:** `Parse English date, today is Thursday, 7 June 2029: at twelve thirty`
|
| 528 |
+
**Output:** `{"at_hour": 12, "at_minute": 30}`
|
| 529 |
+
- **Input:** `Parse English date, today is Sunday, 13 August 2028: at eighteen thirty`
|
| 530 |
+
**Output:** `{"at_hour": 18, "at_minute": 30}`
|
| 531 |
+
|
| 532 |
+
### `gen_upcoming_weekday`
|
| 533 |
+
|
| 534 |
+
- **Input:** `Parse English date, today is Saturday, 1 January 2028: the coming mon`
|
| 535 |
+
**Output:** `{"at_weekday": 0}`
|
| 536 |
+
- **Input:** `Parse English date, today is Saturday, 6 May 2023: upcoming thursday`
|
| 537 |
+
**Output:** `{"at_weekday": 3}`
|
| 538 |
+
- **Input:** `Parse English date, today is Friday, 15 July 2022: coming friday`
|
| 539 |
+
**Output:** `{"at_weekday": 4}`
|
| 540 |
+
- **Input:** `Parse English date, today is Monday, 2 February 2026: the coming su I think`
|
| 541 |
+
**Output:** `{"at_weekday": 6}`
|
| 542 |
+
- **Input:** `Parse English date, today is Monday, 7 August 2023: Upcoming Tues`
|
| 543 |
+
**Output:** `{"at_weekday": 1}`
|
| 544 |
+
|
| 545 |
+
### `gen_week_after_this`
|
| 546 |
+
|
| 547 |
+
- **Input:** `Parse English date, today is Sunday, 11 July 2027: NEXT WEEK`
|
| 548 |
+
**Output:** `{"add_weeks": 1}`
|
| 549 |
+
- **Input:** `Parse English date, today is Monday, 27 July 2026: the week after this sounds good`
|
| 550 |
+
**Output:** `{"add_weeks": 1}`
|
| 551 |
+
- **Input:** `Parse English date, today is Sunday, 5 October 2025: next week`
|
| 552 |
+
**Output:** `{"add_weeks": 1}`
|
| 553 |
+
- **Input:** `Parse English date, today is Thursday, 27 August 2026: the week ahead`
|
| 554 |
+
**Output:** `{"add_weeks": 1}`
|
| 555 |
+
- **Input:** `Parse English date, today is Sunday, 28 June 2026: The Week After This`
|
| 556 |
+
**Output:** `{"add_weeks": 1}`
|
| 557 |
+
|
| 558 |
+
### `gen_week_start_end`
|
| 559 |
+
|
| 560 |
+
- **Input:** `Parse English date, today is Tuesday, 18 March 2025: Beginning Of Last Week`
|
| 561 |
+
**Output:** `{"add_weeks": -1, "at_weekday": 0}`
|
| 562 |
+
- **Input:** `Parse English date, today is Monday, 14 February 2028: beginning of next week`
|
| 563 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 0}`
|
| 564 |
+
- **Input:** `Parse English date, today is Tuesday, 10 December 2030: end of last week`
|
| 565 |
+
**Output:** `{"add_weeks": -1, "at_weekday": 4}`
|
| 566 |
+
- **Input:** `Parse English date, today is Wednesday, 21 August 2030: Okay End Of This Week`
|
| 567 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 4}`
|
| 568 |
+
- **Input:** `Parse English date, today is Tuesday, 6 July 2027: the beginning of next week`
|
| 569 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 0}`
|
| 570 |
+
|
| 571 |
+
### `gen_weekday_last_week`
|
| 572 |
+
|
| 573 |
+
- **Input:** `Parse English date, today is Saturday, 27 October 2029: last sa`
|
| 574 |
+
**Output:** `{"add_weeks": -1, "at_weekday": 5}`
|
| 575 |
+
- **Input:** `Parse English date, today is Tuesday, 21 April 2026: like last week tuesday`
|
| 576 |
+
**Output:** `{"add_weeks": -1, "at_weekday": 1}`
|
| 577 |
+
- **Input:** `Parse English date, today is Monday, 4 May 2026: last week tues`
|
| 578 |
+
**Output:** `{"add_weeks": -1, "at_weekday": 1}`
|
| 579 |
+
- **Input:** `Parse English date, today is Wednesday, 8 December 2027: Okay Tuesday Last Week`
|
| 580 |
+
**Output:** `{"add_weeks": -1, "at_weekday": 1}`
|
| 581 |
+
- **Input:** `Parse English date, today is Thursday, 21 July 2022: last week sunday`
|
| 582 |
+
**Output:** `{"add_weeks": -1, "at_weekday": 6}`
|
| 583 |
+
|
| 584 |
+
### `gen_weekday_next_week`
|
| 585 |
+
|
| 586 |
+
- **Input:** `Parse English date, today is Saturday, 18 November 2023: The Following Sat`
|
| 587 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 5}`
|
| 588 |
+
- **Input:** `Parse English date, today is Tuesday, 19 April 2022: next week's su maybe`
|
| 589 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 6}`
|
| 590 |
+
- **Input:** `Parse English date, today is Tuesday, 1 August 2028: Let'S Say Tues Next Week`
|
| 591 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 1}`
|
| 592 |
+
- **Input:** `Parse English date, today is Thursday, 11 February 2027: next week's tue`
|
| 593 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 1}`
|
| 594 |
+
- **Input:** `Parse English date, today is Tuesday, 14 October 2025: next sa`
|
| 595 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 5}`
|
| 596 |
+
|
| 597 |
+
### `gen_weekday_only`
|
| 598 |
+
|
| 599 |
+
- **Input:** `Parse English date, today is Thursday, 22 April 2027: sun maybe`
|
| 600 |
+
**Output:** `{"at_weekday": 6}`
|
| 601 |
+
- **Input:** `Parse English date, today is Saturday, 20 April 2024: hey su`
|
| 602 |
+
**Output:** `{"at_weekday": 6}`
|
| 603 |
+
- **Input:** `Parse English date, today is Saturday, 7 September 2030: thu`
|
| 604 |
+
**Output:** `{"at_weekday": 3}`
|
| 605 |
+
- **Input:** `Parse English date, today is Sunday, 5 March 2028: on fri if possible`
|
| 606 |
+
**Output:** `{"at_weekday": 4}`
|
| 607 |
+
- **Input:** `Parse English date, today is Saturday, 3 October 2026: what about on wednesday`
|
| 608 |
+
**Output:** `{"at_weekday": 2}`
|
| 609 |
+
|
| 610 |
+
### `gen_weekday_this_week`
|
| 611 |
+
|
| 612 |
+
- **Input:** `Parse English date, today is Tuesday, 16 July 2024: remind me on tu this week`
|
| 613 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 1}`
|
| 614 |
+
- **Input:** `Parse English date, today is Tuesday, 8 February 2028: on wednesday this week`
|
| 615 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 2}`
|
| 616 |
+
- **Input:** `Parse English date, today is Saturday, 20 June 2026: so friday this week`
|
| 617 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 4}`
|
| 618 |
+
- **Input:** `Parse English date, today is Sunday, 26 June 2022: THIS WEEK'S FRIDAY SOUNDS GOOD`
|
| 619 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 4}`
|
| 620 |
+
- **Input:** `Parse English date, today is Monday, 23 December 2024: this week's mo`
|
| 621 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 0}`
|
| 622 |
+
|
| 623 |
+
### `gen_weekday_with_time`
|
| 624 |
+
|
| 625 |
+
- **Input:** `Parse English date, today is Monday, 20 November 2028: WEDNESDAY THIS MORNING AT 8`
|
| 626 |
+
**Output:** `{"at_weekday": 2, "at_hour": 8, "at_minute": 0}`
|
| 627 |
+
- **Input:** `Parse English date, today is Thursday, 13 July 2023: we at 5 this afternoon`
|
| 628 |
+
**Output:** `{"at_weekday": 2, "at_hour": 17, "at_minute": 0}`
|
| 629 |
+
- **Input:** `Parse English date, today is Monday, 22 October 2029: th around noon at 1`
|
| 630 |
+
**Output:** `{"at_weekday": 3, "at_hour": 13, "at_minute": 0}`
|
| 631 |
+
- **Input:** `Parse English date, today is Monday, 18 January 2027: saturday 9 PM`
|
| 632 |
+
**Output:** `{"at_weekday": 5, "at_hour": 21, "at_minute": 0}`
|
| 633 |
+
- **Input:** `Parse English date, today is Saturday, 20 May 2028: tues at 12 noon`
|
| 634 |
+
**Output:** `{"at_weekday": 1, "at_hour": 12, "at_minute": 0}`
|
| 635 |
+
|
| 636 |
+
### `gen_weekend_with_time`
|
| 637 |
+
|
| 638 |
+
- **Input:** `Parse English date, today is Sunday, 11 March 2029: so the weekend at 16:00`
|
| 639 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 6, "at_hour": 16, "at_minute": 0}`
|
| 640 |
+
- **Input:** `Parse English date, today is Sunday, 25 February 2024: the weekend at 19:00`
|
| 641 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 5, "at_hour": 19, "at_minute": 0}`
|
| 642 |
+
- **Input:** `Parse English date, today is Monday, 25 November 2030: so on the weekend at 22`
|
| 643 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 6, "at_hour": 22, "at_minute": 0}`
|
| 644 |
+
- **Input:** `Parse English date, today is Monday, 18 April 2022: this weekend at 16 o'clock probably`
|
| 645 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 6, "at_hour": 16, "at_minute": 0}`
|
| 646 |
+
- **Input:** `Parse English date, today is Sunday, 24 March 2030: this weekend at 8:00`
|
| 647 |
+
**Output:** `{"add_weeks": 0, "at_weekday": 6, "at_hour": 8, "at_minute": 0}`
|
| 648 |
+
|
| 649 |
+
### `gen_weeks_and_weekday`
|
| 650 |
+
|
| 651 |
+
- **Input:** `Parse English date, today is Saturday, 8 July 2023: in a week on monday`
|
| 652 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 0}`
|
| 653 |
+
- **Input:** `Parse English date, today is Friday, 10 March 2023: a week from now on friday`
|
| 654 |
+
**Output:** `{"add_weeks": 1, "at_weekday": 4}`
|
| 655 |
+
- **Input:** `Parse English date, today is Thursday, 1 January 2026: five weeks from now on wednesday`
|
| 656 |
+
**Output:** `{"add_weeks": 5, "at_weekday": 2}`
|
| 657 |
+
- **Input:** `Parse English date, today is Saturday, 1 February 2025: in 4 weeks on thu`
|
| 658 |
+
**Output:** `{"add_weeks": 4, "at_weekday": 3}`
|
| 659 |
+
- **Input:** `Parse English date, today is Monday, 19 May 2025: maybe 5 weeks from now on monday`
|
| 660 |
+
**Output:** `{"add_weeks": 5, "at_weekday": 0}`
|
| 661 |
+
|
| 662 |
+
### `gen_written_month_day`
|
| 663 |
+
|
| 664 |
+
- **Input:** `Parse English date, today is Monday, 3 October 2022: seventeen JANUARY`
|
| 665 |
+
**Output:** `{"at_day": 17, "at_month": 1}`
|
| 666 |
+
- **Input:** `Parse English date, today is Saturday, 18 July 2026: let's say nov fourteen`
|
| 667 |
+
**Output:** `{"at_day": 14, "at_month": 11}`
|
| 668 |
+
- **Input:** `Parse English date, today is Wednesday, 23 July 2025: Three Apr`
|
| 669 |
+
**Output:** `{"at_day": 3, "at_month": 4}`
|
| 670 |
+
- **Input:** `Parse English date, today is Friday, 23 April 2027: the ten of jan`
|
| 671 |
+
**Output:** `{"at_day": 10, "at_month": 1}`
|
| 672 |
+
- **Input:** `Parse English date, today is Saturday, 13 March 2027: the two of SEPTEMBER`
|
| 673 |
+
**Output:** `{"at_day": 2, "at_month": 9}`
|
| 674 |
+
|