mirror of
https://github.com/facebook/duckling.git
synced 2025-01-08 15:00:59 +03:00
Add Administrative Professionals' Day in EN_{AU,CA,NZ,US,ZA}
Summary: * CA, US: Wednesday of the last full week of April * AU: First Friday of May * NZ: Third Wednesday of April * ZA: First Wednesday of September Closes https://github.com/facebook/duckling/pull/192 Reviewed By: chinmay87 Differential Revision: D7894777 Pulled By: patapizza fbshipit-source-id: 4401c8a09758173965f08129a9b830a369a38941
This commit is contained in:
parent
c84166d708
commit
aa3f9d08a6
@ -68,10 +68,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5988365010887039, unseen = -5.71042701737487,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 300},
|
||||
ClassData{prior = -0.5958482695731459, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
koData =
|
||||
ClassData{prior = -0.7972874398125422,
|
||||
ClassData{prior = -0.8009437510156527,
|
||||
unseen = -5.5134287461649825,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 246}}),
|
||||
("<duration> hence|ago",
|
||||
@ -484,12 +484,11 @@ classifiers
|
||||
n = 4}}),
|
||||
("integer (0..19)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.11122563511022437,
|
||||
unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51},
|
||||
ClassData{prior = -0.10919929196499197,
|
||||
unseen = -3.9889840465642745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 52},
|
||||
koData =
|
||||
ClassData{prior = -2.2512917986064953,
|
||||
unseen = -2.0794415416798357,
|
||||
ClassData{prior = -2.268683541318364, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("between <time-of-day> and <time-of-day> (interval)",
|
||||
Classifier{okData =
|
||||
@ -589,7 +588,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in|within|after <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.11000089521432846,
|
||||
ClassData{prior = -0.13062018241706422,
|
||||
unseen = -4.6443908991413725,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -610,13 +609,14 @@ classifiers
|
||||
("minute", -1.3025244780544318)],
|
||||
n = 43},
|
||||
koData =
|
||||
ClassData{prior = -2.2617630984737906, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.1000608288825715,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("quarter", -2.1972245773362196), ("year", -1.9095425048844386),
|
||||
("<integer> <unit-of-duration>", -1.9095425048844386),
|
||||
("a <unit-of-duration>", -2.1972245773362196)],
|
||||
n = 5}}),
|
||||
[("quarter", -2.268683541318364), ("year", -1.7578579175523736),
|
||||
("<integer> <unit-of-duration>", -1.7578579175523736),
|
||||
("a <unit-of-duration>", -2.268683541318364)],
|
||||
n = 6}}),
|
||||
("January",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -763,346 +763,345 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.463674494194088, unseen = -6.747586526829315,
|
||||
ClassData{prior = -0.46134556650262093, unseen = -6.75343791859778,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Navaratriyear (latent)", -6.053264948013429),
|
||||
("Father's Dayyear (latent)", -6.053264948013429),
|
||||
("Ramadanyear (latent)", -6.053264948013429),
|
||||
[("Navaratriyear (latent)", -6.059123195581797),
|
||||
("Father's Dayyear (latent)", -6.059123195581797),
|
||||
("Ramadanyear (latent)", -6.059123195581797),
|
||||
("<datetime> - <datetime> (interval)on <date>",
|
||||
-4.800501979518061),
|
||||
("Bhai Doojyear (latent)", -6.053264948013429),
|
||||
-4.8063602270864285),
|
||||
("Bhai Doojyear (latent)", -6.059123195581797),
|
||||
("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.800501979518061),
|
||||
("hourday", -4.348516855775004),
|
||||
("dayhour", -3.249904567106894),
|
||||
("Martin Luther King's Dayyear (latent)", -5.6477998399052645),
|
||||
("Shemini Atzeretyear (latent)", -6.053264948013429),
|
||||
("daymonth", -5.360117767453484),
|
||||
("monthday", -5.6477998399052645),
|
||||
("monthyear", -4.443827035579329),
|
||||
("Yom Ha'atzmautyear (latent)", -6.053264948013429),
|
||||
("Vijayadashamiyear (latent)", -6.053264948013429),
|
||||
("Thanksgiving Dayyear (latent)", -4.954652659345319),
|
||||
("Thai Pongalyear (latent)", -5.360117767453484),
|
||||
("Thiru Onamyear (latent)", -5.360117767453484),
|
||||
("Tuesdaythe <day-of-month> (ordinal)", -6.053264948013429),
|
||||
-4.8063602270864285),
|
||||
("hourday", -4.354375103343371),
|
||||
("dayhour", -3.2557628146752617),
|
||||
("Martin Luther King's Dayyear (latent)", -5.653658087473633),
|
||||
("Shemini Atzeretyear (latent)", -6.059123195581797),
|
||||
("daymonth", -5.365976015021851),
|
||||
("monthday", -5.653658087473633),
|
||||
("monthyear", -4.449685283147696),
|
||||
("Yom Ha'atzmautyear (latent)", -6.059123195581797),
|
||||
("Vijayadashamiyear (latent)", -6.059123195581797),
|
||||
("Administrative Professionals' Dayyear (latent)",
|
||||
-5.653658087473633),
|
||||
("Thanksgiving Dayyear (latent)", -4.9605109069136875),
|
||||
("Thai Pongalyear (latent)", -5.365976015021851),
|
||||
("Thiru Onamyear (latent)", -5.365976015021851),
|
||||
("Tuesdaythe <day-of-month> (ordinal)", -6.059123195581797),
|
||||
("from <datetime> - <datetime> (interval)July",
|
||||
-6.053264948013429),
|
||||
("houryear", -5.360117767453484),
|
||||
-6.059123195581797),
|
||||
("houryear", -5.365976015021851),
|
||||
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
|
||||
-6.053264948013429),
|
||||
("Christmas<time-of-day> am|pm", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("Christmas<time-of-day> am|pm", -6.059123195581797),
|
||||
("last <day-of-week> of <time>year (latent)",
|
||||
-6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-5.360117767453484),
|
||||
("<time-of-day> am|pmintersect", -4.800501979518061),
|
||||
("Earth Houryear (latent)", -6.053264948013429),
|
||||
("Family Dayyear (latent)", -5.136974216139274),
|
||||
("Octoberyear (latent)", -4.800501979518061),
|
||||
("intersect<time-of-day> am|pm", -6.053264948013429),
|
||||
("Mattu Pongalyear (latent)", -6.053264948013429),
|
||||
("Shavuotyear (latent)", -6.053264948013429),
|
||||
("Dhanterasin <named-month>|year", -6.053264948013429),
|
||||
-5.365976015021851),
|
||||
("<time-of-day> am|pmintersect", -4.8063602270864285),
|
||||
("Earth Houryear (latent)", -6.059123195581797),
|
||||
("Family Dayyear (latent)", -5.1428324637076415),
|
||||
("Octoberyear (latent)", -4.8063602270864285),
|
||||
("intersect<time-of-day> am|pm", -6.059123195581797),
|
||||
("Mattu Pongalyear (latent)", -6.059123195581797),
|
||||
("Shavuotyear (latent)", -6.059123195581797),
|
||||
("Dhanterasin <named-month>|year", -6.059123195581797),
|
||||
("at <time-of-day>in|within|after <duration>",
|
||||
-6.053264948013429),
|
||||
("Thursdayhh(:mm) - <time-of-day> am|pm", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("Thursdayhh(:mm) - <time-of-day> am|pm", -6.059123195581797),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)year (latent)",
|
||||
-5.6477998399052645),
|
||||
("Marchyear (latent)", -6.053264948013429),
|
||||
("Sukkotyear (latent)", -5.6477998399052645),
|
||||
-5.653658087473633),
|
||||
("Marchyear (latent)", -6.059123195581797),
|
||||
("Sukkotyear (latent)", -5.653658087473633),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"year (latent)",
|
||||
-6.053264948013429),
|
||||
("Clean Mondayyear (latent)", -5.6477998399052645),
|
||||
("monthhour", -5.6477998399052645),
|
||||
("todayat <time-of-day>", -6.053264948013429),
|
||||
("Thursday<time> timezone", -4.348516855775004),
|
||||
-6.059123195581797),
|
||||
("Clean Mondayyear (latent)", -5.653658087473633),
|
||||
("monthhour", -5.653658087473633),
|
||||
("todayat <time-of-day>", -6.059123195581797),
|
||||
("Thursday<time> timezone", -4.354375103343371),
|
||||
("this <time>hh(:mm) - <time-of-day> am|pm",
|
||||
-6.053264948013429),
|
||||
("Palm SundaySunday", -5.6477998399052645),
|
||||
("dayday", -3.8560403706772095),
|
||||
("<time> <part-of-day>at <time-of-day>", -6.053264948013429),
|
||||
("mm/ddat <time-of-day>", -6.053264948013429),
|
||||
("tonightat <time-of-day>", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("Palm SundaySunday", -5.653658087473633),
|
||||
("dayday", -3.8618986182455775),
|
||||
("<time> <part-of-day>at <time-of-day>", -6.059123195581797),
|
||||
("mm/ddat <time-of-day>", -6.059123195581797),
|
||||
("tonightat <time-of-day>", -6.059123195581797),
|
||||
("<time-of-day> am|pmabsorption of , after named day",
|
||||
-5.360117767453484),
|
||||
("today<time-of-day> am|pm", -6.053264948013429),
|
||||
("Februarythe <day-of-month> (ordinal)", -5.6477998399052645),
|
||||
("at <time-of-day><time> <part-of-day>", -6.053264948013429),
|
||||
("mm/dd<time-of-day> am|pm", -6.053264948013429),
|
||||
("hourhour", -4.800501979518061),
|
||||
("<time-of-day> am|pmon <date>", -4.038361927471164),
|
||||
("National Patriots' Dayyear (latent)", -5.360117767453484),
|
||||
("Wednesdaythis|last|next <cycle>", -6.053264948013429),
|
||||
("Lentyear (latent)", -6.053264948013429),
|
||||
-5.365976015021851),
|
||||
("today<time-of-day> am|pm", -6.059123195581797),
|
||||
("Februarythe <day-of-month> (ordinal)", -5.653658087473633),
|
||||
("at <time-of-day><time> <part-of-day>", -6.059123195581797),
|
||||
("mm/dd<time-of-day> am|pm", -6.059123195581797),
|
||||
("hourhour", -4.8063602270864285),
|
||||
("<time-of-day> am|pmon <date>", -4.044220175039532),
|
||||
("National Patriots' Dayyear (latent)", -5.365976015021851),
|
||||
("Wednesdaythis|last|next <cycle>", -6.059123195581797),
|
||||
("Lentyear (latent)", -6.059123195581797),
|
||||
("intersect<named-month> <day-of-month> (non ordinal)",
|
||||
-4.5491875512371545),
|
||||
("Boghiyear (latent)", -6.053264948013429),
|
||||
("dayyear", -1.9261305629683372),
|
||||
("Thursdayfrom|since|after <time>", -5.6477998399052645),
|
||||
-4.555045798805523),
|
||||
("Boghiyear (latent)", -6.059123195581797),
|
||||
("dayyear", -1.9159884691902642),
|
||||
("Thursdayfrom|since|after <time>", -5.653658087473633),
|
||||
("<time-of-day> o'clockin|during the <part-of-day>",
|
||||
-6.053264948013429),
|
||||
("Thursdayat <time-of-day>", -5.6477998399052645),
|
||||
("Islamic New Yearyear (latent)", -5.6477998399052645),
|
||||
("Laylat al-Qadryear (latent)", -5.136974216139274),
|
||||
("Chhathin <named-month>|year", -6.053264948013429),
|
||||
("Vasant Panchamiin <named-month>|year", -6.053264948013429),
|
||||
("Diwaliin <named-month>|year", -6.053264948013429),
|
||||
("Discovery Dayyear (latent)", -5.6477998399052645),
|
||||
("Shrove Tuesdayyear (latent)", -6.053264948013429),
|
||||
("<time-of-day> am|pmtomorrow", -5.360117767453484),
|
||||
("Yom Kippuryear (latent)", -6.053264948013429),
|
||||
("<part-of-day> of <time>year (latent)", -6.053264948013429),
|
||||
("minutehour", -5.136974216139274),
|
||||
("Kaanum Pongalyear (latent)", -5.6477998399052645),
|
||||
("Maha Saptamiyear (latent)", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("Thursdayat <time-of-day>", -5.653658087473633),
|
||||
("Islamic New Yearyear (latent)", -5.653658087473633),
|
||||
("Laylat al-Qadryear (latent)", -5.1428324637076415),
|
||||
("Chhathin <named-month>|year", -6.059123195581797),
|
||||
("Vasant Panchamiin <named-month>|year", -6.059123195581797),
|
||||
("Diwaliin <named-month>|year", -6.059123195581797),
|
||||
("Discovery Dayyear (latent)", -5.653658087473633),
|
||||
("Shrove Tuesdayyear (latent)", -6.059123195581797),
|
||||
("<time-of-day> am|pmtomorrow", -5.365976015021851),
|
||||
("Yom Kippuryear (latent)", -6.059123195581797),
|
||||
("<part-of-day> of <time>year (latent)", -6.059123195581797),
|
||||
("minutehour", -5.1428324637076415),
|
||||
("Kaanum Pongalyear (latent)", -5.653658087473633),
|
||||
("Maha Saptamiyear (latent)", -6.059123195581797),
|
||||
("at <time-of-day>in|during the <part-of-day>",
|
||||
-5.6477998399052645),
|
||||
-5.653658087473633),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.348516855775004),
|
||||
("for <duration> from <time>December", -6.053264948013429),
|
||||
("tomorrow<time-of-day> sharp|exactly", -6.053264948013429),
|
||||
-4.354375103343371),
|
||||
("for <duration> from <time>December", -6.059123195581797),
|
||||
("tomorrow<time-of-day> sharp|exactly", -6.059123195581797),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-5.136974216139274),
|
||||
-5.1428324637076415),
|
||||
("on <date><named-month> <day-of-month> (non ordinal)",
|
||||
-5.6477998399052645),
|
||||
("Pentecostyear (latent)", -6.053264948013429),
|
||||
-5.653658087473633),
|
||||
("Pentecostyear (latent)", -6.059123195581797),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.136974216139274),
|
||||
("Eid al-Fitryear (latent)", -6.053264948013429),
|
||||
("Mondayin|during the <part-of-day>", -6.053264948013429),
|
||||
("Raksha Bandhanyear (latent)", -6.053264948013429),
|
||||
-5.1428324637076415),
|
||||
("Eid al-Fitryear (latent)", -6.059123195581797),
|
||||
("Mondayin|during the <part-of-day>", -6.059123195581797),
|
||||
("Raksha Bandhanyear (latent)", -6.059123195581797),
|
||||
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.6477998399052645),
|
||||
("Navaratriin <named-month>|year", -6.053264948013429),
|
||||
("Ashurayear (latent)", -6.053264948013429),
|
||||
("Chinese New Yearyear (latent)", -6.053264948013429),
|
||||
("Sundayyear (latent)", -6.053264948013429),
|
||||
("Lag BaOmeryear (latent)", -6.053264948013429),
|
||||
-5.653658087473633),
|
||||
("Navaratriin <named-month>|year", -6.059123195581797),
|
||||
("Ashurayear (latent)", -6.059123195581797),
|
||||
("Chinese New Yearyear (latent)", -6.059123195581797),
|
||||
("Sundayyear (latent)", -6.059123195581797),
|
||||
("Lag BaOmeryear (latent)", -6.059123195581797),
|
||||
("last weekend of <named-month>year (latent)",
|
||||
-6.053264948013429),
|
||||
("Eid al-Adhayear (latent)", -5.136974216139274),
|
||||
("intersectin|during the <part-of-day>", -6.053264948013429),
|
||||
("Christmasat <time-of-day>", -6.053264948013429),
|
||||
("Passoveryear (latent)", -6.053264948013429),
|
||||
("Lazarus Saturdayyear (latent)", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("Eid al-Adhayear (latent)", -5.1428324637076415),
|
||||
("intersectin|during the <part-of-day>", -6.059123195581797),
|
||||
("Christmasat <time-of-day>", -6.059123195581797),
|
||||
("Passoveryear (latent)", -6.059123195581797),
|
||||
("Lazarus Saturdayyear (latent)", -6.059123195581797),
|
||||
("<day-of-month> (ordinal or number) <named-month>year (latent)",
|
||||
-6.053264948013429),
|
||||
("Yom HaShoahyear (latent)", -5.6477998399052645),
|
||||
-6.059123195581797),
|
||||
("Yom HaShoahyear (latent)", -5.653658087473633),
|
||||
("Thursday<datetime> - <datetime> (interval)",
|
||||
-5.6477998399052645),
|
||||
-5.653658087473633),
|
||||
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
|
||||
-6.053264948013429),
|
||||
("Thai Pongalin <named-month>|year", -6.053264948013429),
|
||||
("Septemberyear (latent)", -5.6477998399052645),
|
||||
("mm/ddyear (latent)", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("Thai Pongalin <named-month>|year", -6.059123195581797),
|
||||
("Septemberyear (latent)", -5.653658087473633),
|
||||
("mm/ddyear (latent)", -6.059123195581797),
|
||||
("Thursday<time-of-day> - <time-of-day> (interval)",
|
||||
-4.800501979518061),
|
||||
("Halloweenyear (latent)", -6.053264948013429),
|
||||
-4.8063602270864285),
|
||||
("Halloweenyear (latent)", -6.059123195581797),
|
||||
("from <time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-5.360117767453484),
|
||||
-5.365976015021851),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
|
||||
-5.136974216139274),
|
||||
("at <time-of-day>intersect", -5.6477998399052645),
|
||||
("Rosh Hashanahyear (latent)", -6.053264948013429),
|
||||
("Dhanterasyear (latent)", -6.053264948013429),
|
||||
("Tu BiShvatyear (latent)", -6.053264948013429),
|
||||
("Holiyear (latent)", -5.360117767453484),
|
||||
-5.1428324637076415),
|
||||
("at <time-of-day>intersect", -5.653658087473633),
|
||||
("Rosh Hashanahyear (latent)", -6.059123195581797),
|
||||
("Dhanterasyear (latent)", -6.059123195581797),
|
||||
("Tu BiShvatyear (latent)", -6.059123195581797),
|
||||
("Holiyear (latent)", -5.365976015021851),
|
||||
("<time-of-day> - <time-of-day> (interval)tomorrow",
|
||||
-6.053264948013429),
|
||||
("Holika Dahanyear (latent)", -5.360117767453484),
|
||||
-6.059123195581797),
|
||||
("Holika Dahanyear (latent)", -5.365976015021851),
|
||||
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-6.053264948013429),
|
||||
("dayminute", -3.41420761839817),
|
||||
("Mawlidyear (latent)", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("dayminute", -3.420065865966538),
|
||||
("Mawlidyear (latent)", -6.059123195581797),
|
||||
("from <datetime> - <datetime> (interval)on <date>",
|
||||
-5.6477998399052645),
|
||||
-5.653658087473633),
|
||||
("<datetime> - <datetime> (interval)tomorrow",
|
||||
-6.053264948013429),
|
||||
("Jumu'atul-Widayear (latent)", -5.136974216139274),
|
||||
-6.059123195581797),
|
||||
("Jumu'atul-Widayear (latent)", -5.1428324637076415),
|
||||
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-6.053264948013429),
|
||||
("minuteday", -2.415678788287043),
|
||||
-6.059123195581797),
|
||||
("minuteday", -2.421537035855411),
|
||||
("absorption of , after named dayintersect",
|
||||
-6.053264948013429),
|
||||
("intersectyear (latent)", -6.053264948013429),
|
||||
("Orthodox Easter Sundayyear (latent)", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("intersectyear (latent)", -6.059123195581797),
|
||||
("Orthodox Easter Sundayyear (latent)", -6.059123195581797),
|
||||
("<ordinal> <cycle> of <time>year (latent)",
|
||||
-6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("the <day-of-month> (ordinal)in|during the <part-of-day>",
|
||||
-6.053264948013429),
|
||||
("Boss's Dayyear (latent)", -5.6477998399052645),
|
||||
("Global Youth Service Dayyear (latent)", -6.053264948013429),
|
||||
("Tisha B'Avyear (latent)", -6.053264948013429),
|
||||
("Isra and Mi'rajyear (latent)", -5.136974216139274),
|
||||
-6.059123195581797),
|
||||
("Boss's Dayyear (latent)", -5.653658087473633),
|
||||
("Global Youth Service Dayyear (latent)", -6.059123195581797),
|
||||
("Tisha B'Avyear (latent)", -6.059123195581797),
|
||||
("Isra and Mi'rajyear (latent)", -5.1428324637076415),
|
||||
("at <time-of-day>absorption of , after named day",
|
||||
-6.053264948013429),
|
||||
("Christmasyear (latent)", -5.6477998399052645),
|
||||
("Naraka Chaturdashiyear (latent)", -5.6477998399052645),
|
||||
("at <time-of-day>on <date>", -4.954652659345319),
|
||||
-6.059123195581797),
|
||||
("Christmasyear (latent)", -5.653658087473633),
|
||||
("Naraka Chaturdashiyear (latent)", -5.653658087473633),
|
||||
("at <time-of-day>on <date>", -4.9605109069136875),
|
||||
("between <time-of-day> and <time-of-day> (interval)on <date>",
|
||||
-4.443827035579329),
|
||||
("dayweek", -6.053264948013429),
|
||||
("Easter Sundayyear (latent)", -5.360117767453484),
|
||||
("Labour Dayyear (latent)", -6.053264948013429),
|
||||
("weekyear", -5.6477998399052645),
|
||||
("hh:mmin|during the <part-of-day>", -5.360117767453484),
|
||||
-4.449685283147696),
|
||||
("dayweek", -6.059123195581797),
|
||||
("Easter Sundayyear (latent)", -5.365976015021851),
|
||||
("Labour Dayyear (latent)", -6.059123195581797),
|
||||
("weekyear", -5.653658087473633),
|
||||
("hh:mmin|during the <part-of-day>", -5.365976015021851),
|
||||
("<cycle> after|before <time><time-of-day> am|pm",
|
||||
-5.6477998399052645),
|
||||
("Hanukkahyear (latent)", -6.053264948013429),
|
||||
("February<time> <part-of-day>", -6.053264948013429),
|
||||
("Tuesdayin <named-month>|year", -6.053264948013429),
|
||||
("Great Lentyear (latent)", -6.053264948013429),
|
||||
("tomorrowat <time-of-day>", -5.360117767453484),
|
||||
("between <time> and <time>on <date>", -4.443827035579329),
|
||||
("last <cycle> of <time>year (latent)", -5.360117767453484),
|
||||
("at <time-of-day>tomorrow", -5.6477998399052645),
|
||||
("tomorrow<time-of-day> am|pm", -6.053264948013429),
|
||||
-5.653658087473633),
|
||||
("Hanukkahyear (latent)", -6.059123195581797),
|
||||
("February<time> <part-of-day>", -6.059123195581797),
|
||||
("Tuesdayin <named-month>|year", -6.059123195581797),
|
||||
("Great Lentyear (latent)", -6.059123195581797),
|
||||
("tomorrowat <time-of-day>", -5.365976015021851),
|
||||
("between <time> and <time>on <date>", -4.449685283147696),
|
||||
("last <cycle> of <time>year (latent)", -5.365976015021851),
|
||||
("at <time-of-day>tomorrow", -5.653658087473633),
|
||||
("tomorrow<time-of-day> am|pm", -6.059123195581797),
|
||||
("<named-month> <day-of-month> (non ordinal)year (latent)",
|
||||
-6.053264948013429),
|
||||
("Diwaliyear (latent)", -6.053264948013429),
|
||||
("Black Fridayyear (latent)", -5.6477998399052645),
|
||||
-6.059123195581797),
|
||||
("Diwaliyear (latent)", -6.059123195581797),
|
||||
("Black Fridayyear (latent)", -5.653658087473633),
|
||||
("in|during the <part-of-day>at <time-of-day>",
|
||||
-6.053264948013429),
|
||||
("Chhathyear (latent)", -5.6477998399052645),
|
||||
("Vasant Panchamiyear (latent)", -6.053264948013429),
|
||||
("Palm Sundayintersect", -6.053264948013429),
|
||||
-6.059123195581797),
|
||||
("Chhathyear (latent)", -5.653658087473633),
|
||||
("Vasant Panchamiyear (latent)", -6.059123195581797),
|
||||
("Palm Sundayintersect", -6.059123195581797),
|
||||
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
|
||||
-6.053264948013429),
|
||||
("Februaryintersect", -6.053264948013429),
|
||||
("Mother's Dayyear (latent)", -6.053264948013429),
|
||||
("Simchat Torahyear (latent)", -6.053264948013429),
|
||||
("Victoria Dayyear (latent)", -5.6477998399052645),
|
||||
("minuteyear", -6.053264948013429)],
|
||||
n = 317},
|
||||
-6.059123195581797),
|
||||
("Februaryintersect", -6.059123195581797),
|
||||
("Mother's Dayyear (latent)", -6.059123195581797),
|
||||
("Simchat Torahyear (latent)", -6.059123195581797),
|
||||
("Victoria Dayyear (latent)", -5.653658087473633),
|
||||
("minuteyear", -6.059123195581797)],
|
||||
n = 319},
|
||||
koData =
|
||||
ClassData{prior = -0.9914676512167819,
|
||||
unseen = -6.3835066348840055,
|
||||
ClassData{prior = -0.995428052432879, unseen = -6.385194398997726,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.772378104971998),
|
||||
("hourday", -4.772378104971998),
|
||||
-4.774068722449905),
|
||||
("hourday", -4.774068722449905),
|
||||
("<named-month> <day-of-month> (non ordinal)July",
|
||||
-5.688668836846153),
|
||||
("dayhour", -3.123719479384616),
|
||||
("Tuesdayfrom|since|after <time>", -5.688668836846153),
|
||||
("daymonth", -3.5486026733498823),
|
||||
("monthday", -5.2832037287379885),
|
||||
("monthyear", -4.435905868350785),
|
||||
("<time-of-day> am|pmyear (latent)", -5.2832037287379885),
|
||||
("Thai Pongalyear (latent)", -4.995521656286208),
|
||||
("intersecthh:mm", -5.688668836846153),
|
||||
-5.69035945432406),
|
||||
("dayhour", -3.125410096862524),
|
||||
("Tuesdayfrom|since|after <time>", -5.69035945432406),
|
||||
("daymonth", -3.5502932908277893),
|
||||
("monthday", -5.284894346215896),
|
||||
("monthyear", -4.437596485828692),
|
||||
("<time-of-day> am|pmyear (latent)", -5.284894346215896),
|
||||
("Thai Pongalyear (latent)", -4.997212273764115),
|
||||
("intersecthh:mm", -5.69035945432406),
|
||||
("from <datetime> - <datetime> (interval)July",
|
||||
-5.688668836846153),
|
||||
("houryear", -4.772378104971998),
|
||||
-5.69035945432406),
|
||||
("houryear", -4.774068722449905),
|
||||
("from <time-of-day> - <time-of-day> (interval)July",
|
||||
-5.688668836846153),
|
||||
-5.69035945432406),
|
||||
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-4.995521656286208),
|
||||
("<time-of-day> am|pmintersect", -4.435905868350785),
|
||||
("until <time>on <date>", -4.995521656286208),
|
||||
("Octoberyear (latent)", -5.688668836846153),
|
||||
-4.997212273764115),
|
||||
("<time-of-day> am|pmintersect", -4.437596485828692),
|
||||
("until <time>on <date>", -4.997212273764115),
|
||||
("Octoberyear (latent)", -5.69035945432406),
|
||||
("July<day-of-month> (ordinal or number) <named-month>",
|
||||
-5.688668836846153),
|
||||
-5.69035945432406),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)year (latent)",
|
||||
-4.435905868350785),
|
||||
("about|exactly <time-of-day>year (latent)",
|
||||
-5.688668836846153),
|
||||
("absorption of , after named dayJuly", -5.2832037287379885),
|
||||
("from|since|after <time>July", -5.688668836846153),
|
||||
-4.437596485828692),
|
||||
("about|exactly <time-of-day>year (latent)", -5.69035945432406),
|
||||
("absorption of , after named dayJuly", -5.284894346215896),
|
||||
("from|since|after <time>July", -5.69035945432406),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"year (latent)",
|
||||
-4.772378104971998),
|
||||
("Clean Mondayyear (latent)", -5.688668836846153),
|
||||
("monthhour", -5.688668836846153),
|
||||
("hourmonth", -4.772378104971998),
|
||||
("todayat <time-of-day>", -5.688668836846153),
|
||||
("from|since|after <time>December", -5.688668836846153),
|
||||
-4.774068722449905),
|
||||
("Clean Mondayyear (latent)", -5.69035945432406),
|
||||
("monthhour", -5.69035945432406),
|
||||
("hourmonth", -4.774068722449905),
|
||||
("todayat <time-of-day>", -5.69035945432406),
|
||||
("from|since|after <time>December", -5.69035945432406),
|
||||
("from|since|after <time><time-of-day> am|pm",
|
||||
-5.688668836846153),
|
||||
("Mondayyear (latent)", -4.995521656286208),
|
||||
("dayday", -5.2832037287379885),
|
||||
("mm/ddat <time-of-day>", -5.2832037287379885),
|
||||
("<time-of-day> am|pmon <date>", -4.435905868350785),
|
||||
("dayyear", -2.7182543712764518),
|
||||
("Thursdaymm/dd", -5.688668836846153),
|
||||
("New Year's Dayyear (latent)", -5.2832037287379885),
|
||||
("Thursdayfrom|since|after <time>", -3.983920744607728),
|
||||
("Thursdayat <time-of-day>", -4.435905868350785),
|
||||
-5.69035945432406),
|
||||
("Mondayyear (latent)", -4.997212273764115),
|
||||
("dayday", -5.284894346215896),
|
||||
("mm/ddat <time-of-day>", -5.284894346215896),
|
||||
("<time-of-day> am|pmon <date>", -4.437596485828692),
|
||||
("dayyear", -2.719944988754359),
|
||||
("Thursdaymm/dd", -5.69035945432406),
|
||||
("New Year's Dayyear (latent)", -5.284894346215896),
|
||||
("Thursdayfrom|since|after <time>", -3.9856113620856353),
|
||||
("Thursdayat <time-of-day>", -4.437596485828692),
|
||||
("<integer> to|till|before <hour-of-day>September",
|
||||
-5.688668836846153),
|
||||
("Aprilyear (latent)", -5.688668836846153),
|
||||
("monthminute", -5.688668836846153),
|
||||
("<time-of-day> am|pmtomorrow", -5.688668836846153),
|
||||
("Thursdayhh:mm", -4.772378104971998),
|
||||
-5.69035945432406),
|
||||
("Aprilyear (latent)", -5.69035945432406),
|
||||
("monthminute", -5.69035945432406),
|
||||
("<time-of-day> am|pmtomorrow", -5.69035945432406),
|
||||
("Thursdayhh:mm", -4.774068722449905),
|
||||
("August<day-of-month> (ordinal or number) <named-month>",
|
||||
-5.688668836846153),
|
||||
("minutemonth", -3.896909367618098),
|
||||
("week-endin <named-month>|year", -5.688668836846153),
|
||||
("Augustyear (latent)", -5.2832037287379885),
|
||||
-5.69035945432406),
|
||||
("minutemonth", -3.898599985096005),
|
||||
("week-endin <named-month>|year", -5.69035945432406),
|
||||
("Augustyear (latent)", -5.284894346215896),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-5.2832037287379885),
|
||||
-5.284894346215896),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.2832037287379885),
|
||||
-5.284894346215896),
|
||||
("mm/dd<time-of-day> - <time-of-day> (interval)",
|
||||
-5.2832037287379885),
|
||||
-5.284894346215896),
|
||||
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.688668836846153),
|
||||
("Sundayyear (latent)", -4.995521656286208),
|
||||
("Christmasat <time-of-day>", -5.688668836846153),
|
||||
("from|since|after <time>year (latent)", -4.435905868350785),
|
||||
-5.69035945432406),
|
||||
("Sundayyear (latent)", -4.997212273764115),
|
||||
("Christmasat <time-of-day>", -5.69035945432406),
|
||||
("from|since|after <time>year (latent)", -4.437596485828692),
|
||||
("<duration> after|before|from <time>December",
|
||||
-5.688668836846153),
|
||||
("yesterday<time-of-day> am|pm", -5.688668836846153),
|
||||
-5.69035945432406),
|
||||
("yesterday<time-of-day> am|pm", -5.69035945432406),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
|
||||
-4.772378104971998),
|
||||
("mm/ddyear (latent)", -5.688668836846153),
|
||||
-4.774068722449905),
|
||||
("mm/ddyear (latent)", -5.69035945432406),
|
||||
("Thursday<time-of-day> - <time-of-day> (interval)",
|
||||
-4.995521656286208),
|
||||
-4.997212273764115),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-5.688668836846153),
|
||||
("at <time-of-day>intersect", -5.2832037287379885),
|
||||
("hh:mmyear (latent)", -4.590056548178043),
|
||||
("Holiyear (latent)", -5.688668836846153),
|
||||
("until <time><time-of-day> am|pm", -5.688668836846153),
|
||||
-5.69035945432406),
|
||||
("at <time-of-day>intersect", -5.284894346215896),
|
||||
("hh:mmyear (latent)", -4.591747165655951),
|
||||
("Holiyear (latent)", -5.69035945432406),
|
||||
("until <time><time-of-day> am|pm", -5.69035945432406),
|
||||
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-5.688668836846153),
|
||||
("dayminute", -3.1629401925378975),
|
||||
("intersectSeptember", -4.1845914400698785),
|
||||
("minuteday", -2.6206159017125357),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.688668836846153),
|
||||
("Februaryin|during the <part-of-day>", -5.688668836846153),
|
||||
("hh:mmon <date>", -3.673765816303888),
|
||||
("Saturdayyear (latent)", -5.688668836846153),
|
||||
("from|since|after <time>on <date>", -4.772378104971998),
|
||||
-5.69035945432406),
|
||||
("dayminute", -3.164630810015805),
|
||||
("intersectSeptember", -4.186282057547786),
|
||||
("minuteday", -2.6223065191904436),
|
||||
("absorption of , after named dayintersect", -5.69035945432406),
|
||||
("Februaryin|during the <part-of-day>", -5.69035945432406),
|
||||
("hh:mmon <date>", -3.6754564337817954),
|
||||
("Saturdayyear (latent)", -5.69035945432406),
|
||||
("from|since|after <time>on <date>", -4.774068722449905),
|
||||
("absorption of , after named daySeptember",
|
||||
-4.772378104971998),
|
||||
("Naraka Chaturdashiyear (latent)", -5.688668836846153),
|
||||
("on <date>September", -5.2832037287379885),
|
||||
("at <time-of-day>on <date>", -5.2832037287379885),
|
||||
("in <named-month>|yearyear (latent)", -5.688668836846153),
|
||||
("dayweek", -5.688668836846153),
|
||||
("Easter Sundayyear (latent)", -5.2832037287379885),
|
||||
("Thursday<time-of-day> am|pm", -4.995521656286208),
|
||||
-4.774068722449905),
|
||||
("Naraka Chaturdashiyear (latent)", -5.69035945432406),
|
||||
("on <date>September", -5.284894346215896),
|
||||
("at <time-of-day>on <date>", -5.284894346215896),
|
||||
("in <named-month>|yearyear (latent)", -5.69035945432406),
|
||||
("dayweek", -5.69035945432406),
|
||||
("Easter Sundayyear (latent)", -5.284894346215896),
|
||||
("Thursday<time-of-day> am|pm", -4.997212273764115),
|
||||
("<named-month> <day-of-month> (non ordinal)until <time>",
|
||||
-5.688668836846153),
|
||||
("Sundayfrom|since|after <time>", -5.688668836846153),
|
||||
("absorption of , after named dayFebruary", -4.772378104971998),
|
||||
-5.69035945432406),
|
||||
("Sundayfrom|since|after <time>", -5.69035945432406),
|
||||
("absorption of , after named dayFebruary", -4.774068722449905),
|
||||
("July<integer> to|till|before <hour-of-day>",
|
||||
-5.688668836846153),
|
||||
("tomorrowat <time-of-day>", -5.688668836846153),
|
||||
-5.69035945432406),
|
||||
("tomorrowat <time-of-day>", -5.69035945432406),
|
||||
("<integer> to|till|before <hour-of-day>July",
|
||||
-5.688668836846153),
|
||||
("tomorrow<time-of-day> am|pm", -5.688668836846153),
|
||||
-5.69035945432406),
|
||||
("tomorrow<time-of-day> am|pm", -5.69035945432406),
|
||||
("<named-month> <day-of-month> (non ordinal)year (latent)",
|
||||
-4.995521656286208),
|
||||
("Diwaliyear (latent)", -5.2832037287379885),
|
||||
-4.997212273764115),
|
||||
("Diwaliyear (latent)", -5.284894346215896),
|
||||
("<time-of-day> - <time-of-day> (interval)July",
|
||||
-5.688668836846153),
|
||||
("Fridayyear (latent)", -5.2832037287379885),
|
||||
("minuteyear", -4.435905868350785)],
|
||||
-5.69035945432406),
|
||||
("Fridayyear (latent)", -5.284894346215896),
|
||||
("minuteyear", -4.437596485828692)],
|
||||
n = 187}}),
|
||||
("one eleven",
|
||||
Classifier{okData =
|
||||
@ -1129,7 +1128,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in <number> (implicit minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.2039728043259361,
|
||||
ClassData{prior = -1.2367626271489267,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -1137,13 +1136,13 @@ classifiers
|
||||
("integer (0..19)", -1.2992829841302609)],
|
||||
n = 9},
|
||||
koData =
|
||||
ClassData{prior = -0.35667494393873245,
|
||||
unseen = -3.1780538303479458,
|
||||
ClassData{prior = -0.3429447511268303,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.19105523676270922),
|
||||
("integer (0..19)", -1.749199854809259)],
|
||||
n = 21}}),
|
||||
[("integer (numeric)", -0.2336148511815052),
|
||||
("integer (0..19)", -1.5686159179138452)],
|
||||
n = 22}}),
|
||||
("<ordinal> <cycle> of <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
@ -1168,8 +1167,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.332204510175204,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
|
||||
ClassData{prior = 0.0, unseen = -3.367295829986474,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 27},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1313,14 +1312,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1431008436406733, unseen = -4.997212273764115,
|
||||
ClassData{prior = -0.14126006999618074,
|
||||
unseen = -5.0106352940962555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -4.1672696400568074e-2),
|
||||
("intersect 2 numbers", -3.6041382256588457)],
|
||||
n = 143},
|
||||
[("integer (numeric)", -4.110167568555192e-2),
|
||||
("intersect 2 numbers", -3.6176519448255684)],
|
||||
n = 145},
|
||||
koData =
|
||||
ClassData{prior = -2.0149030205422647, unseen = -3.295836866004329,
|
||||
ClassData{prior = -2.0269513590584394, unseen = -3.295836866004329,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.3121863889661687),
|
||||
@ -1897,32 +1897,31 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13858616328614667,
|
||||
unseen = -5.147494476813453,
|
||||
ClassData{prior = -0.1368591827171973, unseen = -5.159055299214529,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5026062268874014),
|
||||
("integer (0..19)year (grain)", -3.062222014822824),
|
||||
("integer (numeric)day (grain)", -2.743768283704289),
|
||||
("integer (0..19)second (grain) ", -3.7553691953827695),
|
||||
("integer (0..19)hour (grain)", -3.062222014822824),
|
||||
("second", -3.349904087274605),
|
||||
("integer (numeric)second (grain) ", -4.04305126783455),
|
||||
("integer (numeric)year (grain)", -3.349904087274605),
|
||||
("day", -2.4336133554004498), ("year", -2.576714199041123),
|
||||
("integer (numeric)week (grain)", -3.062222014822824),
|
||||
("integer (0..19)month (grain)", -3.5322256440685593),
|
||||
("hour", -2.6567569067146595), ("month", -3.1957534074473464),
|
||||
("integer (numeric)minute (grain)", -3.1957534074473464),
|
||||
("integer (0..19)minute (grain)", -3.062222014822824),
|
||||
("integer (numeric)month (grain)", -4.04305126783455),
|
||||
("minute", -2.5026062268874014),
|
||||
("integer (numeric)hour (grain)", -3.5322256440685593),
|
||||
("integer (0..19)day (grain)", -3.5322256440685593),
|
||||
("integer (0..19)week (grain)", -3.1957534074473464)],
|
||||
n = 74},
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -2.9560670171615597),
|
||||
("integer (numeric)day (grain)", -2.7553963216994086),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.445241393395569), ("year", -2.5142342648825204),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 75},
|
||||
koData =
|
||||
ClassData{prior = -2.044755983691946, unseen = -3.828641396489095,
|
||||
ClassData{prior = -2.056452023455137, unseen = -3.828641396489095,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
|
||||
@ -2007,6 +2006,13 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Administrative Professionals' Day",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Thanksgiving Day",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -2241,18 +2247,20 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<day> in <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthyear", -1.2992829841302609),
|
||||
("Marcha <unit-of-duration>", -1.7047480922384253),
|
||||
("March<integer> <unit-of-duration>", -1.7047480922384253),
|
||||
[("monthyear", -1.540445040947149),
|
||||
("Marcha <unit-of-duration>", -1.9459101490553135),
|
||||
("March<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
("Vijayadashami<integer> <unit-of-duration>",
|
||||
-1.7047480922384253),
|
||||
("dayyear", -1.7047480922384253)],
|
||||
n = 3},
|
||||
-1.9459101490553135),
|
||||
("Administrative Professionals' Day<integer> <unit-of-duration>",
|
||||
-1.9459101490553135),
|
||||
("dayyear", -1.540445040947149)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.791759469228055,
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("World Vegan Day",
|
||||
Classifier{okData =
|
||||
|
@ -75,10 +75,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5958482695731459, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5841959967713904,
|
||||
unseen = -5.7430031878094825,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 310},
|
||||
koData =
|
||||
ClassData{prior = -0.8009437510156527,
|
||||
ClassData{prior = -0.8154367583182195,
|
||||
unseen = -5.5134287461649825,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 246}}),
|
||||
("<duration> hence|ago",
|
||||
@ -764,349 +765,351 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.46529034479363734,
|
||||
unseen = -6.755768921984256,
|
||||
ClassData{prior = -0.45726951929702847,
|
||||
unseen = -6.773080375655535,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Navaratriyear (latent)", -6.061456918928017),
|
||||
("Father's Dayyear (latent)", -6.061456918928017),
|
||||
("Ramadanyear (latent)", -6.061456918928017),
|
||||
[("Navaratriyear (latent)", -6.0787883752796565),
|
||||
("Father's Dayyear (latent)", -6.0787883752796565),
|
||||
("Ramadanyear (latent)", -6.0787883752796565),
|
||||
("<datetime> - <datetime> (interval)on <date>",
|
||||
-4.808693950432649),
|
||||
("Military Spouse Dayyear (latent)", -6.061456918928017),
|
||||
("Bhai Doojyear (latent)", -6.061456918928017),
|
||||
-4.826025406784289),
|
||||
("Military Spouse Dayyear (latent)", -6.0787883752796565),
|
||||
("Bhai Doojyear (latent)", -6.0787883752796565),
|
||||
("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.808693950432649),
|
||||
("hourday", -4.356708826689592),
|
||||
("dayhour", -3.258096538021482),
|
||||
("Martin Luther King's Dayyear (latent)", -5.655991810819852),
|
||||
("Shemini Atzeretyear (latent)", -6.061456918928017),
|
||||
("daymonth", -5.368309738368072),
|
||||
("monthday", -5.655991810819852),
|
||||
("monthyear", -4.4520190064939165),
|
||||
("Yom Ha'atzmautyear (latent)", -6.061456918928017),
|
||||
("Vijayadashamiyear (latent)", -6.061456918928017),
|
||||
("Thanksgiving Dayyear (latent)", -4.962844630259907),
|
||||
("Thai Pongalyear (latent)", -5.368309738368072),
|
||||
("Thiru Onamyear (latent)", -5.368309738368072),
|
||||
("Tuesdaythe <day-of-month> (ordinal)", -6.061456918928017),
|
||||
-4.826025406784289),
|
||||
("hourday", -4.374040283041231),
|
||||
("dayhour", -3.275427994373122),
|
||||
("Martin Luther King's Dayyear (latent)", -5.673323267171493),
|
||||
("Shemini Atzeretyear (latent)", -6.0787883752796565),
|
||||
("daymonth", -5.385641194719711),
|
||||
("monthday", -5.673323267171493),
|
||||
("monthyear", -4.469350462845557),
|
||||
("Yom Ha'atzmautyear (latent)", -6.0787883752796565),
|
||||
("Vijayadashamiyear (latent)", -6.0787883752796565),
|
||||
("Administrative Professionals' Dayyear (latent)",
|
||||
-4.692494014159767),
|
||||
("Thanksgiving Dayyear (latent)", -4.980176086611547),
|
||||
("Thai Pongalyear (latent)", -5.385641194719711),
|
||||
("Thiru Onamyear (latent)", -5.385641194719711),
|
||||
("Tuesdaythe <day-of-month> (ordinal)", -6.0787883752796565),
|
||||
("from <datetime> - <datetime> (interval)July",
|
||||
-6.061456918928017),
|
||||
("houryear", -5.368309738368072),
|
||||
-6.0787883752796565),
|
||||
("houryear", -5.385641194719711),
|
||||
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
|
||||
-6.061456918928017),
|
||||
("Christmas<time-of-day> am|pm", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("Christmas<time-of-day> am|pm", -6.0787883752796565),
|
||||
("last <day-of-week> of <time>year (latent)",
|
||||
-6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-5.368309738368072),
|
||||
("<time-of-day> am|pmintersect", -4.808693950432649),
|
||||
("Earth Houryear (latent)", -6.061456918928017),
|
||||
("Octoberyear (latent)", -4.808693950432649),
|
||||
("intersect<time-of-day> am|pm", -6.061456918928017),
|
||||
("Mattu Pongalyear (latent)", -6.061456918928017),
|
||||
("Shavuotyear (latent)", -6.061456918928017),
|
||||
("Dhanterasin <named-month>|year", -6.061456918928017),
|
||||
-5.385641194719711),
|
||||
("<time-of-day> am|pmintersect", -4.826025406784289),
|
||||
("Earth Houryear (latent)", -6.0787883752796565),
|
||||
("Octoberyear (latent)", -4.826025406784289),
|
||||
("intersect<time-of-day> am|pm", -6.0787883752796565),
|
||||
("Mattu Pongalyear (latent)", -6.0787883752796565),
|
||||
("Shavuotyear (latent)", -6.0787883752796565),
|
||||
("Dhanterasin <named-month>|year", -6.0787883752796565),
|
||||
("at <time-of-day>in|within|after <duration>",
|
||||
-6.061456918928017),
|
||||
("Thursdayhh(:mm) - <time-of-day> am|pm", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("Thursdayhh(:mm) - <time-of-day> am|pm", -6.0787883752796565),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)year (latent)",
|
||||
-5.655991810819852),
|
||||
("Marchyear (latent)", -6.061456918928017),
|
||||
("Sukkotyear (latent)", -5.655991810819852),
|
||||
-5.673323267171493),
|
||||
("Marchyear (latent)", -6.0787883752796565),
|
||||
("Sukkotyear (latent)", -5.673323267171493),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"year (latent)",
|
||||
-6.061456918928017),
|
||||
("Clean Mondayyear (latent)", -5.655991810819852),
|
||||
("monthhour", -5.655991810819852),
|
||||
("todayat <time-of-day>", -6.061456918928017),
|
||||
("Thursday<time> timezone", -4.356708826689592),
|
||||
-6.0787883752796565),
|
||||
("Clean Mondayyear (latent)", -5.673323267171493),
|
||||
("monthhour", -5.673323267171493),
|
||||
("todayat <time-of-day>", -6.0787883752796565),
|
||||
("Thursday<time> timezone", -4.374040283041231),
|
||||
("this <time>hh(:mm) - <time-of-day> am|pm",
|
||||
-6.061456918928017),
|
||||
("Palm SundaySunday", -5.655991810819852),
|
||||
("Tax Daythis|last|next <cycle>", -6.061456918928017),
|
||||
("dayday", -3.8642323415917974),
|
||||
("<time> <part-of-day>at <time-of-day>", -6.061456918928017),
|
||||
("mm/ddat <time-of-day>", -6.061456918928017),
|
||||
("tonightat <time-of-day>", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("Palm SundaySunday", -5.673323267171493),
|
||||
("Tax Daythis|last|next <cycle>", -6.0787883752796565),
|
||||
("dayday", -3.8815637979434374),
|
||||
("<time> <part-of-day>at <time-of-day>", -6.0787883752796565),
|
||||
("mm/ddat <time-of-day>", -6.0787883752796565),
|
||||
("tonightat <time-of-day>", -6.0787883752796565),
|
||||
("<time-of-day> am|pmabsorption of , after named day",
|
||||
-5.368309738368072),
|
||||
("today<time-of-day> am|pm", -6.061456918928017),
|
||||
("Februarythe <day-of-month> (ordinal)", -5.655991810819852),
|
||||
("at <time-of-day><time> <part-of-day>", -6.061456918928017),
|
||||
("mm/dd<time-of-day> am|pm", -6.061456918928017),
|
||||
("hourhour", -4.808693950432649),
|
||||
("<time-of-day> am|pmon <date>", -4.046553898385752),
|
||||
("Wednesdaythis|last|next <cycle>", -6.061456918928017),
|
||||
("Lentyear (latent)", -6.061456918928017),
|
||||
-5.385641194719711),
|
||||
("today<time-of-day> am|pm", -6.0787883752796565),
|
||||
("Februarythe <day-of-month> (ordinal)", -5.673323267171493),
|
||||
("at <time-of-day><time> <part-of-day>", -6.0787883752796565),
|
||||
("mm/dd<time-of-day> am|pm", -6.0787883752796565),
|
||||
("hourhour", -4.826025406784289),
|
||||
("<time-of-day> am|pmon <date>", -4.063885354737392),
|
||||
("Wednesdaythis|last|next <cycle>", -6.0787883752796565),
|
||||
("Lentyear (latent)", -6.0787883752796565),
|
||||
("intersect<named-month> <day-of-month> (non ordinal)",
|
||||
-4.557379522151743),
|
||||
("Boghiyear (latent)", -6.061456918928017),
|
||||
("dayyear", -1.9183221925364844),
|
||||
("Thursdayfrom|since|after <time>", -5.655991810819852),
|
||||
-4.574710978503383),
|
||||
("Boghiyear (latent)", -6.0787883752796565),
|
||||
("dayyear", -1.8815864276178484),
|
||||
("Thursdayfrom|since|after <time>", -5.673323267171493),
|
||||
("<time-of-day> o'clockin|during the <part-of-day>",
|
||||
-6.061456918928017),
|
||||
("Thursdayat <time-of-day>", -5.655991810819852),
|
||||
("Islamic New Yearyear (latent)", -5.655991810819852),
|
||||
("Laylat al-Qadryear (latent)", -5.145166187053862),
|
||||
("Chhathin <named-month>|year", -6.061456918928017),
|
||||
("Vasant Panchamiin <named-month>|year", -6.061456918928017),
|
||||
("Diwaliin <named-month>|year", -6.061456918928017),
|
||||
("Shrove Tuesdayyear (latent)", -6.061456918928017),
|
||||
("<time-of-day> am|pmtomorrow", -5.368309738368072),
|
||||
("Yom Kippuryear (latent)", -6.061456918928017),
|
||||
("<part-of-day> of <time>year (latent)", -6.061456918928017),
|
||||
("minutehour", -5.145166187053862),
|
||||
("Kaanum Pongalyear (latent)", -5.655991810819852),
|
||||
("Maha Saptamiyear (latent)", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("Thursdayat <time-of-day>", -5.673323267171493),
|
||||
("Islamic New Yearyear (latent)", -5.673323267171493),
|
||||
("Laylat al-Qadryear (latent)", -5.162497643405502),
|
||||
("Chhathin <named-month>|year", -6.0787883752796565),
|
||||
("Vasant Panchamiin <named-month>|year", -6.0787883752796565),
|
||||
("Diwaliin <named-month>|year", -6.0787883752796565),
|
||||
("Shrove Tuesdayyear (latent)", -6.0787883752796565),
|
||||
("<time-of-day> am|pmtomorrow", -5.385641194719711),
|
||||
("Yom Kippuryear (latent)", -6.0787883752796565),
|
||||
("<part-of-day> of <time>year (latent)", -6.0787883752796565),
|
||||
("minutehour", -5.162497643405502),
|
||||
("Kaanum Pongalyear (latent)", -5.673323267171493),
|
||||
("Maha Saptamiyear (latent)", -6.0787883752796565),
|
||||
("at <time-of-day>in|during the <part-of-day>",
|
||||
-5.655991810819852),
|
||||
-5.673323267171493),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.356708826689592),
|
||||
("for <duration> from <time>December", -6.061456918928017),
|
||||
("tomorrow<time-of-day> sharp|exactly", -6.061456918928017),
|
||||
-4.374040283041231),
|
||||
("for <duration> from <time>December", -6.0787883752796565),
|
||||
("tomorrow<time-of-day> sharp|exactly", -6.0787883752796565),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-5.145166187053862),
|
||||
-5.162497643405502),
|
||||
("on <date><named-month> <day-of-month> (non ordinal)",
|
||||
-5.655991810819852),
|
||||
("Pentecostyear (latent)", -6.061456918928017),
|
||||
-5.673323267171493),
|
||||
("Pentecostyear (latent)", -6.0787883752796565),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.145166187053862),
|
||||
("Eid al-Fitryear (latent)", -6.061456918928017),
|
||||
("Mondayin|during the <part-of-day>", -6.061456918928017),
|
||||
("Raksha Bandhanyear (latent)", -6.061456918928017),
|
||||
-5.162497643405502),
|
||||
("Eid al-Fitryear (latent)", -6.0787883752796565),
|
||||
("Mondayin|during the <part-of-day>", -6.0787883752796565),
|
||||
("Raksha Bandhanyear (latent)", -6.0787883752796565),
|
||||
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.655991810819852),
|
||||
("Emancipation Dayyear (latent)", -5.368309738368072),
|
||||
("Navaratriin <named-month>|year", -6.061456918928017),
|
||||
("Ashurayear (latent)", -6.061456918928017),
|
||||
("Chinese New Yearyear (latent)", -6.061456918928017),
|
||||
("Sundayyear (latent)", -6.061456918928017),
|
||||
("Lag BaOmeryear (latent)", -6.061456918928017),
|
||||
-5.673323267171493),
|
||||
("Emancipation Dayyear (latent)", -5.385641194719711),
|
||||
("Navaratriin <named-month>|year", -6.0787883752796565),
|
||||
("Ashurayear (latent)", -6.0787883752796565),
|
||||
("Chinese New Yearyear (latent)", -6.0787883752796565),
|
||||
("Sundayyear (latent)", -6.0787883752796565),
|
||||
("Lag BaOmeryear (latent)", -6.0787883752796565),
|
||||
("last weekend of <named-month>year (latent)",
|
||||
-6.061456918928017),
|
||||
("Eid al-Adhayear (latent)", -5.145166187053862),
|
||||
("intersectin|during the <part-of-day>", -6.061456918928017),
|
||||
("Christmasat <time-of-day>", -6.061456918928017),
|
||||
("Passoveryear (latent)", -6.061456918928017),
|
||||
("Lazarus Saturdayyear (latent)", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("Eid al-Adhayear (latent)", -5.162497643405502),
|
||||
("intersectin|during the <part-of-day>", -6.0787883752796565),
|
||||
("Christmasat <time-of-day>", -6.0787883752796565),
|
||||
("Passoveryear (latent)", -6.0787883752796565),
|
||||
("Lazarus Saturdayyear (latent)", -6.0787883752796565),
|
||||
("<day-of-month> (ordinal or number) <named-month>year (latent)",
|
||||
-6.061456918928017),
|
||||
("Cyber Mondayyear (latent)", -5.655991810819852),
|
||||
("Yom HaShoahyear (latent)", -5.655991810819852),
|
||||
-6.0787883752796565),
|
||||
("Cyber Mondayyear (latent)", -5.673323267171493),
|
||||
("Yom HaShoahyear (latent)", -5.673323267171493),
|
||||
("Thursday<datetime> - <datetime> (interval)",
|
||||
-5.655991810819852),
|
||||
-5.673323267171493),
|
||||
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
|
||||
-6.061456918928017),
|
||||
("Thai Pongalin <named-month>|year", -6.061456918928017),
|
||||
("Septemberyear (latent)", -5.655991810819852),
|
||||
("mm/ddyear (latent)", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("Thai Pongalin <named-month>|year", -6.0787883752796565),
|
||||
("Septemberyear (latent)", -5.673323267171493),
|
||||
("mm/ddyear (latent)", -6.0787883752796565),
|
||||
("Thursday<time-of-day> - <time-of-day> (interval)",
|
||||
-4.808693950432649),
|
||||
("Halloweenyear (latent)", -6.061456918928017),
|
||||
-4.826025406784289),
|
||||
("Halloweenyear (latent)", -6.0787883752796565),
|
||||
("from <time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-5.368309738368072),
|
||||
-5.385641194719711),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
|
||||
-5.145166187053862),
|
||||
("at <time-of-day>intersect", -5.655991810819852),
|
||||
("Rosh Hashanahyear (latent)", -6.061456918928017),
|
||||
("Dhanterasyear (latent)", -6.061456918928017),
|
||||
("Tu BiShvatyear (latent)", -6.061456918928017),
|
||||
("Holiyear (latent)", -5.368309738368072),
|
||||
-5.162497643405502),
|
||||
("at <time-of-day>intersect", -5.673323267171493),
|
||||
("Rosh Hashanahyear (latent)", -6.0787883752796565),
|
||||
("Dhanterasyear (latent)", -6.0787883752796565),
|
||||
("Tu BiShvatyear (latent)", -6.0787883752796565),
|
||||
("Holiyear (latent)", -5.385641194719711),
|
||||
("<time-of-day> - <time-of-day> (interval)tomorrow",
|
||||
-6.061456918928017),
|
||||
("Holika Dahanyear (latent)", -5.368309738368072),
|
||||
-6.0787883752796565),
|
||||
("Holika Dahanyear (latent)", -5.385641194719711),
|
||||
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-6.061456918928017),
|
||||
("dayminute", -3.4223995893127586),
|
||||
("Mawlidyear (latent)", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("dayminute", -3.4397310456643986),
|
||||
("Mawlidyear (latent)", -6.0787883752796565),
|
||||
("from <datetime> - <datetime> (interval)on <date>",
|
||||
-5.655991810819852),
|
||||
-5.673323267171493),
|
||||
("<datetime> - <datetime> (interval)tomorrow",
|
||||
-6.061456918928017),
|
||||
("Jumu'atul-Widayear (latent)", -5.145166187053862),
|
||||
-6.0787883752796565),
|
||||
("Jumu'atul-Widayear (latent)", -5.162497643405502),
|
||||
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-6.061456918928017),
|
||||
("minuteday", -2.4238707592016313),
|
||||
-6.0787883752796565),
|
||||
("minuteday", -2.4412022155532713),
|
||||
("absorption of , after named dayintersect",
|
||||
-6.061456918928017),
|
||||
("intersectyear (latent)", -6.061456918928017),
|
||||
("Orthodox Easter Sundayyear (latent)", -6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("intersectyear (latent)", -6.0787883752796565),
|
||||
("Orthodox Easter Sundayyear (latent)", -6.0787883752796565),
|
||||
("<ordinal> <cycle> of <time>year (latent)",
|
||||
-6.061456918928017),
|
||||
-6.0787883752796565),
|
||||
("the <day-of-month> (ordinal)in|during the <part-of-day>",
|
||||
-6.061456918928017),
|
||||
("Boss's Dayyear (latent)", -5.655991810819852),
|
||||
("Global Youth Service Dayyear (latent)", -6.061456918928017),
|
||||
("Tisha B'Avyear (latent)", -6.061456918928017),
|
||||
("Isra and Mi'rajyear (latent)", -5.145166187053862),
|
||||
-6.0787883752796565),
|
||||
("Boss's Dayyear (latent)", -5.673323267171493),
|
||||
("Global Youth Service Dayyear (latent)", -6.0787883752796565),
|
||||
("Tisha B'Avyear (latent)", -6.0787883752796565),
|
||||
("Isra and Mi'rajyear (latent)", -5.162497643405502),
|
||||
("at <time-of-day>absorption of , after named day",
|
||||
-6.061456918928017),
|
||||
("Christmasyear (latent)", -5.655991810819852),
|
||||
("Naraka Chaturdashiyear (latent)", -5.655991810819852),
|
||||
("at <time-of-day>on <date>", -4.962844630259907),
|
||||
-6.0787883752796565),
|
||||
("Christmasyear (latent)", -5.673323267171493),
|
||||
("Naraka Chaturdashiyear (latent)", -5.673323267171493),
|
||||
("at <time-of-day>on <date>", -4.980176086611547),
|
||||
("between <time-of-day> and <time-of-day> (interval)on <date>",
|
||||
-4.4520190064939165),
|
||||
("dayweek", -6.061456918928017),
|
||||
("Easter Sundayyear (latent)", -5.368309738368072),
|
||||
("weekyear", -5.655991810819852),
|
||||
("hh:mmin|during the <part-of-day>", -5.368309738368072),
|
||||
-4.469350462845557),
|
||||
("dayweek", -6.0787883752796565),
|
||||
("Easter Sundayyear (latent)", -5.385641194719711),
|
||||
("weekyear", -5.673323267171493),
|
||||
("hh:mmin|during the <part-of-day>", -5.385641194719711),
|
||||
("<cycle> after|before <time><time-of-day> am|pm",
|
||||
-5.655991810819852),
|
||||
("Hanukkahyear (latent)", -6.061456918928017),
|
||||
("February<time> <part-of-day>", -6.061456918928017),
|
||||
("National Grandparents Dayyear (latent)", -6.061456918928017),
|
||||
("Tuesdayin <named-month>|year", -6.061456918928017),
|
||||
("Great Lentyear (latent)", -6.061456918928017),
|
||||
("tomorrowat <time-of-day>", -5.368309738368072),
|
||||
("Labor Dayyear (latent)", -6.061456918928017),
|
||||
("between <time> and <time>on <date>", -4.4520190064939165),
|
||||
("last <cycle> of <time>year (latent)", -5.368309738368072),
|
||||
("at <time-of-day>tomorrow", -5.655991810819852),
|
||||
("tomorrow<time-of-day> am|pm", -6.061456918928017),
|
||||
("President's Dayyear (latent)", -6.061456918928017),
|
||||
-5.673323267171493),
|
||||
("Hanukkahyear (latent)", -6.0787883752796565),
|
||||
("February<time> <part-of-day>", -6.0787883752796565),
|
||||
("National Grandparents Dayyear (latent)", -6.0787883752796565),
|
||||
("Tuesdayin <named-month>|year", -6.0787883752796565),
|
||||
("Great Lentyear (latent)", -6.0787883752796565),
|
||||
("tomorrowat <time-of-day>", -5.385641194719711),
|
||||
("Labor Dayyear (latent)", -6.0787883752796565),
|
||||
("between <time> and <time>on <date>", -4.469350462845557),
|
||||
("last <cycle> of <time>year (latent)", -5.385641194719711),
|
||||
("at <time-of-day>tomorrow", -5.673323267171493),
|
||||
("tomorrow<time-of-day> am|pm", -6.0787883752796565),
|
||||
("President's Dayyear (latent)", -6.0787883752796565),
|
||||
("<named-month> <day-of-month> (non ordinal)year (latent)",
|
||||
-6.061456918928017),
|
||||
("Diwaliyear (latent)", -6.061456918928017),
|
||||
("Black Fridayyear (latent)", -5.655991810819852),
|
||||
-6.0787883752796565),
|
||||
("Diwaliyear (latent)", -6.0787883752796565),
|
||||
("Black Fridayyear (latent)", -5.673323267171493),
|
||||
("in|during the <part-of-day>at <time-of-day>",
|
||||
-6.061456918928017),
|
||||
("Chhathyear (latent)", -5.655991810819852),
|
||||
("Vasant Panchamiyear (latent)", -6.061456918928017),
|
||||
("Palm Sundayintersect", -6.061456918928017),
|
||||
("Tax Dayyear (latent)", -5.145166187053862),
|
||||
-6.0787883752796565),
|
||||
("Chhathyear (latent)", -5.673323267171493),
|
||||
("Vasant Panchamiyear (latent)", -6.0787883752796565),
|
||||
("Palm Sundayintersect", -6.0787883752796565),
|
||||
("Tax Dayyear (latent)", -5.162497643405502),
|
||||
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
|
||||
-6.061456918928017),
|
||||
("Februaryintersect", -6.061456918928017),
|
||||
("Mother's Dayyear (latent)", -6.061456918928017),
|
||||
("Simchat Torahyear (latent)", -6.061456918928017),
|
||||
("minuteyear", -6.061456918928017)],
|
||||
n = 319},
|
||||
-6.0787883752796565),
|
||||
("Februaryintersect", -6.0787883752796565),
|
||||
("Mother's Dayyear (latent)", -6.0787883752796565),
|
||||
("Simchat Torahyear (latent)", -6.0787883752796565),
|
||||
("minuteyear", -6.0787883752796565)],
|
||||
n = 326},
|
||||
koData =
|
||||
ClassData{prior = -0.9887344325188395, unseen = -6.395261598115449,
|
||||
ClassData{prior = -1.0024198856040938, unseen = -6.396929655216146,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.784152841516532),
|
||||
("hourday", -4.784152841516532),
|
||||
-4.785823685681349),
|
||||
("hourday", -4.785823685681349),
|
||||
("<named-month> <day-of-month> (non ordinal)July",
|
||||
-5.700443573390687),
|
||||
("dayhour", -3.1354942159291497),
|
||||
("Tuesdayfrom|since|after <time>", -5.700443573390687),
|
||||
("daymonth", -3.5603774098944156),
|
||||
("monthday", -5.294978465282522),
|
||||
("monthyear", -4.447680604895319),
|
||||
("<time-of-day> am|pmyear (latent)", -5.294978465282522),
|
||||
("Thai Pongalyear (latent)", -5.0072963928307415),
|
||||
("intersecthh:mm", -5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("dayhour", -3.137165060093967),
|
||||
("Tuesdayfrom|since|after <time>", -5.702114417555504),
|
||||
("daymonth", -3.562048254059233),
|
||||
("monthday", -5.296649309447339),
|
||||
("monthyear", -4.449351449060136),
|
||||
("<time-of-day> am|pmyear (latent)", -5.296649309447339),
|
||||
("Thai Pongalyear (latent)", -5.0089672369955585),
|
||||
("intersecthh:mm", -5.702114417555504),
|
||||
("from <datetime> - <datetime> (interval)July",
|
||||
-5.700443573390687),
|
||||
("houryear", -4.784152841516532),
|
||||
-5.702114417555504),
|
||||
("houryear", -4.785823685681349),
|
||||
("from <time-of-day> - <time-of-day> (interval)July",
|
||||
-5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-5.0072963928307415),
|
||||
("<time-of-day> am|pmintersect", -4.447680604895319),
|
||||
("until <time>on <date>", -5.0072963928307415),
|
||||
("Octoberyear (latent)", -5.700443573390687),
|
||||
-5.0089672369955585),
|
||||
("<time-of-day> am|pmintersect", -4.449351449060136),
|
||||
("until <time>on <date>", -5.0089672369955585),
|
||||
("Octoberyear (latent)", -5.702114417555504),
|
||||
("July<day-of-month> (ordinal or number) <named-month>",
|
||||
-5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)year (latent)",
|
||||
-4.447680604895319),
|
||||
-4.449351449060136),
|
||||
("about|exactly <time-of-day>year (latent)",
|
||||
-5.700443573390687),
|
||||
("absorption of , after named dayJuly", -5.294978465282522),
|
||||
("from|since|after <time>July", -5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("absorption of , after named dayJuly", -5.296649309447339),
|
||||
("from|since|after <time>July", -5.702114417555504),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"year (latent)",
|
||||
-4.784152841516532),
|
||||
("Clean Mondayyear (latent)", -5.700443573390687),
|
||||
("monthhour", -5.700443573390687),
|
||||
("hourmonth", -4.784152841516532),
|
||||
("todayat <time-of-day>", -5.700443573390687),
|
||||
("from|since|after <time>December", -5.700443573390687),
|
||||
-4.785823685681349),
|
||||
("Clean Mondayyear (latent)", -5.702114417555504),
|
||||
("monthhour", -5.702114417555504),
|
||||
("hourmonth", -4.785823685681349),
|
||||
("todayat <time-of-day>", -5.702114417555504),
|
||||
("from|since|after <time>December", -5.702114417555504),
|
||||
("from|since|after <time><time-of-day> am|pm",
|
||||
-5.700443573390687),
|
||||
("Mondayyear (latent)", -4.601831284722577),
|
||||
("dayday", -5.294978465282522),
|
||||
("mm/ddat <time-of-day>", -5.294978465282522),
|
||||
("<time-of-day> am|pmon <date>", -4.447680604895319),
|
||||
("dayyear", -2.680018687246324),
|
||||
("Thursdaymm/dd", -5.700443573390687),
|
||||
("New Year's Dayyear (latent)", -5.294978465282522),
|
||||
("Thursdayfrom|since|after <time>", -3.995695481152261),
|
||||
("Thursdayat <time-of-day>", -4.447680604895319),
|
||||
-5.702114417555504),
|
||||
("Mondayyear (latent)", -4.603502128887395),
|
||||
("dayday", -5.296649309447339),
|
||||
("mm/ddat <time-of-day>", -5.296649309447339),
|
||||
("<time-of-day> am|pmon <date>", -4.449351449060136),
|
||||
("dayyear", -2.6816895314111413),
|
||||
("Thursdaymm/dd", -5.702114417555504),
|
||||
("New Year's Dayyear (latent)", -5.296649309447339),
|
||||
("Thursdayfrom|since|after <time>", -3.997366325317079),
|
||||
("Thursdayat <time-of-day>", -4.449351449060136),
|
||||
("<integer> to|till|before <hour-of-day>September",
|
||||
-5.700443573390687),
|
||||
("Aprilyear (latent)", -5.700443573390687),
|
||||
("monthminute", -5.700443573390687),
|
||||
("<time-of-day> am|pmtomorrow", -5.700443573390687),
|
||||
("Thursdayhh:mm", -4.784152841516532),
|
||||
-5.702114417555504),
|
||||
("Aprilyear (latent)", -5.702114417555504),
|
||||
("monthminute", -5.702114417555504),
|
||||
("<time-of-day> am|pmtomorrow", -5.702114417555504),
|
||||
("Thursdayhh:mm", -4.785823685681349),
|
||||
("August<day-of-month> (ordinal or number) <named-month>",
|
||||
-5.700443573390687),
|
||||
("minutemonth", -3.9086841041626315),
|
||||
("week-endin <named-month>|year", -5.700443573390687),
|
||||
("Augustyear (latent)", -5.294978465282522),
|
||||
-5.702114417555504),
|
||||
("minutemonth", -3.910354948327449),
|
||||
("week-endin <named-month>|year", -5.702114417555504),
|
||||
("Augustyear (latent)", -5.296649309447339),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-5.294978465282522),
|
||||
-5.296649309447339),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.294978465282522),
|
||||
-5.296649309447339),
|
||||
("mm/dd<time-of-day> - <time-of-day> (interval)",
|
||||
-5.294978465282522),
|
||||
-5.296649309447339),
|
||||
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.700443573390687),
|
||||
("Sundayyear (latent)", -5.0072963928307415),
|
||||
("Christmasat <time-of-day>", -5.700443573390687),
|
||||
("from|since|after <time>year (latent)", -4.447680604895319),
|
||||
-5.702114417555504),
|
||||
("Sundayyear (latent)", -5.0089672369955585),
|
||||
("Christmasat <time-of-day>", -5.702114417555504),
|
||||
("from|since|after <time>year (latent)", -4.449351449060136),
|
||||
("<duration> after|before|from <time>December",
|
||||
-5.700443573390687),
|
||||
("yesterday<time-of-day> am|pm", -5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("yesterday<time-of-day> am|pm", -5.702114417555504),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
|
||||
-4.784152841516532),
|
||||
("mm/ddyear (latent)", -5.700443573390687),
|
||||
-4.785823685681349),
|
||||
("mm/ddyear (latent)", -5.702114417555504),
|
||||
("Thursday<time-of-day> - <time-of-day> (interval)",
|
||||
-5.0072963928307415),
|
||||
-5.0089672369955585),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-5.700443573390687),
|
||||
("at <time-of-day>intersect", -5.294978465282522),
|
||||
("hh:mmyear (latent)", -4.601831284722577),
|
||||
("Holiyear (latent)", -5.700443573390687),
|
||||
("until <time><time-of-day> am|pm", -5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("at <time-of-day>intersect", -5.296649309447339),
|
||||
("hh:mmyear (latent)", -4.603502128887395),
|
||||
("Holiyear (latent)", -5.702114417555504),
|
||||
("until <time><time-of-day> am|pm", -5.702114417555504),
|
||||
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-5.700443573390687),
|
||||
("dayminute", -3.174714929082431),
|
||||
("intersectSeptember", -4.196366176614412),
|
||||
("minuteday", -2.6323906382570694),
|
||||
-5.702114417555504),
|
||||
("dayminute", -3.1763857732472487),
|
||||
("intersectSeptember", -4.19803702077923),
|
||||
("minuteday", -2.634061482421887),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.700443573390687),
|
||||
("Februaryin|during the <part-of-day>", -5.700443573390687),
|
||||
("hh:mmon <date>", -3.6855405528484217),
|
||||
("Saturdayyear (latent)", -5.700443573390687),
|
||||
("from|since|after <time>on <date>", -4.784152841516532),
|
||||
-5.702114417555504),
|
||||
("Februaryin|during the <part-of-day>", -5.702114417555504),
|
||||
("hh:mmon <date>", -3.687211397013239),
|
||||
("Saturdayyear (latent)", -5.702114417555504),
|
||||
("from|since|after <time>on <date>", -4.785823685681349),
|
||||
("absorption of , after named daySeptember",
|
||||
-4.784152841516532),
|
||||
("Naraka Chaturdashiyear (latent)", -5.700443573390687),
|
||||
("on <date>September", -5.294978465282522),
|
||||
("at <time-of-day>on <date>", -5.294978465282522),
|
||||
("in <named-month>|yearyear (latent)", -5.700443573390687),
|
||||
("dayweek", -5.700443573390687),
|
||||
("Easter Sundayyear (latent)", -5.294978465282522),
|
||||
("Thursday<time-of-day> am|pm", -5.0072963928307415),
|
||||
-4.785823685681349),
|
||||
("Naraka Chaturdashiyear (latent)", -5.702114417555504),
|
||||
("on <date>September", -5.296649309447339),
|
||||
("at <time-of-day>on <date>", -5.296649309447339),
|
||||
("in <named-month>|yearyear (latent)", -5.702114417555504),
|
||||
("dayweek", -5.702114417555504),
|
||||
("Easter Sundayyear (latent)", -5.296649309447339),
|
||||
("Thursday<time-of-day> am|pm", -5.0089672369955585),
|
||||
("<named-month> <day-of-month> (non ordinal)until <time>",
|
||||
-5.700443573390687),
|
||||
("Sundayfrom|since|after <time>", -5.700443573390687),
|
||||
("absorption of , after named dayFebruary", -4.784152841516532),
|
||||
-5.702114417555504),
|
||||
("Sundayfrom|since|after <time>", -5.702114417555504),
|
||||
("absorption of , after named dayFebruary", -4.785823685681349),
|
||||
("July<integer> to|till|before <hour-of-day>",
|
||||
-5.700443573390687),
|
||||
("tomorrowat <time-of-day>", -5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("tomorrowat <time-of-day>", -5.702114417555504),
|
||||
("<integer> to|till|before <hour-of-day>July",
|
||||
-5.700443573390687),
|
||||
("tomorrow<time-of-day> am|pm", -5.700443573390687),
|
||||
-5.702114417555504),
|
||||
("tomorrow<time-of-day> am|pm", -5.702114417555504),
|
||||
("<named-month> <day-of-month> (non ordinal)year (latent)",
|
||||
-5.0072963928307415),
|
||||
("Diwaliyear (latent)", -5.294978465282522),
|
||||
-5.0089672369955585),
|
||||
("Diwaliyear (latent)", -5.296649309447339),
|
||||
("<time-of-day> - <time-of-day> (interval)July",
|
||||
-5.700443573390687),
|
||||
("Fridayyear (latent)", -5.294978465282522),
|
||||
("minuteyear", -4.447680604895319)],
|
||||
-5.702114417555504),
|
||||
("Fridayyear (latent)", -5.296649309447339),
|
||||
("minuteyear", -4.449351449060136)],
|
||||
n = 189}}),
|
||||
("one eleven",
|
||||
Classifier{okData =
|
||||
@ -1317,14 +1320,14 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1421744887805426, unseen = -5.003946305945459,
|
||||
ClassData{prior = -0.1351747783682526, unseen = -5.056245805348308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -4.1385216162854364e-2),
|
||||
("intersect 2 numbers", -3.6109179126442243)],
|
||||
n = 144},
|
||||
[("integer (numeric)", -3.922071315328127e-2),
|
||||
("intersect 2 numbers", -3.6635616461296463)],
|
||||
n = 152},
|
||||
koData =
|
||||
ClassData{prior = -2.020945334998227, unseen = -3.295836866004329,
|
||||
ClassData{prior = -2.068012845856213, unseen = -3.295836866004329,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.3121863889661687),
|
||||
@ -2014,6 +2017,13 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Administrative Professionals' Day",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Thanksgiving Day",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -2271,99 +2281,100 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.48550781578170077,
|
||||
unseen = -5.062595033026967,
|
||||
ClassData{prior = -0.4776275543563949, unseen = -5.081404364984463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday<named-month> <day-of-month> (non ordinal)",
|
||||
-4.363098624788362),
|
||||
("dayhour", -3.9576335166801986),
|
||||
("daymonth", -3.1103356562929947),
|
||||
-4.382026634673881),
|
||||
("dayhour", -3.9765615265657175),
|
||||
("daymonth", -3.1292636661785136),
|
||||
("<named-month> <day-of-month> (non ordinal)Friday",
|
||||
-4.363098624788362),
|
||||
-4.382026634673881),
|
||||
("Friday<named-month> <day-of-month> (non ordinal)",
|
||||
-3.6699514442284173),
|
||||
("Wednesdayintersect", -4.363098624788362),
|
||||
("Labor Daythis|last|next <cycle>", -4.363098624788362),
|
||||
("Black Fridaythis|last|next <cycle>", -4.363098624788362),
|
||||
("<part-of-day> of <time>February", -4.363098624788362),
|
||||
("Saturday<time-of-day> am|pm", -4.363098624788362),
|
||||
-3.6888794541139363),
|
||||
("Wednesdayintersect", -4.382026634673881),
|
||||
("Labor Daythis|last|next <cycle>", -4.382026634673881),
|
||||
("Administrative Professionals' Dayyear (latent)",
|
||||
-4.382026634673881),
|
||||
("Black Fridaythis|last|next <cycle>", -4.382026634673881),
|
||||
("<part-of-day> of <time>February", -4.382026634673881),
|
||||
("Saturday<time-of-day> am|pm", -4.382026634673881),
|
||||
("Martin Luther King's Daythis|last|next <cycle>",
|
||||
-3.9576335166801986),
|
||||
-3.9765615265657175),
|
||||
("intersect by \",\", \"of\", \"from\", \"'s\"year (latent)",
|
||||
-4.363098624788362),
|
||||
("on <date><time-of-day> am|pm", -4.363098624788362),
|
||||
("hourmonth", -4.363098624788362),
|
||||
("dayday", -2.4912964478867714),
|
||||
("the <day-of-month> (ordinal)February", -3.9576335166801986),
|
||||
("WednesdayOctober", -4.363098624788362),
|
||||
("Wednesdaythis|last|next <cycle>", -3.9576335166801986),
|
||||
-4.382026634673881),
|
||||
("on <date><time-of-day> am|pm", -4.382026634673881),
|
||||
("hourmonth", -4.382026634673881),
|
||||
("dayday", -2.5102244577722903),
|
||||
("the <day-of-month> (ordinal)February", -3.9765615265657175),
|
||||
("WednesdayOctober", -4.382026634673881),
|
||||
("Wednesdaythis|last|next <cycle>", -3.9765615265657175),
|
||||
("intersect<named-month> <day-of-month> (non ordinal)",
|
||||
-3.4468078929142076),
|
||||
("dayyear", -2.6583505325499375),
|
||||
-3.4657359027997265),
|
||||
("dayyear", -2.5902671654458267),
|
||||
("Saturday<named-month> <day-of-month> (non ordinal)",
|
||||
-4.363098624788362),
|
||||
("Thursdayhh:mm", -3.9576335166801986),
|
||||
("Thanksgiving Daythis|last|next <cycle>", -4.363098624788362),
|
||||
("Memorial Daythis|last|next <cycle>", -4.363098624788362),
|
||||
-4.382026634673881),
|
||||
("Thursdayhh:mm", -3.9765615265657175),
|
||||
("Thanksgiving Daythis|last|next <cycle>", -4.382026634673881),
|
||||
("Memorial Daythis|last|next <cycle>", -4.382026634673881),
|
||||
("on <date><named-month> <day-of-month> (non ordinal)",
|
||||
-3.9576335166801986),
|
||||
("TuesdayOctober", -4.363098624788362),
|
||||
("the <day-of-month> (ordinal)March", -4.363098624788362),
|
||||
("Mondaythis|last|next <cycle>", -4.363098624788362),
|
||||
-3.9765615265657175),
|
||||
("TuesdayOctober", -4.382026634673881),
|
||||
("the <day-of-month> (ordinal)March", -4.382026634673881),
|
||||
("Mondaythis|last|next <cycle>", -4.382026634673881),
|
||||
("Fridayintersect by \",\", \"of\", \"from\", \"'s\"",
|
||||
-4.363098624788362),
|
||||
("Fridayintersect", -4.363098624788362),
|
||||
-4.382026634673881),
|
||||
("Fridayintersect", -4.382026634673881),
|
||||
("Thursday<datetime> - <datetime> (interval)",
|
||||
-3.9576335166801986),
|
||||
-3.9765615265657175),
|
||||
("Thursday<time-of-day> - <time-of-day> (interval)",
|
||||
-3.9576335166801986),
|
||||
("Tuesdaythis|last|next <cycle>", -4.363098624788362),
|
||||
-3.9765615265657175),
|
||||
("Tuesdaythis|last|next <cycle>", -4.382026634673881),
|
||||
("Sunday<named-month> <day-of-month> (non ordinal)",
|
||||
-4.363098624788362),
|
||||
("dayminute", -2.976804263668472),
|
||||
("minuteday", -3.4468078929142076),
|
||||
("this|last|next <cycle>Sunday", -4.363098624788362),
|
||||
("intersectyear (latent)", -4.363098624788362),
|
||||
("Sundaythis|last|next <cycle>", -4.363098624788362),
|
||||
("weekday", -4.363098624788362),
|
||||
("dayweek", -3.264486336120253),
|
||||
-4.382026634673881),
|
||||
("dayminute", -2.995732273553991),
|
||||
("minuteday", -3.4657359027997265),
|
||||
("this|last|next <cycle>Sunday", -4.382026634673881),
|
||||
("intersectyear (latent)", -4.382026634673881),
|
||||
("Sundaythis|last|next <cycle>", -4.382026634673881),
|
||||
("weekday", -4.382026634673881),
|
||||
("dayweek", -3.283414346005772),
|
||||
("Monday<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9576335166801986),
|
||||
-3.9765615265657175),
|
||||
("<named-month> <day-of-month> (non ordinal)year (latent)",
|
||||
-3.9576335166801986)],
|
||||
n = 48},
|
||||
-3.9765615265657175)],
|
||||
n = 49},
|
||||
koData =
|
||||
ClassData{prior = -0.9555114450274363, unseen = -4.804021044733257,
|
||||
ClassData{prior = -0.968250470804866, unseen = -4.812184355372417,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week-endJuly", -4.102643365036796),
|
||||
("week-endOctober", -3.4094961844768505),
|
||||
("daymonth", -1.9054187877005764),
|
||||
("TuesdaySeptember", -4.102643365036796),
|
||||
("Wednesdayintersect", -4.102643365036796),
|
||||
("hourmonth", -3.004031076368686),
|
||||
("Fridaythis|last|next <cycle>", -4.102643365036796),
|
||||
("SundayFebruary", -4.102643365036796),
|
||||
("WednesdayOctober", -4.102643365036796),
|
||||
("week-endintersect", -4.102643365036796),
|
||||
("dayyear", -4.102643365036796),
|
||||
("FridayJuly", -3.6971782569286313),
|
||||
("FridaySeptember", -4.102643365036796),
|
||||
("WednesdayFebruary", -4.102643365036796),
|
||||
("minutemonth", -3.186352633162641),
|
||||
("SundayMarch", -4.102643365036796),
|
||||
("MondayFebruary", -3.6971782569286313),
|
||||
("Fridayintersect", -4.102643365036796),
|
||||
[("week-endJuly", -4.110873864173311),
|
||||
("week-endOctober", -3.417726683613366),
|
||||
("daymonth", -1.9136492868370918),
|
||||
("TuesdaySeptember", -4.110873864173311),
|
||||
("Wednesdayintersect", -4.110873864173311),
|
||||
("hourmonth", -3.012261575505202),
|
||||
("Fridaythis|last|next <cycle>", -4.110873864173311),
|
||||
("SundayFebruary", -4.110873864173311),
|
||||
("WednesdayOctober", -4.110873864173311),
|
||||
("week-endintersect", -4.110873864173311),
|
||||
("dayyear", -4.110873864173311),
|
||||
("FridayJuly", -3.7054087560651467),
|
||||
("FridaySeptember", -4.110873864173311),
|
||||
("WednesdayFebruary", -4.110873864173311),
|
||||
("minutemonth", -3.1945831322991562),
|
||||
("SundayMarch", -4.110873864173311),
|
||||
("MondayFebruary", -3.7054087560651467),
|
||||
("Fridayintersect", -4.110873864173311),
|
||||
("Thursday<time-of-day> - <time-of-day> (interval)",
|
||||
-3.6971782569286313),
|
||||
("dayminute", -3.4094961844768505),
|
||||
("SaturdaySeptember", -4.102643365036796),
|
||||
("intersectSeptember", -3.186352633162641),
|
||||
("MondayMarch", -4.102643365036796),
|
||||
("on <date>September", -3.6971782569286313),
|
||||
("Tuesdayintersect", -4.102643365036796),
|
||||
("Sundayintersect", -4.102643365036796)],
|
||||
-3.7054087560651467),
|
||||
("dayminute", -3.417726683613366),
|
||||
("SaturdaySeptember", -4.110873864173311),
|
||||
("intersectSeptember", -3.1945831322991562),
|
||||
("MondayMarch", -4.110873864173311),
|
||||
("on <date>September", -3.7054087560651467),
|
||||
("Tuesdayintersect", -4.110873864173311),
|
||||
("Sundayintersect", -4.110873864173311)],
|
||||
n = 30}}),
|
||||
("last <time>",
|
||||
Classifier{okData =
|
||||
|
@ -113,4 +113,7 @@ allExamples = concat
|
||||
, "RNA Show Day 2018"
|
||||
, "Royal Queensland Show Day in five years"
|
||||
]
|
||||
, examples (datetimeHoliday (2013, 5, 3, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "admin day"
|
||||
]
|
||||
]
|
||||
|
@ -88,7 +88,7 @@ rulePeriodicHolidays = mkRuleHolidays
|
||||
-- Fixed day/week/month, year over year
|
||||
, ( "Adelaide Cup", "adelaide cup", nthDOWOfMonth 2 1 3 )
|
||||
, ( "Administrative Professionals' Day"
|
||||
, "(admin(istrative professionals'?)|secretaries'?) day"
|
||||
, "(administrative professional|secretarie|admin)('?s'?)? day"
|
||||
, nthDOWOfMonth 1 5 5 )
|
||||
, ( "Canberra Day", "canberra day", nthDOWOfMonth 2 1 3 )
|
||||
, ( "Eight Hours Day", "eight hours day", nthDOWOfMonth 2 1 3 )
|
||||
|
@ -143,4 +143,11 @@ allExamples = concat
|
||||
[ "Groundhog day"
|
||||
, "groundhogs day"
|
||||
]
|
||||
, examples (datetimeHoliday (2010, 4, 21, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "administrative professionals' day 2010"
|
||||
]
|
||||
, examples (datetimeHoliday (2019, 4, 24, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "admin day 2019"
|
||||
, "secretaries day in six years"
|
||||
]
|
||||
]
|
||||
|
@ -23,6 +23,7 @@ import Duckling.Regex.Types
|
||||
import Duckling.Time.Helpers
|
||||
import Duckling.Time.Types (TimeData (..))
|
||||
import Duckling.Types
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
|
||||
-- Although one can see both MMDD and DDMM in Canada,
|
||||
-- there is no direct way to implement this today. Let's fallback to MMDD (US).
|
||||
@ -122,6 +123,14 @@ rulePeriodicHolidays = mkRuleHolidays
|
||||
-- Closest Monday to June 24th
|
||||
, ( "Discovery Day", "discovery\\s+day"
|
||||
, predNthClosest 0 (dayOfWeek 1) (monthDay 6 24) )
|
||||
|
||||
-- Wednesday of the last full week of April, where a full week starts on
|
||||
-- Sunday and ends on Saturday.
|
||||
, ( "Administrative Professionals' Day"
|
||||
, "(administrative professional|secretarie|admin)('?s'?)? day"
|
||||
, cycleNthAfter False TG.Day (-3) $
|
||||
predNthAfter (-1) (dayOfWeek 6) (monthDay 5 1)
|
||||
)
|
||||
]
|
||||
|
||||
rules :: [Rule]
|
||||
|
@ -92,4 +92,7 @@ allExamples = concat
|
||||
[ "labour day of last year"
|
||||
, "Labour Day 2012"
|
||||
]
|
||||
, examples (datetimeHoliday (2013, 4, 17, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "admin day"
|
||||
]
|
||||
]
|
||||
|
@ -80,7 +80,7 @@ rulePeriodicHolidays = mkRuleHolidays
|
||||
|
||||
-- Fixed day/week/month, year over year
|
||||
, ( "Administrative Professionals' Day"
|
||||
, "(admin(istrative professionals'?)|secretaries'?) day"
|
||||
, "(administrative professional|secretarie|admin)('?s'?)? day"
|
||||
, nthDOWOfMonth 3 3 4 )
|
||||
, ( "Father's Day", "father'?s?'? day", nthDOWOfMonth 1 7 9 )
|
||||
, ( "Labour Day", "labour day", nthDOWOfMonth 4 1 10 )
|
||||
|
@ -170,6 +170,20 @@ allExamples = concat
|
||||
[ "siblings day"
|
||||
, "national sibling day"
|
||||
]
|
||||
, examples (datetimeHoliday (2016, 4, 27, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "administrative professionals' day 2016"
|
||||
, "administrative professionals day 2016"
|
||||
, "administrative professional day 2016"
|
||||
, "administrative professional's day of 2016"
|
||||
, "secretaries' day 2016"
|
||||
, "admins day 2016"
|
||||
]
|
||||
, examples (datetimeHoliday (2010, 4, 21, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "administrative professionals' day 2010"
|
||||
]
|
||||
, examples (datetimeHoliday (2019, 4, 24, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "administrative professionals' day 2019"
|
||||
]
|
||||
, examples (datetimeIntervalHoliday ((2013, 4, 26, 0, 0, 0), (2013, 4, 29, 0, 0, 0)) Day "Global Youth Service Day")
|
||||
[ "national youth service day"
|
||||
]
|
||||
|
@ -232,6 +232,14 @@ rulePeriodicHolidays = mkRuleHolidays
|
||||
, nthDOWOfMonth 3 1 2
|
||||
)
|
||||
|
||||
-- Wednesday of the last full week of April, where a full week starts on
|
||||
-- Sunday and ends on Saturday.
|
||||
, ( "Administrative Professionals' Day"
|
||||
, "(administrative professional|secretarie|admin)('?s'?)? day"
|
||||
, cycleNthAfter False TG.Day (-3) $
|
||||
predNthAfter (-1) (dayOfWeek 6) (monthDay 5 1)
|
||||
)
|
||||
|
||||
-- Other
|
||||
, ( "Emancipation Day", "emancipation day"
|
||||
, predNthClosest 0 weekday $ monthDay 4 16 )
|
||||
|
@ -97,4 +97,7 @@ allExamples = concat
|
||||
[ "heroes' day"
|
||||
, "kruger day"
|
||||
]
|
||||
, examples (datetimeHoliday (2013, 9, 4, 0, 0, 0) Day "Administrative Professionals' Day")
|
||||
[ "admin day"
|
||||
]
|
||||
]
|
||||
|
@ -82,6 +82,9 @@ rulePeriodicHolidays = mkRuleHolidays
|
||||
, ( "Workers' Day", "workers'? day", monthDay 5 1 )
|
||||
|
||||
-- Fixed day/week/month, year over year
|
||||
, ( "Administrative Professionals' Day"
|
||||
, "(administrative professional|secretarie|admin)('?s'?)? day"
|
||||
, nthDOWOfMonth 1 3 9 )
|
||||
, ( "Father's Day", "father'?s?'? day", nthDOWOfMonth 3 7 6 )
|
||||
, ( "Mother's Day", "mother'?s?'? day", nthDOWOfMonth 2 7 5 )
|
||||
, ( "Thanksgiving Day", "thanks?giving( day)?", nthDOWOfMonth 4 4 11 )
|
||||
|
Loading…
Reference in New Issue
Block a user