Time/EN: Islamic holidays

Summary:
Islamic holidays from a few pre-computed reference times, based on the Umm al-Qura Calendar of Saudi Arabia.
http://www.staff.science.uu.nl/~gent0113/islam/ummalqura.htm
http://www.staff.science.uu.nl/~gent0113/islam/ummalqura_principal.htm

Reviewed By: chinmay87

Differential Revision: D7578193

fbshipit-source-id: b9e4428ad91058c24495ce27a0ae945b91291d4f
This commit is contained in:
Julien Odent 2018-04-10 16:04:23 -07:00 committed by Facebook Github Bot
parent c567abea1c
commit 944e8d73c2
20 changed files with 4190 additions and 2926 deletions

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("Thursdaydd/mm", -5.389071729816501),
("dayyear", -3.1918471524802814),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("Thursdaydd/mm", -5.413875707182309),
("dayyear", -3.162583908575814),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("Thursdaydd/mm", -5.389071729816501),
("dayyear", -3.1918471524802814),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("Thursdaydd/mm", -5.413875707182309),
("dayyear", -3.162583908575814),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6778128165598386, unseen = -5.44673737166631,
likelihoods = HashMap.fromList [("", 0.0)], n = 230},
ClassData{prior = -0.6338857165232178, unseen = -5.537334267018537,
likelihoods = HashMap.fromList [("", 0.0)], n = 252},
koData =
ClassData{prior = -0.7087203540229152, unseen = -5.41610040220442,
ClassData{prior = -0.7561430325745224, unseen = -5.41610040220442,
likelihoods = HashMap.fromList [("", 0.0)], n = 223}}),
("<duration> hence|ago",
Classifier{okData =
@ -157,6 +157,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -701,290 +708,300 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4472466421231193, unseen = -6.516193076042964,
ClassData{prior = -0.420063907529317, unseen = -6.591673732008658,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.568802541817217),
("Lentyear", -5.821565510312585),
-4.6443908991413725),
("Islamic New Yearyear", -5.491688759528576),
("Lentyear", -5.8971538676367405),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("National Patriots' Dayyear", -5.128418329752639),
("daymonth", -5.128418329752639),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
-4.6443908991413725),
("hourday", -4.192405775398315),
("dayhour", -2.9793831355524616),
("National Patriots' Dayyear", -5.204006687076795),
("daymonth", -5.204006687076795),
("Laylat al-Qadryear", -4.980863135762585),
("monthday", -5.491688759528576),
("monthyear", -4.28771595520264),
("Tuesdaythe <day-of-month> (ordinal)", -5.8971538676367405),
("Easter Sundayyear", -5.204006687076795),
("Christmasyear", -5.491688759528576),
("from <datetime> - <datetime> (interval)July",
-5.821565510312585),
("houryear", -5.41610040220442),
-5.8971538676367405),
("Isra and Mi'rajyear", -4.980863135762585),
("houryear", -5.491688759528576),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
-5.8971538676367405),
("Christmas<time-of-day> am|pm", -5.8971538676367405),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
-5.204006687076795),
("Sukkotyear", -5.491688759528576),
("<time-of-day> am|pmintersect", -4.6443908991413725),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.821565510312585),
("Marchyear", -5.821565510312585),
-5.8971538676367405),
("Marchyear", -5.8971538676367405),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
-5.491688759528576),
("intersect<time-of-day> am|pm", -5.8971538676367405),
("Clean Mondayyear", -5.491688759528576),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.8971538676367405),
("Rosh Hashanahyear", -5.8971538676367405),
("Mawlidyear", -5.8971538676367405),
("Jumu'atul-Widayear", -4.980863135762585),
("monthhour", -5.491688759528576),
("last <day-of-week> of <time>year", -5.8971538676367405),
("todayat <time-of-day>", -5.8971538676367405),
("Thursday<time> timezone", -4.192405775398315),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("Thanksgiving Dayyear", -4.722953221644475),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("mm/ddat <time-of-day>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
-5.8971538676367405),
("Yom Ha'atzmautyear", -5.8971538676367405),
("Palm SundaySunday", -5.491688759528576),
("dayday", -3.6999292903005214),
("Thanksgiving Dayyear", -4.7985415789686305),
("<time> <part-of-day>at <time-of-day>", -5.8971538676367405),
("Tuesdayin <named-month>", -5.8971538676367405),
("mm/ddat <time-of-day>", -5.8971538676367405),
("tonightat <time-of-day>", -5.8971538676367405),
("<time-of-day> am|pmabsorption of , after named day",
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("mm/dd<time-of-day> am|pm", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
-5.204006687076795),
("today<time-of-day> am|pm", -5.8971538676367405),
("Februarythe <day-of-month> (ordinal)", -5.491688759528576),
("at <time-of-day><time> <part-of-day>", -5.8971538676367405),
("mm/dd<time-of-day> am|pm", -5.8971538676367405),
("hourhour", -4.6443908991413725),
("<time-of-day> am|pmon <date>", -3.882250847094476),
("Wednesdaythis|last|next <cycle>", -5.8971538676367405),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.31748811353631),
("dayyear", -2.340325420976893),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
-4.393076470860467),
("Ashurayear", -5.8971538676367405),
("dayyear", -2.1243929295421022),
("Eid al-Adhayear", -4.980863135762585),
("Lag BaOmeryear", -5.8971538676367405),
("last weekend of <named-month>year", -5.8971538676367405),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Mother's Dayyear", -5.821565510312585),
("Simchat Torahyear", -5.821565510312585),
("Victoria Dayyear", -5.41610040220442),
-5.8971538676367405),
("Sundayyear", -5.8971538676367405),
("Chinese New Yearyear", -5.8971538676367405),
("Thursdayat <time-of-day>", -5.491688759528576),
("<time-of-day> am|pmtomorrow", -5.204006687076795),
("minutehour", -4.980863135762585),
("Mother's Dayyear", -5.8971538676367405),
("Simchat Torahyear", -5.8971538676367405),
("Victoria Dayyear", -5.491688759528576),
("at <time-of-day>in|during the <part-of-day>",
-5.41610040220442),
-5.491688759528576),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
-4.192405775398315),
("for <duration> from <time>December", -5.8971538676367405),
("tomorrow<time-of-day> sharp|exactly", -5.8971538676367405),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.90527477843843),
-4.980863135762585),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.41610040220442),
-5.491688759528576),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Discovery Dayyear", -5.41610040220442),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
-4.980863135762585),
("Mondayin|during the <part-of-day>", -5.8971538676367405),
("Discovery Dayyear", -5.491688759528576),
("Shrove Tuesdayyear", -5.8971538676367405),
("<part-of-day> of <time>year", -5.8971538676367405),
("Yom Kippuryear", -5.8971538676367405),
("Hanukkahyear", -5.8971538676367405),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.41610040220442),
("Labour Dayyear", -5.821565510312585),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
-5.491688759528576),
("Labour Dayyear", -5.8971538676367405),
("intersectin|during the <part-of-day>", -5.8971538676367405),
("Christmasat <time-of-day>", -5.8971538676367405),
("Thursday<datetime> - <datetime> (interval)",
-4.90527477843843),
-4.980863135762585),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.821565510312585),
-5.8971538676367405),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.568802541817217),
-4.6443908991413725),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.128418329752639),
-5.204006687076795),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
-4.980863135762585),
("at <time-of-day>intersect", -5.491688759528576),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
-5.8971538676367405),
("Tisha B'Avyear", -5.8971538676367405),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.821565510312585),
("dayminute", -3.147416860886056),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
-5.8971538676367405),
("dayminute", -3.223005218210212),
("Boss's Dayyear", -5.491688759528576),
("Orthodox Easter Sundayyear", -5.8971538676367405),
("from <datetime> - <datetime> (interval)on <date>",
-5.41610040220442),
("intersectyear", -5.821565510312585),
-5.491688759528576),
("intersectyear", -5.8971538676367405),
("<datetime> - <datetime> (interval)tomorrow",
-5.821565510312585),
-5.8971538676367405),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
-5.491688759528576),
("<ordinal> <cycle> of <time>year", -5.8971538676367405),
("minuteday", -2.431417964837014),
("absorption of , after named dayintersect",
-5.821565510312585),
("Family Dayyear", -4.90527477843843),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
-5.8971538676367405),
("Family Dayyear", -4.980863135762585),
("Octoberyear", -4.6443908991413725),
("Shavuotyear", -5.8971538676367405),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
-5.8971538676367405),
("Yom HaShoahyear", -5.491688759528576),
("at <time-of-day>absorption of , after named day",
-5.821565510312585),
-5.8971538676367405),
("<day-of-month> (ordinal or number) <named-month>year",
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
-5.8971538676367405),
("year<time-of-day> am|pm", -5.8971538676367405),
("Septemberyear", -5.491688759528576),
("at <time-of-day>on <date>", -4.7985415789686305),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("Father's Dayyear", -5.821565510312585),
-5.204006687076795),
("Halloweenyear", -5.8971538676367405),
("Passoveryear", -5.8971538676367405),
("dayweek", -5.8971538676367405),
("Lazarus Saturdayyear", -5.8971538676367405),
("Thursday<time-of-day> am|pm", -5.8971538676367405),
("weekyear", -5.491688759528576),
("hh:mmin|during the <part-of-day>", -5.204006687076795),
("Father's Dayyear", -5.8971538676367405),
("<cycle> after|before <time><time-of-day> am|pm",
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("tomorrowat <time-of-day>", -5.128418329752639),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
-5.491688759528576),
("Shemini Atzeretyear", -5.8971538676367405),
("February<time> <part-of-day>", -5.8971538676367405),
("Martin Luther King's Dayyear", -5.491688759528576),
("Ramadanyear", -5.8971538676367405),
("tomorrowat <time-of-day>", -5.204006687076795),
("Eid al-Fitryear", -5.8971538676367405),
("between <time> and <time>on <date>", -5.204006687076795),
("Thursdayfrom|since|after <time-of-day>", -5.204006687076795),
("at <time-of-day>tomorrow", -5.491688759528576),
("tomorrow<time-of-day> am|pm", -5.8971538676367405),
("Pentecostyear", -5.8971538676367405),
("in|during the <part-of-day>at <time-of-day>",
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
-5.8971538676367405),
("Palm Sundayintersect", -5.8971538676367405),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
-5.8971538676367405),
("Great Lentyear", -5.8971538676367405),
("Februaryintersect", -5.8971538676367405),
("last <cycle> of <time>year", -5.204006687076795),
("<named-month> <day-of-month> (non ordinal)year",
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 250},
-5.8971538676367405),
("yearminute", -5.8971538676367405),
("Black Fridayyear", -5.491688759528576)],
n = 272},
koData =
ClassData{prior = -1.0199476696071976, unseen = -6.126869184114185,
ClassData{prior = -1.0700389162240536, unseen = -6.150602768446279,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.43153621033426),
[("in <named-month>year", -5.455321115357702),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.43153621033426),
("hourday", -5.43153621033426),
-5.455321115357702),
("hourday", -5.455321115357702),
("<named-month> <day-of-month> (non ordinal)July",
-5.43153621033426),
("New Year's Dayyear", -5.43153621033426),
("dayhour", -2.989189174965055),
("daymonth", -3.3520946686544235),
("monthday", -5.026071102226095),
("monthyear", -4.738389029774314),
("intersecthh:mm", -5.43153621033426),
("Easter Sundayyear", -5.026071102226095),
-5.455321115357702),
("New Year's Dayyear", -5.049856007249537),
("dayhour", -3.012974079988497),
("daymonth", -3.3758795736778655),
("monthday", -5.049856007249537),
("monthyear", -4.762173934797756),
("intersecthh:mm", -5.455321115357702),
("Easter Sundayyear", -5.049856007249537),
("from <datetime> - <datetime> (interval)July",
-5.43153621033426),
("houryear", -5.43153621033426),
-5.455321115357702),
("houryear", -5.455321115357702),
("from <time-of-day> - <time-of-day> (interval)July",
-5.43153621033426),
("until <time-of-day><time-of-day> am|pm", -5.43153621033426),
-5.455321115357702),
("until <time-of-day><time-of-day> am|pm", -5.455321115357702),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.738389029774314),
("<time-of-day> am|pmintersect", -4.178773241838892),
-4.762173934797756),
("<time-of-day> am|pmintersect", -4.202558146862334),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.515245478460105),
("Clean Mondayyear", -5.43153621033426),
("from|since|after <time-of-day>on <date>", -4.515245478460105),
-4.539030383483547),
("Clean Mondayyear", -5.455321115357702),
("from|since|after <time-of-day>on <date>", -4.539030383483547),
("July<day-of-month> (ordinal or number) <named-month>",
-5.43153621033426),
("absorption of , after named dayJuly", -5.026071102226095),
("monthhour", -5.43153621033426),
("hourmonth", -4.738389029774314),
("todayat <time-of-day>", -5.43153621033426),
("from|since|after <time-of-day>July", -5.43153621033426),
("dayday", -5.026071102226095),
("mm/ddat <time-of-day>", -5.026071102226095),
("<time-of-day> am|pmon <date>", -4.178773241838892),
("dayyear", -3.23431163299804),
("Thursdaymm/dd", -5.43153621033426),
("Sundayyear", -4.738389029774314),
("Thursdayat <time-of-day>", -4.178773241838892),
-5.455321115357702),
("absorption of , after named dayJuly", -5.049856007249537),
("monthhour", -5.455321115357702),
("hourmonth", -4.762173934797756),
("todayat <time-of-day>", -5.455321115357702),
("from|since|after <time-of-day>July", -5.455321115357702),
("dayday", -5.049856007249537),
("mm/ddat <time-of-day>", -5.049856007249537),
("<time-of-day> am|pmon <date>", -4.202558146862334),
("dayyear", -3.2040293167512064),
("Thursdaymm/dd", -5.455321115357702),
("Sundayyear", -4.762173934797756),
("Thursdayat <time-of-day>", -4.202558146862334),
("<integer> to|till|before <hour-of-day>September",
-5.43153621033426),
("monthminute", -5.43153621033426),
("<time-of-day> am|pmtomorrow", -5.43153621033426),
("Thursdayhh:mm", -4.515245478460105),
-5.455321115357702),
("monthminute", -5.455321115357702),
("<time-of-day> am|pmtomorrow", -5.455321115357702),
("Thursdayhh:mm", -4.539030383483547),
("August<day-of-month> (ordinal or number) <named-month>",
-5.43153621033426),
("Fridayyear", -5.026071102226095),
("minutemonth", -3.6397767411062043),
("Sundayfrom|since|after <time-of-day>", -5.43153621033426),
-5.455321115357702),
("Fridayyear", -5.049856007249537),
("minutemonth", -3.6635616461296463),
("Sundayfrom|since|after <time-of-day>", -5.455321115357702),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.026071102226095),
-5.049856007249537),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.026071102226095),
("Aprilyear", -5.43153621033426),
-5.049856007249537),
("Aprilyear", -5.455321115357702),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-5.026071102226095),
-5.049856007249537),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.43153621033426),
("Christmasat <time-of-day>", -5.43153621033426),
-5.455321115357702),
("Christmasat <time-of-day>", -5.455321115357702),
("<duration> after|before|from <time>December",
-5.43153621033426),
("yesterday<time-of-day> am|pm", -5.43153621033426),
-5.455321115357702),
("yesterday<time-of-day> am|pm", -5.455321115357702),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.515245478460105),
-4.539030383483547),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.026071102226095),
-5.049856007249537),
("<named-month> <day-of-month> (non ordinal)August",
-5.43153621033426),
("until <time-of-day>on <date>", -4.738389029774314),
("Mondayyear", -4.738389029774314),
("Saturdayyear", -5.43153621033426),
("at <time-of-day>intersect", -5.026071102226095),
-5.455321115357702),
("until <time-of-day>on <date>", -4.762173934797756),
("Mondayyear", -4.762173934797756),
("Saturdayyear", -5.455321115357702),
("at <time-of-day>intersect", -5.049856007249537),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.43153621033426),
("dayminute", -2.905807566026004),
("intersectSeptember", -3.927458813557985),
-5.455321115357702),
("dayminute", -2.929592471049446),
("intersectSeptember", -3.951243718581427),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.43153621033426),
("minuteday", -2.5137654782499803),
("absorption of , after named dayintersect", -5.43153621033426),
("Februaryin|during the <part-of-day>", -5.43153621033426),
("week-endin <named-month>", -5.43153621033426),
("Octoberyear", -5.43153621033426),
("from|since|after <time-of-day>year", -5.43153621033426),
("yearhh:mm", -5.43153621033426),
("hh:mmon <date>", -3.927458813557985),
-5.455321115357702),
("minuteday", -2.5375503832734223),
("absorption of , after named dayintersect",
-5.455321115357702),
("Februaryin|during the <part-of-day>", -5.455321115357702),
("week-endin <named-month>", -5.455321115357702),
("Octoberyear", -5.455321115357702),
("from|since|after <time-of-day>year", -5.455321115357702),
("yearhh:mm", -5.455321115357702),
("hh:mmon <date>", -3.951243718581427),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.43153621033426),
-5.455321115357702),
("absorption of , after named daySeptember",
-4.515245478460105),
("on <date>September", -5.026071102226095),
("at <time-of-day>on <date>", -5.026071102226095),
("dayweek", -5.43153621033426),
("Thursday<time-of-day> am|pm", -5.026071102226095),
("absorption of , after named dayFebruary", -4.515245478460105),
-4.539030383483547),
("on <date>September", -5.049856007249537),
("at <time-of-day>on <date>", -5.049856007249537),
("dayweek", -5.455321115357702),
("Thursday<time-of-day> am|pm", -5.049856007249537),
("absorption of , after named dayFebruary", -4.539030383483547),
("July<integer> to|till|before <hour-of-day>",
-5.43153621033426),
("tomorrowat <time-of-day>", -5.43153621033426),
-5.455321115357702),
("tomorrowat <time-of-day>", -5.455321115357702),
("<integer> to|till|before <hour-of-day>July",
-5.43153621033426),
("Thursdayfrom|since|after <time-of-day>", -3.822098297900159),
("tomorrow<time-of-day> am|pm", -5.43153621033426),
("Tuesdayfrom|since|after <time-of-day>", -5.43153621033426),
("yearminute", -5.43153621033426)],
n = 141}}),
-5.455321115357702),
("Thursdayfrom|since|after <time-of-day>", -3.845883202923601),
("tomorrow<time-of-day> am|pm", -5.455321115357702),
("Tuesdayfrom|since|after <time-of-day>", -5.455321115357702),
("yearminute", -5.455321115357702)],
n = 142}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1549,6 +1566,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1556,6 +1580,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1706,14 +1737,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1844290391335193, unseen = -4.430816798843313,
ClassData{prior = -0.14705341795649662,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("integer (numeric)", -6.213178110700616e-2),
("intersect 2 numbers", -3.3202283191284883)],
n = 79},
[("integer (numeric)", -4.8790164169432056e-2),
("intersect 2 numbers", -3.5553480614894135)],
n = 101},
koData =
ClassData{prior = -1.7812881693607596, unseen = -3.044522437723423,
ClassData{prior = -1.9895852125579747, unseen = -3.044522437723423,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5978370007556204),
@ -1917,6 +1949,20 @@ classifiers
ClassData{prior = -1.7346010553881064,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2199,6 +2245,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2317,6 +2370,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2426,13 +2486,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2455,6 +2515,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2788,6 +2855,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.706570200892086, unseen = -5.4116460518550396,
likelihoods = HashMap.fromList [("", 0.0)], n = 222},
ClassData{prior = -0.6598107602923536,
unseen = -5.5053315359323625,
likelihoods = HashMap.fromList [("", 0.0)], n = 244},
koData =
ClassData{prior = -0.6799019538099246, unseen = -5.438079308923196,
ClassData{prior = -0.7276333566311146, unseen = -5.438079308923196,
likelihoods = HashMap.fromList [("", 0.0)], n = 228}}),
("<duration> hence|ago",
Classifier{okData =
@ -157,6 +158,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -687,291 +695,297 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.46689964330814443,
unseen = -6.487684018484611,
ClassData{prior = -0.4377660528964856, unseen = -6.565264970035361,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.540250639888776),
("Lentyear", -5.793013608384143),
-4.617945377476814),
("Islamic New Yearyear", -5.4652432378640174),
("Lentyear", -5.870708345972182),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.540250639888776),
("hourday", -4.088265516145719),
("dayhour", -2.8752428762998647),
("daymonth", -5.099866427824199),
("monthday", -5.3875485002759795),
("monthyear", -4.183575695950044),
("Tuesdaythe <day-of-month> (ordinal)", -5.793013608384143),
("Easter Sundayyear", -5.099866427824199),
("Christmasyear", -5.3875485002759795),
-4.617945377476814),
("hourday", -4.165960253733757),
("dayhour", -2.952937613887903),
("daymonth", -5.177561165412237),
("Laylat al-Qadryear", -4.954417614098027),
("monthday", -5.4652432378640174),
("monthyear", -4.2612704335380815),
("Tuesdaythe <day-of-month> (ordinal)", -5.870708345972182),
("Easter Sundayyear", -5.177561165412237),
("Christmasyear", -5.4652432378640174),
("from <datetime> - <datetime> (interval)July",
-5.793013608384143),
("houryear", -5.3875485002759795),
-5.870708345972182),
("Isra and Mi'rajyear", -4.954417614098027),
("houryear", -5.4652432378640174),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.793013608384143),
("Christmas<time-of-day> am|pm", -5.793013608384143),
-5.870708345972182),
("Christmas<time-of-day> am|pm", -5.870708345972182),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.099866427824199),
("Sukkotyear", -5.3875485002759795),
("<time-of-day> am|pmintersect", -4.540250639888776),
-5.177561165412237),
("Sukkotyear", -5.4652432378640174),
("<time-of-day> am|pmintersect", -4.617945377476814),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.793013608384143),
("Marchyear", -5.793013608384143),
-5.870708345972182),
("Marchyear", -5.870708345972182),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.3875485002759795),
("intersect<time-of-day> am|pm", -5.793013608384143),
("Clean Mondayyear", -5.3875485002759795),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.793013608384143),
("Rosh Hashanahyear", -5.793013608384143),
("monthhour", -5.3875485002759795),
("last <day-of-week> of <time>year", -5.793013608384143),
("todayat <time-of-day>", -5.793013608384143),
("Thursday<time> timezone", -4.088265516145719),
("dd/mm<time-of-day> am|pm", -5.793013608384143),
-5.4652432378640174),
("intersect<time-of-day> am|pm", -5.870708345972182),
("Clean Mondayyear", -5.4652432378640174),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.870708345972182),
("Rosh Hashanahyear", -5.870708345972182),
("Mawlidyear", -5.870708345972182),
("Jumu'atul-Widayear", -4.954417614098027),
("monthhour", -5.4652432378640174),
("last <day-of-week> of <time>year", -5.870708345972182),
("todayat <time-of-day>", -5.870708345972182),
("Thursday<time> timezone", -4.165960253733757),
("dd/mm<time-of-day> am|pm", -5.870708345972182),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.793013608384143),
("Yom Ha'atzmautyear", -5.793013608384143),
("Palm SundaySunday", -5.3875485002759795),
("dayday", -3.595789031047924),
("Thanksgiving Dayyear", -4.694401319716034),
("dd/mmat <time-of-day>", -5.793013608384143),
("<time> <part-of-day>at <time-of-day>", -5.793013608384143),
("Tuesdayin <named-month>", -5.793013608384143),
("tonightat <time-of-day>", -5.793013608384143),
-5.870708345972182),
("Yom Ha'atzmautyear", -5.870708345972182),
("Palm SundaySunday", -5.4652432378640174),
("dayday", -3.673483768635963),
("Thanksgiving Dayyear", -4.772096057304072),
("dd/mmat <time-of-day>", -5.870708345972182),
("<time> <part-of-day>at <time-of-day>", -5.870708345972182),
("Tuesdayin <named-month>", -5.870708345972182),
("tonightat <time-of-day>", -5.870708345972182),
("<time-of-day> am|pmabsorption of , after named day",
-5.099866427824199),
("today<time-of-day> am|pm", -5.793013608384143),
("Februarythe <day-of-month> (ordinal)", -5.3875485002759795),
("at <time-of-day><time> <part-of-day>", -5.793013608384143),
("hourhour", -4.540250639888776),
("<time-of-day> am|pmon <date>", -3.778110587841879),
("Wednesdaythis|last|next <cycle>", -5.793013608384143),
-5.177561165412237),
("today<time-of-day> am|pm", -5.870708345972182),
("Februarythe <day-of-month> (ordinal)", -5.4652432378640174),
("at <time-of-day><time> <part-of-day>", -5.870708345972182),
("hourhour", -4.617945377476814),
("<time-of-day> am|pmon <date>", -3.8558053254299174),
("Wednesdaythis|last|next <cycle>", -5.870708345972182),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.2889362116078695),
("dayyear", -2.443109521109539),
("Lag BaOmeryear", -5.793013608384143),
("last weekend of <named-month>year", -5.793013608384143),
-4.366630949195908),
("Ashurayear", -5.870708345972182),
("dayyear", -2.194407674065106),
("Eid al-Adhayear", -4.954417614098027),
("Lag BaOmeryear", -5.870708345972182),
("last weekend of <named-month>year", -5.870708345972182),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.793013608384143),
("Sundayyear", -5.793013608384143),
("Chinese New Yearyear", -5.793013608384143),
("Thursdayat <time-of-day>", -5.3875485002759795),
("<time-of-day> am|pmtomorrow", -5.099866427824199),
("August Bank Holidayyear", -5.099866427824199),
("minutehour", -4.876722876509989),
("Simchat Torahyear", -5.793013608384143),
-5.870708345972182),
("Sundayyear", -5.870708345972182),
("Chinese New Yearyear", -5.870708345972182),
("Thursdayat <time-of-day>", -5.4652432378640174),
("<time-of-day> am|pmtomorrow", -5.177561165412237),
("August Bank Holidayyear", -5.177561165412237),
("minutehour", -4.954417614098027),
("Simchat Torahyear", -5.870708345972182),
("at <time-of-day>in|during the <part-of-day>",
-5.3875485002759795),
-5.4652432378640174),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.088265516145719),
("for <duration> from <time>December", -5.793013608384143),
("tomorrow<time-of-day> sharp|exactly", -5.793013608384143),
-4.165960253733757),
("for <duration> from <time>December", -5.870708345972182),
("tomorrow<time-of-day> sharp|exactly", -5.870708345972182),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.876722876509989),
-4.954417614098027),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.3875485002759795),
-5.4652432378640174),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.876722876509989),
("Mondayin|during the <part-of-day>", -5.793013608384143),
("Shrove Tuesdayyear", -5.793013608384143),
("<part-of-day> of <time>year", -5.793013608384143),
("Yom Kippuryear", -5.793013608384143),
("Hanukkahyear", -5.793013608384143),
-4.954417614098027),
("Mondayin|during the <part-of-day>", -5.870708345972182),
("Shrove Tuesdayyear", -5.870708345972182),
("<part-of-day> of <time>year", -5.870708345972182),
("Yom Kippuryear", -5.870708345972182),
("Hanukkahyear", -5.870708345972182),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3875485002759795),
("intersectin|during the <part-of-day>", -5.793013608384143),
("Christmasat <time-of-day>", -5.793013608384143),
-5.4652432378640174),
("intersectin|during the <part-of-day>", -5.870708345972182),
("Christmasat <time-of-day>", -5.870708345972182),
("Thursday<datetime> - <datetime> (interval)",
-4.876722876509989),
-4.954417614098027),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.793013608384143),
-5.870708345972182),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.540250639888776),
-4.617945377476814),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.099866427824199),
-5.177561165412237),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.876722876509989),
("at <time-of-day>intersect", -5.3875485002759795),
-4.954417614098027),
("at <time-of-day>intersect", -5.4652432378640174),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.793013608384143),
("Tisha B'Avyear", -5.793013608384143),
-5.870708345972182),
("Tisha B'Avyear", -5.870708345972182),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.793013608384143),
("dayminute", -3.118864958957615),
("Mothering Sundayyear", -5.3875485002759795),
("Boss's Dayyear", -5.3875485002759795),
("Orthodox Easter Sundayyear", -5.793013608384143),
-5.870708345972182),
("dayminute", -3.1965596965456533),
("Mothering Sundayyear", -5.4652432378640174),
("Boss's Dayyear", -5.4652432378640174),
("Orthodox Easter Sundayyear", -5.870708345972182),
("from <datetime> - <datetime> (interval)on <date>",
-5.3875485002759795),
("intersectyear", -5.793013608384143),
-5.4652432378640174),
("intersectyear", -5.870708345972182),
("<datetime> - <datetime> (interval)tomorrow",
-5.793013608384143),
-5.870708345972182),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3875485002759795),
("<ordinal> <cycle> of <time>year", -5.793013608384143),
("minuteday", -2.327277705584417),
-5.4652432378640174),
("<ordinal> <cycle> of <time>year", -5.870708345972182),
("minuteday", -2.4049724431724555),
("absorption of , after named dayintersect",
-5.793013608384143),
("Octoberyear", -4.540250639888776),
("Shavuotyear", -5.793013608384143),
-5.870708345972182),
("Octoberyear", -4.617945377476814),
("Shavuotyear", -5.870708345972182),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.793013608384143),
("Yom HaShoahyear", -5.3875485002759795),
-5.870708345972182),
("Yom HaShoahyear", -5.4652432378640174),
("at <time-of-day>absorption of , after named day",
-5.793013608384143),
-5.870708345972182),
("<day-of-month> (ordinal or number) <named-month>year",
-5.793013608384143),
("year<time-of-day> am|pm", -5.793013608384143),
("Septemberyear", -5.3875485002759795),
("at <time-of-day>on <date>", -4.694401319716034),
-5.870708345972182),
("year<time-of-day> am|pm", -5.870708345972182),
("Septemberyear", -5.4652432378640174),
("at <time-of-day>on <date>", -4.772096057304072),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.099866427824199),
("Halloweenyear", -5.793013608384143),
("Passoveryear", -5.793013608384143),
("dayweek", -5.793013608384143),
("Lazarus Saturdayyear", -5.793013608384143),
("Thursday<time-of-day> am|pm", -5.793013608384143),
("weekyear", -5.3875485002759795),
("hh:mmin|during the <part-of-day>", -5.099866427824199),
("Father's Dayyear", -5.793013608384143),
-5.177561165412237),
("Halloweenyear", -5.870708345972182),
("Passoveryear", -5.870708345972182),
("dayweek", -5.870708345972182),
("Lazarus Saturdayyear", -5.870708345972182),
("Thursday<time-of-day> am|pm", -5.870708345972182),
("weekyear", -5.4652432378640174),
("hh:mmin|during the <part-of-day>", -5.177561165412237),
("Father's Dayyear", -5.870708345972182),
("<cycle> after|before <time><time-of-day> am|pm",
-5.3875485002759795),
("Shemini Atzeretyear", -5.793013608384143),
("February<time> <part-of-day>", -5.793013608384143),
("Martin Luther King's Dayyear", -5.3875485002759795),
("tomorrowat <time-of-day>", -5.099866427824199),
("between <time> and <time>on <date>", -5.099866427824199),
("Thursdayfrom|since|after <time-of-day>", -5.099866427824199),
("at <time-of-day>tomorrow", -5.3875485002759795),
("tomorrow<time-of-day> am|pm", -5.793013608384143),
("Pentecostyear", -5.793013608384143),
-5.4652432378640174),
("Shemini Atzeretyear", -5.870708345972182),
("February<time> <part-of-day>", -5.870708345972182),
("Martin Luther King's Dayyear", -5.4652432378640174),
("Ramadanyear", -5.870708345972182),
("tomorrowat <time-of-day>", -5.177561165412237),
("Eid al-Fitryear", -5.870708345972182),
("between <time> and <time>on <date>", -5.177561165412237),
("Thursdayfrom|since|after <time-of-day>", -5.177561165412237),
("at <time-of-day>tomorrow", -5.4652432378640174),
("tomorrow<time-of-day> am|pm", -5.870708345972182),
("Pentecostyear", -5.870708345972182),
("in|during the <part-of-day>at <time-of-day>",
-5.793013608384143),
("Palm Sundayintersect", -5.793013608384143),
-5.870708345972182),
("Palm Sundayintersect", -5.870708345972182),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.793013608384143),
("Great Lentyear", -5.793013608384143),
("Februaryintersect", -5.793013608384143),
("last <cycle> of <time>year", -5.099866427824199),
-5.870708345972182),
("Great Lentyear", -5.870708345972182),
("Februaryintersect", -5.870708345972182),
("last <cycle> of <time>year", -5.177561165412237),
("<named-month> <day-of-month> (non ordinal)year",
-5.793013608384143),
("yearminute", -5.793013608384143),
("Black Fridayyear", -5.3875485002759795)],
n = 242},
-5.870708345972182),
("yearminute", -5.870708345972182),
("Black Fridayyear", -5.4652432378640174)],
n = 264},
koData =
ClassData{prior = -0.9860240698888303, unseen = -6.133398042996649,
ClassData{prior = -1.0369814136222273, unseen = -6.156978985585555,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.438079308923196),
[("in <named-month>year", -5.461710913456472),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.438079308923196),
("hourday", -5.438079308923196),
-5.461710913456472),
("hourday", -5.461710913456472),
("<named-month> <day-of-month> (non ordinal)July",
-5.438079308923196),
("New Year's Dayyear", -5.438079308923196),
("dayhour", -2.995732273553991),
("daymonth", -3.3586377672433594),
("monthday", -5.032614200815031),
("monthyear", -4.74493212836325),
("intersecthh:mm", -5.438079308923196),
("Easter Sundayyear", -5.032614200815031),
-5.461710913456472),
("New Year's Dayyear", -5.056245805348308),
("dayhour", -3.019363878087268),
("daymonth", -3.3822693717766366),
("monthday", -5.056245805348308),
("monthyear", -4.768563732896527),
("intersecthh:mm", -5.461710913456472),
("Easter Sundayyear", -5.056245805348308),
("from <datetime> - <datetime> (interval)July",
-5.438079308923196),
("houryear", -5.438079308923196),
-5.461710913456472),
("houryear", -5.461710913456472),
("from <time-of-day> - <time-of-day> (interval)July",
-5.438079308923196),
("until <time-of-day><time-of-day> am|pm", -5.438079308923196),
-5.461710913456472),
("until <time-of-day><time-of-day> am|pm", -5.461710913456472),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.74493212836325),
("<time-of-day> am|pmintersect", -4.1853163404278275),
-4.768563732896527),
("<time-of-day> am|pmintersect", -4.208947944961104),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.5217885770490405),
("Clean Mondayyear", -5.438079308923196),
("from|since|after <time-of-day>on <date>",
-4.5217885770490405),
-4.545420181582317),
("Clean Mondayyear", -5.461710913456472),
("from|since|after <time-of-day>on <date>", -4.545420181582317),
("July<day-of-month> (ordinal or number) <named-month>",
-5.438079308923196),
("absorption of , after named dayJuly", -5.032614200815031),
("monthhour", -5.438079308923196),
("hourmonth", -4.74493212836325),
("todayat <time-of-day>", -5.438079308923196),
("from|since|after <time-of-day>July", -5.438079308923196),
("dayday", -5.032614200815031),
("dd/mmat <time-of-day>", -5.032614200815031),
("<time-of-day> am|pmon <date>", -4.1853163404278275),
("Thursdaydd/mm", -5.438079308923196),
("dayyear", -3.0867040517597175),
("Sundayyear", -4.74493212836325),
("Thursdayat <time-of-day>", -4.1853163404278275),
-5.461710913456472),
("absorption of , after named dayJuly", -5.056245805348308),
("monthhour", -5.461710913456472),
("hourmonth", -4.768563732896527),
("todayat <time-of-day>", -5.461710913456472),
("from|since|after <time-of-day>July", -5.461710913456472),
("dayday", -5.056245805348308),
("dd/mmat <time-of-day>", -5.056245805348308),
("<time-of-day> am|pmon <date>", -4.208947944961104),
("Thursdaydd/mm", -5.461710913456472),
("dayyear", -3.063815640658102),
("Sundayyear", -4.768563732896527),
("Thursdayat <time-of-day>", -4.208947944961104),
("<integer> to|till|before <hour-of-day>September",
-5.438079308923196),
("monthminute", -5.438079308923196),
("<time-of-day> am|pmtomorrow", -5.438079308923196),
("Thursdayhh:mm", -4.5217885770490405),
-5.461710913456472),
("monthminute", -5.461710913456472),
("<time-of-day> am|pmtomorrow", -5.461710913456472),
("Thursdayhh:mm", -4.545420181582317),
("August<day-of-month> (ordinal or number) <named-month>",
-5.438079308923196),
("Fridayyear", -5.032614200815031),
("minutemonth", -3.6463198396951406),
("Sundayfrom|since|after <time-of-day>", -5.438079308923196),
-5.461710913456472),
("Fridayyear", -5.056245805348308),
("minutemonth", -3.6699514442284173),
("Sundayfrom|since|after <time-of-day>", -5.461710913456472),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.032614200815031),
-5.056245805348308),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.032614200815031),
("Aprilyear", -5.438079308923196),
-5.056245805348308),
("Aprilyear", -5.461710913456472),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.438079308923196),
-5.461710913456472),
("dd/mm<time-of-day> - <time-of-day> (interval)",
-5.032614200815031),
("Christmasat <time-of-day>", -5.438079308923196),
-5.056245805348308),
("Christmasat <time-of-day>", -5.461710913456472),
("<duration> after|before|from <time>December",
-5.438079308923196),
("yesterday<time-of-day> am|pm", -5.438079308923196),
-5.461710913456472),
("yesterday<time-of-day> am|pm", -5.461710913456472),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.5217885770490405),
-4.545420181582317),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.032614200815031),
("Bank Holidayyear", -4.74493212836325),
-5.056245805348308),
("Bank Holidayyear", -4.768563732896527),
("<named-month> <day-of-month> (non ordinal)August",
-5.438079308923196),
("until <time-of-day>on <date>", -4.74493212836325),
("Mondayyear", -4.74493212836325),
("Saturdayyear", -5.438079308923196),
("at <time-of-day>intersect", -5.032614200815031),
-5.461710913456472),
("until <time-of-day>on <date>", -4.768563732896527),
("Mondayyear", -4.768563732896527),
("Saturdayyear", -5.461710913456472),
("at <time-of-day>intersect", -5.056245805348308),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.438079308923196),
("dayminute", -2.91235066461494),
("intersectSeptember", -3.9340019121469214),
-5.461710913456472),
("dayminute", -2.935982269148217),
("intersectSeptember", -3.9576335166801986),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.438079308923196),
("minuteday", -2.520308576838916),
-5.461710913456472),
("minuteday", -2.5439401813721934),
("absorption of , after named dayintersect",
-5.438079308923196),
("Februaryin|during the <part-of-day>", -5.438079308923196),
("week-endin <named-month>", -5.438079308923196),
("Octoberyear", -5.438079308923196),
("from|since|after <time-of-day>year", -5.438079308923196),
("yearhh:mm", -5.438079308923196),
("hh:mmon <date>", -3.9340019121469214),
-5.461710913456472),
("Februaryin|during the <part-of-day>", -5.461710913456472),
("week-endin <named-month>", -5.461710913456472),
("Octoberyear", -5.461710913456472),
("from|since|after <time-of-day>year", -5.461710913456472),
("yearhh:mm", -5.461710913456472),
("hh:mmon <date>", -3.9576335166801986),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.438079308923196),
-5.461710913456472),
("absorption of , after named daySeptember",
-4.5217885770490405),
("on <date>September", -5.032614200815031),
("at <time-of-day>on <date>", -5.032614200815031),
("dayweek", -5.438079308923196),
("Thursday<time-of-day> am|pm", -5.032614200815031),
("absorption of , after named dayFebruary",
-4.5217885770490405),
-4.545420181582317),
("on <date>September", -5.056245805348308),
("at <time-of-day>on <date>", -5.056245805348308),
("dayweek", -5.461710913456472),
("Thursday<time-of-day> am|pm", -5.056245805348308),
("absorption of , after named dayFebruary", -4.545420181582317),
("July<integer> to|till|before <hour-of-day>",
-5.438079308923196),
("tomorrowat <time-of-day>", -5.438079308923196),
-5.461710913456472),
("tomorrowat <time-of-day>", -5.461710913456472),
("<integer> to|till|before <hour-of-day>July",
-5.438079308923196),
("Thursdayfrom|since|after <time-of-day>", -3.828641396489095),
("tomorrow<time-of-day> am|pm", -5.438079308923196),
("Tuesdayfrom|since|after <time-of-day>", -5.438079308923196),
("yearminute", -5.438079308923196)],
n = 144}}),
-5.461710913456472),
("Thursdayfrom|since|after <time-of-day>", -3.8522730010223722),
("tomorrow<time-of-day> am|pm", -5.461710913456472),
("Tuesdayfrom|since|after <time-of-day>", -5.461710913456472),
("yearminute", -5.461710913456472)],
n = 145}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1507,6 +1521,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1514,6 +1535,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1663,15 +1691,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.21465693743689113,
unseen = -4.330733340286331,
ClassData{prior = -0.1678808726391603, unseen = -4.584967478670572,
likelihoods =
HashMap.fromList
[("integer (numeric)", -6.899287148695143e-2),
("intersect 2 numbers", -3.2188758248682006)],
n = 71},
[("integer (numeric)", -5.292240145434255e-2),
("intersect 2 numbers", -3.4760986898352733)],
n = 93},
koData =
ClassData{prior = -1.6441234704219905,
ClassData{prior = -1.8672670217362002,
unseen = -3.0910424533583156,
likelihoods =
HashMap.fromList
@ -1883,6 +1910,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2164,6 +2205,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2272,6 +2320,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2381,13 +2436,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2403,6 +2458,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2735,6 +2797,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = -0.6931471805599453,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("Thursdaydd/mm", -5.389071729816501),
("dayyear", -3.1918471524802814),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("Thursdaydd/mm", -5.413875707182309),
("dayyear", -3.162583908575814),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("Thursdaydd/mm", -5.389071729816501),
("dayyear", -3.1918471524802814),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("Thursdaydd/mm", -5.413875707182309),
("dayyear", -3.162583908575814),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("Thursdaydd/mm", -5.389071729816501),
("dayyear", -3.1918471524802814),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("Thursdaydd/mm", -5.413875707182309),
("dayyear", -3.162583908575814),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("Thursdaydd/mm", -5.389071729816501),
("dayyear", -3.1918471524802814),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("Thursdaydd/mm", -5.413875707182309),
("dayyear", -3.162583908575814),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("dayyear", -3.1918471524802814),
("Thursdaymm/dd", -5.389071729816501),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("dayyear", -3.162583908575814),
("Thursdaymm/dd", -5.413875707182309),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("Thursdaydd/mm", -5.389071729816501),
("dayyear", -3.1918471524802814),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("Thursdaydd/mm", -5.413875707182309),
("dayyear", -3.162583908575814),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -69,10 +69,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.690912542758529, unseen = -5.420534999272286,
likelihoods = HashMap.fromList [("", 0.0)], n = 224},
ClassData{prior = -0.6452712325139165,
unseen = -5.5134287461649825,
likelihoods = HashMap.fromList [("", 0.0)], n = 246},
koData =
ClassData{prior = -0.6953868231534501, unseen = -5.41610040220442,
ClassData{prior = -0.7434309969861607, unseen = -5.41610040220442,
likelihoods = HashMap.fromList [("", 0.0)], n = 223}}),
("<duration> hence|ago",
Classifier{okData =
@ -164,6 +165,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -701,292 +709,298 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.46125646773657997,
unseen = -6.498282149476434,
ClassData{prior = -0.4326608509166544, unseen = -6.57507584059962,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.550864841130549),
("Lentyear", -5.803627809625917),
-4.627770017905332),
("Islamic New Yearyear", -5.475067878292536),
("Lentyear", -5.8805329864007),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.550864841130549),
("hourday", -4.098879717387492),
("dayhour", -2.885857077541638),
("daymonth", -5.110480629065972),
("monthday", -5.3981627015177525),
("monthyear", -4.194189897191817),
("Tuesdaythe <day-of-month> (ordinal)", -5.803627809625917),
("Easter Sundayyear", -5.110480629065972),
("Christmasyear", -5.3981627015177525),
-4.627770017905332),
("hourday", -4.175784894162275),
("dayhour", -2.9627622543164214),
("daymonth", -5.187385805840755),
("Laylat al-Qadryear", -4.964242254526545),
("monthday", -5.475067878292536),
("monthyear", -4.2710950739666),
("Tuesdaythe <day-of-month> (ordinal)", -5.8805329864007),
("Easter Sundayyear", -5.187385805840755),
("Christmasyear", -5.475067878292536),
("from <datetime> - <datetime> (interval)July",
-5.803627809625917),
("houryear", -5.3981627015177525),
-5.8805329864007),
("Isra and Mi'rajyear", -4.964242254526545),
("houryear", -5.475067878292536),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.803627809625917),
("Christmas<time-of-day> am|pm", -5.803627809625917),
-5.8805329864007),
("Christmas<time-of-day> am|pm", -5.8805329864007),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.110480629065972),
("Sukkotyear", -5.3981627015177525),
("<time-of-day> am|pmintersect", -4.550864841130549),
-5.187385805840755),
("Sukkotyear", -5.475067878292536),
("<time-of-day> am|pmintersect", -4.627770017905332),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.803627809625917),
("Marchyear", -5.803627809625917),
-5.8805329864007),
("Marchyear", -5.8805329864007),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.3981627015177525),
("intersect<time-of-day> am|pm", -5.803627809625917),
("Clean Mondayyear", -5.3981627015177525),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.803627809625917),
("Rosh Hashanahyear", -5.803627809625917),
("monthhour", -5.3981627015177525),
("last <day-of-week> of <time>year", -5.803627809625917),
("todayat <time-of-day>", -5.803627809625917),
("Thursday<time> timezone", -4.098879717387492),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.803627809625917),
("Yom Ha'atzmautyear", -5.803627809625917),
("Palm SundaySunday", -5.3981627015177525),
("dayday", -3.606403232289698),
("Thanksgiving Dayyear", -4.705015520957807),
("<time> <part-of-day>at <time-of-day>", -5.803627809625917),
("Tuesdayin <named-month>", -5.803627809625917),
("mm/ddat <time-of-day>", -5.803627809625917),
("tonightat <time-of-day>", -5.803627809625917),
-5.475067878292536),
("intersect<time-of-day> am|pm", -5.8805329864007),
("Clean Mondayyear", -5.475067878292536),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.8805329864007),
("Rosh Hashanahyear", -5.8805329864007),
("Mawlidyear", -5.8805329864007),
("Jumu'atul-Widayear", -4.964242254526545),
("monthhour", -5.475067878292536),
("last <day-of-week> of <time>year", -5.8805329864007),
("todayat <time-of-day>", -5.8805329864007),
("Thursday<time> timezone", -4.175784894162275),
("this <time>hh(:mm) - <time-of-day> am|pm", -5.8805329864007),
("Yom Ha'atzmautyear", -5.8805329864007),
("Palm SundaySunday", -5.475067878292536),
("dayday", -3.6833084090644808),
("Thanksgiving Dayyear", -4.78192069773259),
("<time> <part-of-day>at <time-of-day>", -5.8805329864007),
("Tuesdayin <named-month>", -5.8805329864007),
("mm/ddat <time-of-day>", -5.8805329864007),
("tonightat <time-of-day>", -5.8805329864007),
("<time-of-day> am|pmabsorption of , after named day",
-5.110480629065972),
("today<time-of-day> am|pm", -5.803627809625917),
("Februarythe <day-of-month> (ordinal)", -5.3981627015177525),
("at <time-of-day><time> <part-of-day>", -5.803627809625917),
("mm/dd<time-of-day> am|pm", -5.803627809625917),
("hourhour", -4.550864841130549),
("<time-of-day> am|pmon <date>", -3.7887247890836524),
("Wednesdaythis|last|next <cycle>", -5.803627809625917),
-5.187385805840755),
("today<time-of-day> am|pm", -5.8805329864007),
("Februarythe <day-of-month> (ordinal)", -5.475067878292536),
("at <time-of-day><time> <part-of-day>", -5.8805329864007),
("mm/dd<time-of-day> am|pm", -5.8805329864007),
("hourhour", -4.627770017905332),
("<time-of-day> am|pmon <date>", -3.8656299658584357),
("Wednesdaythis|last|next <cycle>", -5.8805329864007),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.299550412849643),
("dayyear", -2.419237546280143),
("Lag BaOmeryear", -5.803627809625917),
("last weekend of <named-month>year", -5.803627809625917),
-4.376455589624427),
("Ashurayear", -5.8805329864007),
("dayyear", -2.1792310122882066),
("Eid al-Adhayear", -4.964242254526545),
("Lag BaOmeryear", -5.8805329864007),
("last weekend of <named-month>year", -5.8805329864007),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.803627809625917),
("Sundayyear", -5.803627809625917),
("Chinese New Yearyear", -5.803627809625917),
("Thursdayat <time-of-day>", -5.3981627015177525),
("<time-of-day> am|pmtomorrow", -5.110480629065972),
("minutehour", -4.887337077751762),
("Mother's Dayyear", -5.803627809625917),
("Simchat Torahyear", -5.803627809625917),
-5.8805329864007),
("Sundayyear", -5.8805329864007),
("Chinese New Yearyear", -5.8805329864007),
("Thursdayat <time-of-day>", -5.475067878292536),
("<time-of-day> am|pmtomorrow", -5.187385805840755),
("minutehour", -4.964242254526545),
("Mother's Dayyear", -5.8805329864007),
("Simchat Torahyear", -5.8805329864007),
("at <time-of-day>in|during the <part-of-day>",
-5.3981627015177525),
-5.475067878292536),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.098879717387492),
("for <duration> from <time>December", -5.803627809625917),
("tomorrow<time-of-day> sharp|exactly", -5.803627809625917),
-4.175784894162275),
("for <duration> from <time>December", -5.8805329864007),
("tomorrow<time-of-day> sharp|exactly", -5.8805329864007),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.887337077751762),
-4.964242254526545),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.3981627015177525),
-5.475067878292536),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.887337077751762),
("Mondayin|during the <part-of-day>", -5.803627809625917),
("Shrove Tuesdayyear", -5.803627809625917),
("<part-of-day> of <time>year", -5.803627809625917),
("Yom Kippuryear", -5.803627809625917),
("Hanukkahyear", -5.803627809625917),
-4.964242254526545),
("Mondayin|during the <part-of-day>", -5.8805329864007),
("Shrove Tuesdayyear", -5.8805329864007),
("<part-of-day> of <time>year", -5.8805329864007),
("Yom Kippuryear", -5.8805329864007),
("Hanukkahyear", -5.8805329864007),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3981627015177525),
("National Grandparents Dayyear", -5.803627809625917),
("intersectin|during the <part-of-day>", -5.803627809625917),
("Christmasat <time-of-day>", -5.803627809625917),
-5.475067878292536),
("National Grandparents Dayyear", -5.8805329864007),
("intersectin|during the <part-of-day>", -5.8805329864007),
("Christmasat <time-of-day>", -5.8805329864007),
("Thursday<datetime> - <datetime> (interval)",
-4.887337077751762),
-4.964242254526545),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.803627809625917),
-5.8805329864007),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.550864841130549),
-4.627770017905332),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.110480629065972),
-5.187385805840755),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.887337077751762),
("at <time-of-day>intersect", -5.3981627015177525),
-4.964242254526545),
("at <time-of-day>intersect", -5.475067878292536),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.803627809625917),
("Tisha B'Avyear", -5.803627809625917),
-5.8805329864007),
("Tisha B'Avyear", -5.8805329864007),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.803627809625917),
("dayminute", -3.1294791601993883),
("Boss's Dayyear", -5.3981627015177525),
("Orthodox Easter Sundayyear", -5.803627809625917),
-5.8805329864007),
("dayminute", -3.2063843369741716),
("Boss's Dayyear", -5.475067878292536),
("Orthodox Easter Sundayyear", -5.8805329864007),
("from <datetime> - <datetime> (interval)on <date>",
-5.3981627015177525),
("intersectyear", -5.803627809625917),
-5.475067878292536),
("intersectyear", -5.8805329864007),
("<datetime> - <datetime> (interval)tomorrow",
-5.803627809625917),
-5.8805329864007),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3981627015177525),
("<ordinal> <cycle> of <time>year", -5.803627809625917),
("minuteday", -2.3378919068261905),
("absorption of , after named dayintersect",
-5.803627809625917),
("Octoberyear", -4.550864841130549),
("Shavuotyear", -5.803627809625917),
-5.475067878292536),
("<ordinal> <cycle> of <time>year", -5.8805329864007),
("minuteday", -2.414797083600974),
("absorption of , after named dayintersect", -5.8805329864007),
("Octoberyear", -4.627770017905332),
("Shavuotyear", -5.8805329864007),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.803627809625917),
("Yom HaShoahyear", -5.3981627015177525),
-5.8805329864007),
("Yom HaShoahyear", -5.475067878292536),
("at <time-of-day>absorption of , after named day",
-5.803627809625917),
-5.8805329864007),
("<day-of-month> (ordinal or number) <named-month>year",
-5.803627809625917),
("year<time-of-day> am|pm", -5.803627809625917),
("Cyber Mondayyear", -5.3981627015177525),
("Septemberyear", -5.3981627015177525),
("at <time-of-day>on <date>", -4.705015520957807),
-5.8805329864007),
("year<time-of-day> am|pm", -5.8805329864007),
("Cyber Mondayyear", -5.475067878292536),
("Septemberyear", -5.475067878292536),
("at <time-of-day>on <date>", -4.78192069773259),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.110480629065972),
("Halloweenyear", -5.803627809625917),
("Passoveryear", -5.803627809625917),
("dayweek", -5.803627809625917),
("Lazarus Saturdayyear", -5.803627809625917),
("Thursday<time-of-day> am|pm", -5.803627809625917),
("weekyear", -5.3981627015177525),
("hh:mmin|during the <part-of-day>", -5.110480629065972),
("Father's Dayyear", -5.803627809625917),
-5.187385805840755),
("Halloweenyear", -5.8805329864007),
("Passoveryear", -5.8805329864007),
("dayweek", -5.8805329864007),
("Lazarus Saturdayyear", -5.8805329864007),
("Thursday<time-of-day> am|pm", -5.8805329864007),
("weekyear", -5.475067878292536),
("hh:mmin|during the <part-of-day>", -5.187385805840755),
("Father's Dayyear", -5.8805329864007),
("<cycle> after|before <time><time-of-day> am|pm",
-5.3981627015177525),
("Shemini Atzeretyear", -5.803627809625917),
("February<time> <part-of-day>", -5.803627809625917),
("Martin Luther King's Dayyear", -5.3981627015177525),
("Military Spouse Dayyear", -5.803627809625917),
("tomorrowat <time-of-day>", -5.110480629065972),
("between <time> and <time>on <date>", -5.110480629065972),
("Thursdayfrom|since|after <time-of-day>", -5.110480629065972),
("at <time-of-day>tomorrow", -5.3981627015177525),
("tomorrow<time-of-day> am|pm", -5.803627809625917),
("Pentecostyear", -5.803627809625917),
-5.475067878292536),
("Shemini Atzeretyear", -5.8805329864007),
("February<time> <part-of-day>", -5.8805329864007),
("Martin Luther King's Dayyear", -5.475067878292536),
("Ramadanyear", -5.8805329864007),
("Military Spouse Dayyear", -5.8805329864007),
("tomorrowat <time-of-day>", -5.187385805840755),
("Eid al-Fitryear", -5.8805329864007),
("between <time> and <time>on <date>", -5.187385805840755),
("Thursdayfrom|since|after <time-of-day>", -5.187385805840755),
("at <time-of-day>tomorrow", -5.475067878292536),
("tomorrow<time-of-day> am|pm", -5.8805329864007),
("Pentecostyear", -5.8805329864007),
("in|during the <part-of-day>at <time-of-day>",
-5.803627809625917),
("Palm Sundayintersect", -5.803627809625917),
-5.8805329864007),
("Palm Sundayintersect", -5.8805329864007),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.803627809625917),
("Labor Dayyear", -5.803627809625917),
("Great Lentyear", -5.803627809625917),
("Februaryintersect", -5.803627809625917),
("last <cycle> of <time>year", -5.110480629065972),
-5.8805329864007),
("Labor Dayyear", -5.8805329864007),
("Great Lentyear", -5.8805329864007),
("Februaryintersect", -5.8805329864007),
("last <cycle> of <time>year", -5.187385805840755),
("<named-month> <day-of-month> (non ordinal)year",
-5.803627809625917),
("President's Dayyear", -5.803627809625917),
("yearminute", -5.803627809625917),
("Black Fridayyear", -5.3981627015177525)],
n = 244},
-5.8805329864007),
("President's Dayyear", -5.8805329864007),
("yearminute", -5.8805329864007),
("Black Fridayyear", -5.475067878292536)],
n = 266},
koData =
ClassData{prior = -0.9955800627698744, unseen = -6.135564891081739,
ClassData{prior = -1.046343860122353, unseen = -6.159095388491933,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.440250862436703),
[("in <named-month>year", -5.4638318050256105),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.440250862436703),
("hourday", -5.440250862436703),
-5.4638318050256105),
("hourday", -5.4638318050256105),
("<named-month> <day-of-month> (non ordinal)July",
-5.440250862436703),
("New Year's Dayyear", -5.440250862436703),
("dayhour", -2.997903827067499),
("daymonth", -3.3608093207568674),
("monthday", -5.034785754328539),
("monthyear", -4.747103681876758),
("intersecthh:mm", -5.440250862436703),
("Easter Sundayyear", -5.034785754328539),
-5.4638318050256105),
("New Year's Dayyear", -5.058366696917446),
("dayhour", -3.0214847696564058),
("daymonth", -3.3843902633457743),
("monthday", -5.058366696917446),
("monthyear", -4.770684624465665),
("intersecthh:mm", -5.4638318050256105),
("Easter Sundayyear", -5.058366696917446),
("from <datetime> - <datetime> (interval)July",
-5.440250862436703),
("houryear", -5.440250862436703),
-5.4638318050256105),
("houryear", -5.4638318050256105),
("from <time-of-day> - <time-of-day> (interval)July",
-5.440250862436703),
("until <time-of-day><time-of-day> am|pm", -5.440250862436703),
-5.4638318050256105),
("until <time-of-day><time-of-day> am|pm", -5.4638318050256105),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.747103681876758),
("<time-of-day> am|pmintersect", -4.187487893941335),
-4.770684624465665),
("<time-of-day> am|pmintersect", -4.211068836530242),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.523960130562548),
("Clean Mondayyear", -5.440250862436703),
("from|since|after <time-of-day>on <date>", -4.523960130562548),
-4.547541073151455),
("Clean Mondayyear", -5.4638318050256105),
("from|since|after <time-of-day>on <date>", -4.547541073151455),
("July<day-of-month> (ordinal or number) <named-month>",
-5.440250862436703),
("absorption of , after named dayJuly", -5.034785754328539),
("monthhour", -5.440250862436703),
("hourmonth", -4.747103681876758),
("todayat <time-of-day>", -5.440250862436703),
("from|since|after <time-of-day>July", -5.440250862436703),
("dayday", -5.034785754328539),
("mm/ddat <time-of-day>", -5.034785754328539),
("<time-of-day> am|pmon <date>", -4.187487893941335),
("dayyear", -3.1376657694426577),
("Thursdaymm/dd", -5.440250862436703),
("Sundayyear", -4.747103681876758),
("Thursdayat <time-of-day>", -4.187487893941335),
-5.4638318050256105),
("absorption of , after named dayJuly", -5.058366696917446),
("monthhour", -5.4638318050256105),
("hourmonth", -4.770684624465665),
("todayat <time-of-day>", -5.4638318050256105),
("from|since|after <time-of-day>July", -5.4638318050256105),
("dayday", -5.058366696917446),
("mm/ddat <time-of-day>", -5.058366696917446),
("<time-of-day> am|pmon <date>", -4.211068836530242),
("dayyear", -3.1124565478621324),
("Thursdaymm/dd", -5.4638318050256105),
("Sundayyear", -4.770684624465665),
("Thursdayat <time-of-day>", -4.211068836530242),
("<integer> to|till|before <hour-of-day>September",
-5.440250862436703),
("monthminute", -5.440250862436703),
("<time-of-day> am|pmtomorrow", -5.440250862436703),
("Thursdayhh:mm", -4.523960130562548),
-5.4638318050256105),
("monthminute", -5.4638318050256105),
("<time-of-day> am|pmtomorrow", -5.4638318050256105),
("Thursdayhh:mm", -4.547541073151455),
("August<day-of-month> (ordinal or number) <named-month>",
-5.440250862436703),
("Fridayyear", -5.034785754328539),
("minutemonth", -3.6484913932086482),
("Sundayfrom|since|after <time-of-day>", -5.440250862436703),
-5.4638318050256105),
("Fridayyear", -5.058366696917446),
("minutemonth", -3.672072335797555),
("Sundayfrom|since|after <time-of-day>", -5.4638318050256105),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.034785754328539),
-5.058366696917446),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.034785754328539),
("Aprilyear", -5.440250862436703),
-5.058366696917446),
("Aprilyear", -5.4638318050256105),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-5.034785754328539),
-5.058366696917446),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.440250862436703),
("Christmasat <time-of-day>", -5.440250862436703),
-5.4638318050256105),
("Christmasat <time-of-day>", -5.4638318050256105),
("<duration> after|before|from <time>December",
-5.440250862436703),
("yesterday<time-of-day> am|pm", -5.440250862436703),
-5.4638318050256105),
("yesterday<time-of-day> am|pm", -5.4638318050256105),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.523960130562548),
-4.547541073151455),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.034785754328539),
-5.058366696917446),
("<named-month> <day-of-month> (non ordinal)August",
-5.440250862436703),
("until <time-of-day>on <date>", -4.747103681876758),
("Mondayyear", -4.341638573768593),
("Saturdayyear", -5.440250862436703),
("at <time-of-day>intersect", -5.034785754328539),
-5.4638318050256105),
("until <time-of-day>on <date>", -4.770684624465665),
("Mondayyear", -4.3652195163575005),
("Saturdayyear", -5.4638318050256105),
("at <time-of-day>intersect", -5.058366696917446),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.440250862436703),
("dayminute", -2.9145222181284476),
("intersectSeptember", -3.936173465660429),
-5.4638318050256105),
("dayminute", -2.938103160717355),
("intersectSeptember", -3.959754408249336),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.440250862436703),
("minuteday", -2.5224801303524242),
-5.4638318050256105),
("minuteday", -2.546061072941331),
("absorption of , after named dayintersect",
-5.440250862436703),
("Februaryin|during the <part-of-day>", -5.440250862436703),
("week-endin <named-month>", -5.440250862436703),
("Octoberyear", -5.440250862436703),
("from|since|after <time-of-day>year", -5.440250862436703),
("yearhh:mm", -5.440250862436703),
("hh:mmon <date>", -3.936173465660429),
-5.4638318050256105),
("Februaryin|during the <part-of-day>", -5.4638318050256105),
("week-endin <named-month>", -5.4638318050256105),
("Octoberyear", -5.4638318050256105),
("from|since|after <time-of-day>year", -5.4638318050256105),
("yearhh:mm", -5.4638318050256105),
("hh:mmon <date>", -3.959754408249336),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.440250862436703),
-5.4638318050256105),
("absorption of , after named daySeptember",
-4.523960130562548),
("on <date>September", -5.034785754328539),
("at <time-of-day>on <date>", -5.034785754328539),
("dayweek", -5.440250862436703),
("Thursday<time-of-day> am|pm", -5.034785754328539),
("absorption of , after named dayFebruary", -4.523960130562548),
-4.547541073151455),
("on <date>September", -5.058366696917446),
("at <time-of-day>on <date>", -5.058366696917446),
("dayweek", -5.4638318050256105),
("Thursday<time-of-day> am|pm", -5.058366696917446),
("absorption of , after named dayFebruary", -4.547541073151455),
("July<integer> to|till|before <hour-of-day>",
-5.440250862436703),
("tomorrowat <time-of-day>", -5.440250862436703),
-5.4638318050256105),
("tomorrowat <time-of-day>", -5.4638318050256105),
("<integer> to|till|before <hour-of-day>July",
-5.440250862436703),
("Thursdayfrom|since|after <time-of-day>", -3.8308129500026027),
("tomorrow<time-of-day> am|pm", -5.440250862436703),
("Tuesdayfrom|since|after <time-of-day>", -5.440250862436703),
("yearminute", -5.440250862436703)],
n = 143}}),
-5.4638318050256105),
("Thursdayfrom|since|after <time-of-day>", -3.8543938925915096),
("tomorrow<time-of-day> am|pm", -5.4638318050256105),
("Tuesdayfrom|since|after <time-of-day>", -5.4638318050256105),
("yearminute", -5.4638318050256105)],
n = 144}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1535,6 +1549,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1542,6 +1563,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1690,14 +1718,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1981769285837487, unseen = -4.356708826689592,
ClassData{prior = -0.15565330971179328,
unseen = -4.605170185988091,
likelihoods =
HashMap.fromList
[("integer (numeric)", -6.713930283762856e-2),
("intersect 2 numbers", -3.245193133185574)],
n = 73},
[("integer (numeric)", -5.182506786458602e-2),
("intersect 2 numbers", -3.4965075614664802)],
n = 95},
koData =
ClassData{prior = -1.7160476474923587, unseen = -3.044522437723423,
ClassData{prior = -1.936941479072553, unseen = -3.044522437723423,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5978370007556204),
@ -1901,6 +1930,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2199,6 +2242,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2316,6 +2366,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2425,13 +2482,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2454,6 +2511,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2803,6 +2867,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7023638356648693, unseen = -5.384495062789089,
likelihoods = HashMap.fromList [("", 0.0)], n = 216},
ClassData{prior = -0.6545985104427103, unseen = -5.480638923341991,
likelihoods = HashMap.fromList [("", 0.0)], n = 238},
koData =
ClassData{prior = -0.6840146969966728, unseen = -5.402677381872279,
ClassData{prior = -0.7332416377618234, unseen = -5.402677381872279,
likelihoods = HashMap.fromList [("", 0.0)], n = 220}}),
("<duration> hence|ago",
Classifier{okData =
@ -150,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -680,283 +687,294 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4684133824224007, unseen = -6.46302945692067,
ClassData{prior = -0.43850496218636453,
unseen = -6.542471960506805,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.515558027298404),
("Lentyear", -5.768320995793772),
-4.59511985013459),
("Islamic New Yearyear", -5.442417710521793),
("Lentyear", -5.847882818629958),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.515558027298404),
("hourday", -4.063572903555347),
("dayhour", -2.850550263709493),
("daymonth", -5.075173815233827),
("monthday", -5.362855887685608),
("monthyear", -4.1588830833596715),
("Tuesdaythe <day-of-month> (ordinal)", -5.768320995793772),
("Easter Sundayyear", -5.075173815233827),
("Christmasyear", -5.362855887685608),
-4.59511985013459),
("hourday", -4.143134726391533),
("dayhour", -2.930112086545679),
("daymonth", -5.1547356380700124),
("Laylat al-Qadryear", -4.931592086755803),
("monthday", -5.442417710521793),
("monthyear", -4.238444906195857),
("Tuesdaythe <day-of-month> (ordinal)", -5.847882818629958),
("Easter Sundayyear", -5.1547356380700124),
("Christmasyear", -5.442417710521793),
("from <datetime> - <datetime> (interval)July",
-5.768320995793772),
("houryear", -5.362855887685608),
-5.847882818629958),
("Isra and Mi'rajyear", -4.931592086755803),
("houryear", -5.442417710521793),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.768320995793772),
("Christmas<time-of-day> am|pm", -5.768320995793772),
-5.847882818629958),
("Christmas<time-of-day> am|pm", -5.847882818629958),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.075173815233827),
("Sukkotyear", -5.362855887685608),
("<time-of-day> am|pmintersect", -4.515558027298404),
-5.1547356380700124),
("Sukkotyear", -5.442417710521793),
("<time-of-day> am|pmintersect", -4.59511985013459),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.768320995793772),
("Marchyear", -5.768320995793772),
-5.847882818629958),
("Marchyear", -5.847882818629958),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.362855887685608),
("intersect<time-of-day> am|pm", -5.768320995793772),
("Clean Mondayyear", -5.362855887685608),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.768320995793772),
("Rosh Hashanahyear", -5.768320995793772),
("monthhour", -5.362855887685608),
("last <day-of-week> of <time>year", -5.768320995793772),
("todayat <time-of-day>", -5.768320995793772),
("Thursday<time> timezone", -4.063572903555347),
-5.442417710521793),
("intersect<time-of-day> am|pm", -5.847882818629958),
("Clean Mondayyear", -5.442417710521793),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.847882818629958),
("Rosh Hashanahyear", -5.847882818629958),
("Mawlidyear", -5.847882818629958),
("Jumu'atul-Widayear", -4.931592086755803),
("monthhour", -5.442417710521793),
("last <day-of-week> of <time>year", -5.847882818629958),
("todayat <time-of-day>", -5.847882818629958),
("Thursday<time> timezone", -4.143134726391533),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.768320995793772),
("Yom Ha'atzmautyear", -5.768320995793772),
("Palm SundaySunday", -5.362855887685608),
("dayday", -3.571096418457553),
("Thanksgiving Dayyear", -4.669708707125663),
("<time> <part-of-day>at <time-of-day>", -5.768320995793772),
("Tuesdayin <named-month>", -5.768320995793772),
("mm/ddat <time-of-day>", -5.768320995793772),
("tonightat <time-of-day>", -5.768320995793772),
-5.847882818629958),
("Yom Ha'atzmautyear", -5.847882818629958),
("Palm SundaySunday", -5.442417710521793),
("dayday", -3.6506582412937383),
("Thanksgiving Dayyear", -4.749270529961848),
("<time> <part-of-day>at <time-of-day>", -5.847882818629958),
("Tuesdayin <named-month>", -5.847882818629958),
("mm/ddat <time-of-day>", -5.847882818629958),
("tonightat <time-of-day>", -5.847882818629958),
("<time-of-day> am|pmabsorption of , after named day",
-5.075173815233827),
("today<time-of-day> am|pm", -5.768320995793772),
("Februarythe <day-of-month> (ordinal)", -5.362855887685608),
("at <time-of-day><time> <part-of-day>", -5.768320995793772),
("mm/dd<time-of-day> am|pm", -5.768320995793772),
("hourhour", -4.515558027298404),
("<time-of-day> am|pmon <date>", -3.7534179752515073),
("Wednesdaythis|last|next <cycle>", -5.768320995793772),
-5.1547356380700124),
("today<time-of-day> am|pm", -5.847882818629958),
("Februarythe <day-of-month> (ordinal)", -5.442417710521793),
("at <time-of-day><time> <part-of-day>", -5.847882818629958),
("mm/dd<time-of-day> am|pm", -5.847882818629958),
("hourhour", -4.59511985013459),
("<time-of-day> am|pmon <date>", -3.832979798087693),
("Wednesdaythis|last|next <cycle>", -5.847882818629958),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.264243599017498),
("dayyear", -2.5296425436293917),
("Lag BaOmeryear", -5.768320995793772),
("last weekend of <named-month>year", -5.768320995793772),
-4.343805421853684),
("Ashurayear", -5.847882818629958),
("dayyear", -2.250570558041512),
("Eid al-Adhayear", -4.931592086755803),
("Lag BaOmeryear", -5.847882818629958),
("last weekend of <named-month>year", -5.847882818629958),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.768320995793772),
("Sundayyear", -5.768320995793772),
("Chinese New Yearyear", -5.768320995793772),
("Thursdayat <time-of-day>", -5.362855887685608),
("<time-of-day> am|pmtomorrow", -5.075173815233827),
("minutehour", -4.852030263919617),
("Simchat Torahyear", -5.768320995793772),
-5.847882818629958),
("Sundayyear", -5.847882818629958),
("Chinese New Yearyear", -5.847882818629958),
("Thursdayat <time-of-day>", -5.442417710521793),
("<time-of-day> am|pmtomorrow", -5.1547356380700124),
("minutehour", -4.931592086755803),
("Simchat Torahyear", -5.847882818629958),
("at <time-of-day>in|during the <part-of-day>",
-5.362855887685608),
-5.442417710521793),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.063572903555347),
("for <duration> from <time>December", -5.768320995793772),
("tomorrow<time-of-day> sharp|exactly", -5.768320995793772),
-4.143134726391533),
("for <duration> from <time>December", -5.847882818629958),
("tomorrow<time-of-day> sharp|exactly", -5.847882818629958),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.931592086755803),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.362855887685608),
-5.442417710521793),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Mondayin|during the <part-of-day>", -5.768320995793772),
("Shrove Tuesdayyear", -5.768320995793772),
("<part-of-day> of <time>year", -5.768320995793772),
("Yom Kippuryear", -5.768320995793772),
("Hanukkahyear", -5.768320995793772),
-4.931592086755803),
("Mondayin|during the <part-of-day>", -5.847882818629958),
("Shrove Tuesdayyear", -5.847882818629958),
("<part-of-day> of <time>year", -5.847882818629958),
("Yom Kippuryear", -5.847882818629958),
("Hanukkahyear", -5.847882818629958),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.362855887685608),
("intersectin|during the <part-of-day>", -5.768320995793772),
("Christmasat <time-of-day>", -5.768320995793772),
-5.442417710521793),
("intersectin|during the <part-of-day>", -5.847882818629958),
("Christmasat <time-of-day>", -5.847882818629958),
("Thursday<datetime> - <datetime> (interval)",
-4.852030263919617),
-4.931592086755803),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.768320995793772),
-5.847882818629958),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.515558027298404),
-4.59511985013459),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.075173815233827),
-5.1547356380700124),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.852030263919617),
("at <time-of-day>intersect", -5.362855887685608),
-4.931592086755803),
("at <time-of-day>intersect", -5.442417710521793),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.768320995793772),
("Tisha B'Avyear", -5.768320995793772),
-5.847882818629958),
("Tisha B'Avyear", -5.847882818629958),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.768320995793772),
("dayminute", -3.0941723463672437),
("Boss's Dayyear", -5.362855887685608),
("Orthodox Easter Sundayyear", -5.768320995793772),
-5.847882818629958),
("dayminute", -3.173734169203429),
("Boss's Dayyear", -5.442417710521793),
("Orthodox Easter Sundayyear", -5.847882818629958),
("from <datetime> - <datetime> (interval)on <date>",
-5.362855887685608),
("intersectyear", -5.768320995793772),
-5.442417710521793),
("intersectyear", -5.847882818629958),
("<datetime> - <datetime> (interval)tomorrow",
-5.768320995793772),
-5.847882818629958),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.362855887685608),
("<ordinal> <cycle> of <time>year", -5.768320995793772),
("minuteday", -2.3025850929940455),
-5.442417710521793),
("<ordinal> <cycle> of <time>year", -5.847882818629958),
("minuteday", -2.3821469158302313),
("absorption of , after named dayintersect",
-5.768320995793772),
("Octoberyear", -4.515558027298404),
("Shavuotyear", -5.768320995793772),
-5.847882818629958),
("Octoberyear", -4.59511985013459),
("Shavuotyear", -5.847882818629958),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.768320995793772),
("Yom HaShoahyear", -5.362855887685608),
-5.847882818629958),
("Yom HaShoahyear", -5.442417710521793),
("at <time-of-day>absorption of , after named day",
-5.768320995793772),
-5.847882818629958),
("<day-of-month> (ordinal or number) <named-month>year",
-5.768320995793772),
("year<time-of-day> am|pm", -5.768320995793772),
("Septemberyear", -5.362855887685608),
("at <time-of-day>on <date>", -4.669708707125663),
-5.847882818629958),
("year<time-of-day> am|pm", -5.847882818629958),
("Septemberyear", -5.442417710521793),
("at <time-of-day>on <date>", -4.749270529961848),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.075173815233827),
("Halloweenyear", -5.768320995793772),
("Passoveryear", -5.768320995793772),
("dayweek", -5.768320995793772),
("Lazarus Saturdayyear", -5.768320995793772),
("Thursday<time-of-day> am|pm", -5.768320995793772),
("weekyear", -5.362855887685608),
("hh:mmin|during the <part-of-day>", -5.075173815233827),
-5.1547356380700124),
("Halloweenyear", -5.847882818629958),
("Passoveryear", -5.847882818629958),
("dayweek", -5.847882818629958),
("Lazarus Saturdayyear", -5.847882818629958),
("Thursday<time-of-day> am|pm", -5.847882818629958),
("weekyear", -5.442417710521793),
("hh:mmin|during the <part-of-day>", -5.1547356380700124),
("<cycle> after|before <time><time-of-day> am|pm",
-5.362855887685608),
("Shemini Atzeretyear", -5.768320995793772),
("February<time> <part-of-day>", -5.768320995793772),
("Martin Luther King's Dayyear", -5.362855887685608),
("tomorrowat <time-of-day>", -5.075173815233827),
("between <time> and <time>on <date>", -5.075173815233827),
("Thursdayfrom|since|after <time-of-day>", -5.075173815233827),
("at <time-of-day>tomorrow", -5.362855887685608),
("tomorrow<time-of-day> am|pm", -5.768320995793772),
("Pentecostyear", -5.768320995793772),
-5.442417710521793),
("Shemini Atzeretyear", -5.847882818629958),
("February<time> <part-of-day>", -5.847882818629958),
("Martin Luther King's Dayyear", -5.442417710521793),
("Ramadanyear", -5.847882818629958),
("tomorrowat <time-of-day>", -5.1547356380700124),
("Eid al-Fitryear", -5.847882818629958),
("between <time> and <time>on <date>", -5.1547356380700124),
("Thursdayfrom|since|after <time-of-day>", -5.1547356380700124),
("at <time-of-day>tomorrow", -5.442417710521793),
("tomorrow<time-of-day> am|pm", -5.847882818629958),
("Pentecostyear", -5.847882818629958),
("in|during the <part-of-day>at <time-of-day>",
-5.768320995793772),
("Palm Sundayintersect", -5.768320995793772),
-5.847882818629958),
("Palm Sundayintersect", -5.847882818629958),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.768320995793772),
("Great Lentyear", -5.768320995793772),
("Februaryintersect", -5.768320995793772),
("last <cycle> of <time>year", -5.075173815233827),
-5.847882818629958),
("Great Lentyear", -5.847882818629958),
("Februaryintersect", -5.847882818629958),
("last <cycle> of <time>year", -5.1547356380700124),
("<named-month> <day-of-month> (non ordinal)year",
-5.768320995793772),
("yearminute", -5.768320995793772),
("Black Fridayyear", -5.362855887685608)],
n = 236},
-5.847882818629958),
("yearminute", -5.847882818629958),
("Black Fridayyear", -5.442417710521793)],
n = 258},
koData =
ClassData{prior = -0.9834852970698424, unseen = -6.111467339502679,
ClassData{prior = -1.0356374895067213, unseen = -6.135564891081739,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.41610040220442),
[("in <named-month>year", -5.440250862436703),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.41610040220442),
("hourday", -5.41610040220442),
-5.440250862436703),
("hourday", -5.440250862436703),
("<named-month> <day-of-month> (non ordinal)July",
-5.41610040220442),
("New Year's Dayyear", -5.41610040220442),
("dayhour", -2.973753366835216),
("daymonth", -3.3366588605245844),
("monthday", -5.0106352940962555),
("monthyear", -4.722953221644475),
("intersecthh:mm", -5.41610040220442),
("Easter Sundayyear", -5.0106352940962555),
-5.440250862436703),
("New Year's Dayyear", -5.034785754328539),
("dayhour", -2.997903827067499),
("daymonth", -3.3608093207568674),
("monthday", -5.034785754328539),
("monthyear", -4.747103681876758),
("intersecthh:mm", -5.440250862436703),
("Easter Sundayyear", -5.034785754328539),
("from <datetime> - <datetime> (interval)July",
-5.41610040220442),
("houryear", -5.41610040220442),
-5.440250862436703),
("houryear", -5.440250862436703),
("from <time-of-day> - <time-of-day> (interval)July",
-5.41610040220442),
("until <time-of-day><time-of-day> am|pm", -5.41610040220442),
-5.440250862436703),
("until <time-of-day><time-of-day> am|pm", -5.440250862436703),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.722953221644475),
("<time-of-day> am|pmintersect", -4.163337433709052),
-4.747103681876758),
("<time-of-day> am|pmintersect", -4.187487893941335),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.499809670330265),
("Clean Mondayyear", -5.41610040220442),
("from|since|after <time-of-day>on <date>", -4.499809670330265),
-4.523960130562548),
("Clean Mondayyear", -5.440250862436703),
("from|since|after <time-of-day>on <date>", -4.523960130562548),
("July<day-of-month> (ordinal or number) <named-month>",
-5.41610040220442),
("absorption of , after named dayJuly", -5.0106352940962555),
("monthhour", -5.41610040220442),
("hourmonth", -4.722953221644475),
("todayat <time-of-day>", -5.41610040220442),
("from|since|after <time-of-day>July", -5.41610040220442),
("dayday", -5.0106352940962555),
("mm/ddat <time-of-day>", -5.0106352940962555),
("<time-of-day> am|pmon <date>", -4.163337433709052),
("dayyear", -3.2188758248682006),
("Thursdaymm/dd", -5.41610040220442),
("Sundayyear", -4.722953221644475),
("Thursdayat <time-of-day>", -4.163337433709052),
-5.440250862436703),
("absorption of , after named dayJuly", -5.034785754328539),
("monthhour", -5.440250862436703),
("hourmonth", -4.747103681876758),
("todayat <time-of-day>", -5.440250862436703),
("from|since|after <time-of-day>July", -5.440250862436703),
("dayday", -5.034785754328539),
("mm/ddat <time-of-day>", -5.034785754328539),
("<time-of-day> am|pmon <date>", -4.187487893941335),
("dayyear", -3.188959063830208),
("Thursdaymm/dd", -5.440250862436703),
("Sundayyear", -4.747103681876758),
("Thursdayat <time-of-day>", -4.187487893941335),
("<integer> to|till|before <hour-of-day>September",
-5.41610040220442),
("monthminute", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.41610040220442),
("Thursdayhh:mm", -4.499809670330265),
-5.440250862436703),
("monthminute", -5.440250862436703),
("<time-of-day> am|pmtomorrow", -5.440250862436703),
("Thursdayhh:mm", -4.523960130562548),
("August<day-of-month> (ordinal or number) <named-month>",
-5.41610040220442),
("Fridayyear", -5.0106352940962555),
("minutemonth", -3.624340932976365),
("Sundayfrom|since|after <time-of-day>", -5.41610040220442),
-5.440250862436703),
("Fridayyear", -5.034785754328539),
("minutemonth", -3.6484913932086482),
("Sundayfrom|since|after <time-of-day>", -5.440250862436703),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.0106352940962555),
-5.034785754328539),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.0106352940962555),
("Aprilyear", -5.41610040220442),
-5.034785754328539),
("Aprilyear", -5.440250862436703),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-5.0106352940962555),
-5.034785754328539),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.41610040220442),
("Christmasat <time-of-day>", -5.41610040220442),
-5.440250862436703),
("Christmasat <time-of-day>", -5.440250862436703),
("<duration> after|before|from <time>December",
-5.41610040220442),
("yesterday<time-of-day> am|pm", -5.41610040220442),
-5.440250862436703),
("yesterday<time-of-day> am|pm", -5.440250862436703),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.499809670330265),
-4.523960130562548),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.0106352940962555),
-5.034785754328539),
("<named-month> <day-of-month> (non ordinal)August",
-5.41610040220442),
("until <time-of-day>on <date>", -4.722953221644475),
("Mondayyear", -4.722953221644475),
("Saturdayyear", -5.41610040220442),
("at <time-of-day>intersect", -5.0106352940962555),
-5.440250862436703),
("until <time-of-day>on <date>", -4.747103681876758),
("Mondayyear", -4.747103681876758),
("Saturdayyear", -5.440250862436703),
("at <time-of-day>intersect", -5.034785754328539),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.41610040220442),
("dayminute", -2.890371757896165),
("intersectSeptember", -3.912023005428146),
-5.440250862436703),
("dayminute", -2.9145222181284476),
("intersectSeptember", -3.936173465660429),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.41610040220442),
("minuteday", -2.498329670120141),
("absorption of , after named dayintersect", -5.41610040220442),
("Februaryin|during the <part-of-day>", -5.41610040220442),
("week-endin <named-month>", -5.41610040220442),
("Octoberyear", -5.41610040220442),
("from|since|after <time-of-day>year", -5.41610040220442),
("yearhh:mm", -5.41610040220442),
("hh:mmon <date>", -3.912023005428146),
-5.440250862436703),
("minuteday", -2.5224801303524242),
("absorption of , after named dayintersect",
-5.440250862436703),
("Februaryin|during the <part-of-day>", -5.440250862436703),
("week-endin <named-month>", -5.440250862436703),
("Octoberyear", -5.440250862436703),
("from|since|after <time-of-day>year", -5.440250862436703),
("yearhh:mm", -5.440250862436703),
("hh:mmon <date>", -3.936173465660429),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.41610040220442),
-5.440250862436703),
("absorption of , after named daySeptember",
-4.499809670330265),
("on <date>September", -5.0106352940962555),
("at <time-of-day>on <date>", -5.0106352940962555),
("dayweek", -5.41610040220442),
("Thursday<time-of-day> am|pm", -5.0106352940962555),
("absorption of , after named dayFebruary", -4.499809670330265),
-4.523960130562548),
("on <date>September", -5.034785754328539),
("at <time-of-day>on <date>", -5.034785754328539),
("dayweek", -5.440250862436703),
("Thursday<time-of-day> am|pm", -5.034785754328539),
("absorption of , after named dayFebruary", -4.523960130562548),
("July<integer> to|till|before <hour-of-day>",
-5.41610040220442),
("tomorrowat <time-of-day>", -5.41610040220442),
-5.440250862436703),
("tomorrowat <time-of-day>", -5.440250862436703),
("<integer> to|till|before <hour-of-day>July",
-5.41610040220442),
("Thursdayfrom|since|after <time-of-day>", -3.8066624897703196),
("tomorrow<time-of-day> am|pm", -5.41610040220442),
("Tuesdayfrom|since|after <time-of-day>", -5.41610040220442),
("yearminute", -5.41610040220442)],
n = 141}}),
-5.440250862436703),
("Thursdayfrom|since|after <time-of-day>", -3.8308129500026027),
("tomorrow<time-of-day> am|pm", -5.440250862436703),
("Tuesdayfrom|since|after <time-of-day>", -5.440250862436703),
("yearminute", -5.440250862436703)],
n = 142}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1471,6 +1489,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1478,6 +1503,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1626,14 +1658,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.2076393647782445, unseen = -4.248495242049359,
ClassData{prior = -0.1590646946296874,
unseen = -4.5217885770490405,
likelihoods =
HashMap.fromList
[("integer (numeric)", -7.522342123758752e-2),
("intersect 2 numbers", -3.1354942159291497)],
n = 65},
[("integer (numeric)", -5.6512210263342334e-2),
("intersect 2 numbers", -3.41224721784874)],
n = 87},
koData =
ClassData{prior = -1.6739764335716716, unseen = -2.995732273553991,
ClassData{prior = -1.916922612182061, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.6418538861723948),
@ -1837,6 +1870,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2116,6 +2163,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2223,6 +2277,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2332,13 +2393,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2354,6 +2415,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2686,6 +2754,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
ClassData{prior = -0.6057455596629239, unseen = -5.459585514144159,
likelihoods = HashMap.fromList [("", 0.0)], n = 233},
koData =
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
ClassData{prior = -0.7889258541652964, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
@ -151,6 +150,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Ramadan",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lazarus Saturday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -679,279 +685,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
ClassData{prior = -0.43812640448666235,
unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.487029943683866),
("Lentyear", -5.739792912179234),
-4.568802541817217),
("Islamic New Yearyear", -5.41610040220442),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.822022180094955),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
-4.568802541817217),
("hourday", -4.1168174180741595),
("dayhour", -2.9037947782283053),
("daymonth", -5.128418329752639),
("Laylat al-Qadryear", -4.90527477843843),
("monthday", -5.41610040220442),
("monthyear", -4.212127597878484),
("Tuesdaythe <day-of-month> (ordinal)", -5.821565510312585),
("Easter Sundayyear", -5.128418329752639),
("Christmasyear", -5.41610040220442),
("from <datetime> - <datetime> (interval)July",
-5.739792912179234),
("houryear", -5.334327804071069),
-5.821565510312585),
("Isra and Mi'rajyear", -4.90527477843843),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.739792912179234),
("Marchyear", -5.739792912179234),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("Rosh Hashanahyear", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
-5.41610040220442),
("intersect<time-of-day> am|pm", -5.821565510312585),
("Clean Mondayyear", -5.41610040220442),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.821565510312585),
("Rosh Hashanahyear", -5.821565510312585),
("Mawlidyear", -5.821565510312585),
("Jumu'atul-Widayear", -4.90527477843843),
("monthhour", -5.41610040220442),
("last <day-of-week> of <time>year", -5.821565510312585),
("todayat <time-of-day>", -5.821565510312585),
("Thursday<time> timezone", -4.1168174180741595),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.739792912179234),
("Yom Ha'atzmautyear", -5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
-5.821565510312585),
("Yom Ha'atzmautyear", -5.821565510312585),
("Palm SundaySunday", -5.41610040220442),
("dayday", -3.624340932976365),
("<time> <part-of-day>at <time-of-day>", -5.821565510312585),
("Tuesdayin <named-month>", -5.821565510312585),
("tonightat <time-of-day>", -5.821565510312585),
("<time-of-day> am|pmabsorption of , after named day",
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
-5.128418329752639),
("today<time-of-day> am|pm", -5.821565510312585),
("Februarythe <day-of-month> (ordinal)", -5.41610040220442),
("at <time-of-day><time> <part-of-day>", -5.821565510312585),
("hourhour", -4.568802541817217),
("<time-of-day> am|pmon <date>", -3.8066624897703196),
("Wednesdaythis|last|next <cycle>", -5.821565510312585),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
-4.31748811353631),
("Ashurayear", -5.821565510312585),
("dayyear", -2.295204985696423),
("Eid al-Adhayear", -4.90527477843843),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Simchat Torahyear", -5.739792912179234),
-5.821565510312585),
("Sundayyear", -5.821565510312585),
("Chinese New Yearyear", -5.821565510312585),
("Thursdayat <time-of-day>", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.128418329752639),
("minutehour", -4.90527477843843),
("Simchat Torahyear", -5.821565510312585),
("at <time-of-day>in|during the <part-of-day>",
-5.334327804071069),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.334327804071069),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("Yom Kippuryear", -5.739792912179234),
("Hanukkahyear", -5.739792912179234),
-4.90527477843843),
("Mondayin|during the <part-of-day>", -5.821565510312585),
("Shrove Tuesdayyear", -5.821565510312585),
("<part-of-day> of <time>year", -5.821565510312585),
("Yom Kippuryear", -5.821565510312585),
("Hanukkahyear", -5.821565510312585),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
-5.41610040220442),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.823502180305079),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.739792912179234),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.487029943683866),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0466457316192885),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
-5.821565510312585),
("dayminute", -3.2188758248682006),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.334327804071069),
("intersectyear", -5.739792912179234),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.739792912179234),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
-5.821565510312585),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.739792912179234),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
-5.821565510312585),
("year<time-of-day> am|pm", -5.821565510312585),
("Septemberyear", -5.41610040220442),
("at <time-of-day>on <date>", -4.722953221644475),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("Passoveryear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
-5.128418329752639),
("Halloweenyear", -5.821565510312585),
("Passoveryear", -5.821565510312585),
("dayweek", -5.821565510312585),
("Lazarus Saturdayyear", -5.821565510312585),
("Thursday<time-of-day> am|pm", -5.821565510312585),
("weekyear", -5.41610040220442),
("hh:mmin|during the <part-of-day>", -5.128418329752639),
("<cycle> after|before <time><time-of-day> am|pm",
-5.334327804071069),
("Shemini Atzeretyear", -5.739792912179234),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
-5.41610040220442),
("Shemini Atzeretyear", -5.821565510312585),
("February<time> <part-of-day>", -5.821565510312585),
("Martin Luther King's Dayyear", -5.41610040220442),
("Ramadanyear", -5.821565510312585),
("tomorrowat <time-of-day>", -5.128418329752639),
("Eid al-Fitryear", -5.821565510312585),
("between <time> and <time>on <date>", -5.128418329752639),
("Thursdayfrom|since|after <time-of-day>", -5.128418329752639),
("at <time-of-day>tomorrow", -5.41610040220442),
("tomorrow<time-of-day> am|pm", -5.821565510312585),
("Pentecostyear", -5.821565510312585),
("in|during the <part-of-day>at <time-of-day>",
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
-5.821565510312585),
("Great Lentyear", -5.821565510312585),
("Februaryintersect", -5.821565510312585),
("last <cycle> of <time>year", -5.128418329752639),
("<named-month> <day-of-month> (non ordinal)year",
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 251},
koData =
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
ClassData{prior = -1.0363256584612415,
unseen = -6.1092475827643655,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.413875707182309),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.413875707182309),
("hourday", -5.413875707182309),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("New Year's Dayyear", -5.389071729816501),
("dayhour", -3.086486636822455),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.413875707182309),
("New Year's Dayyear", -5.0084105990741445),
("dayhour", -3.1112906141882632),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.413875707182309),
("houryear", -5.413875707182309),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("dayyear", -3.1918471524802814),
("Thursdaymm/dd", -5.389071729816501),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.413875707182309),
("absorption of , after named dayJuly", -5.0084105990741445),
("monthhour", -5.413875707182309),
("hourmonth", -4.720728526622364),
("todayat <time-of-day>", -5.413875707182309),
("from|since|after <time-of-day>July", -5.413875707182309),
("dayday", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("dayyear", -3.162583908575814),
("Thursdaymm/dd", -5.413875707182309),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-5.0084105990741445),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.497584975308154),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-5.0084105990741445),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
-5.413875707182309),
("dayminute", -2.928969057394309),
("intersectSeptember", -3.909798310406035),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.413875707182309),
("Februaryin|during the <part-of-day>", -5.413875707182309),
("week-endin <named-month>", -5.413875707182309),
("Octoberyear", -5.413875707182309),
("from|since|after <time-of-day>year", -5.413875707182309),
("yearhh:mm", -5.413875707182309),
("hh:mmon <date>", -3.909798310406035),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.413875707182309),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.497584975308154),
("on <date>September", -5.0084105990741445),
("at <time-of-day>on <date>", -5.0084105990741445),
("dayweek", -5.413875707182309),
("Thursday<time-of-day> am|pm", -5.0084105990741445),
("absorption of , after named dayFebruary", -4.497584975308154),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 137}}),
-5.413875707182309),
("Thursdayfrom|since|after <time-of-day>", -3.8044377947482086),
("tomorrow<time-of-day> am|pm", -5.413875707182309),
("Tuesdayfrom|since|after <time-of-day>", -5.413875707182309),
("yearminute", -5.413875707182309)],
n = 138}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1466,6 +1482,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Ashura",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Palm Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1473,6 +1496,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Adha",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("by <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1620,14 +1650,14 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year",
Classifier{okData =
ClassData{prior = -0.1961148789262905, unseen = -4.174387269895637,
ClassData{prior = -0.1471576443362877, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -5.989814158106896e-2),
("intersect 2 numbers", -3.355735007585398)],
n = 82},
koData =
ClassData{prior = -1.7255100836868544, unseen = -2.890371757896165,
ClassData{prior = -1.988927534139004, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -1827,6 +1857,20 @@ classifiers
koData =
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mawlid",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Jumu'atul-Wida",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter after|past <hour-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
@ -2098,6 +2142,13 @@ classifiers
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
n = 10}}),
("Isra and Mi'raj",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.3184537311185346,
@ -2204,6 +2255,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [], n = 0}}),
("Islamic New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Lent",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2313,13 +2371,13 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -1.5040773967762742,
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
ClassData{prior = -0.2231435513142097,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -2335,6 +2393,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Laylat al-Qadr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -2665,6 +2730,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("Eid al-Fitr",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("summer",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -6,8 +6,9 @@
-- of patent rights can be found in the PATENTS file in the same directory.
module Duckling.Time.Computed
( chanukah, chineseNewYear, easterSunday, lagBaOmer, orthodoxEaster, passover
, roshHashana, tishaBAv, yomHaatzmaut
( chanukah, chineseNewYear, easterSunday, eidalAdha, eidalFitr, lagBaOmer
, mawlid, muharram, orthodoxEaster, passover, rajab, ramadan, roshHashana
, tishaBAv, yomHaatzmaut
) where
import Data.Maybe
@ -1004,3 +1005,230 @@ yomHaatzmaut' = mapMaybe toTimeObjectM
, (2049, 5, 5)
, (2050, 4, 26)
]
eidalAdha :: TimeData
eidalAdha = computedDays eidalAdha'
eidalAdha' :: [TimeObject]
eidalAdha' = mapMaybe toTimeObjectM
[ (2000, 3, 16)
, (2001, 3, 5)
, (2002, 2, 22)
, (2003, 2, 11)
, (2004, 2, 1)
, (2005, 1, 21)
, (2006, 1, 10)
, (2006, 12, 31)
, (2007, 12, 20)
, (2008, 12, 8)
, (2009, 11, 27)
, (2011, 11, 6)
, (2012, 10, 26)
, (2013, 10, 15)
, (2014, 10, 4)
, (2015, 8, 23)
, (2016, 9, 11)
, (2017, 9, 1)
, (2018, 8, 21)
, (2019, 8, 11)
, (2020, 7, 31)
, (2021, 7, 20)
, (2022, 7, 9)
, (2023, 6, 28)
, (2024, 6, 16)
, (2025, 6, 6)
, (2026, 5, 27)
, (2027, 5, 16)
, (2028, 5, 5)
, (2029, 4, 24)
]
eidalFitr :: TimeData
eidalFitr = computedDays eidalFitr'
eidalFitr' :: [TimeObject]
eidalFitr' = mapMaybe toTimeObjectM
[ (2000, 1, 8)
, (2000, 12, 27)
, (2001, 12, 16)
, (2002, 12, 5)
, (2003, 11, 25)
, (2004, 11, 14)
, (2005, 11, 3)
, (2006, 10, 23)
, (2007, 10, 13)
, (2008, 10, 1)
, (2009, 9, 20)
, (2010, 9, 10)
, (2011, 8, 30)
, (2012, 8, 19)
, (2013, 8, 8)
, (2014, 7, 28)
, (2015, 7, 17)
, (2016, 7, 6)
, (2017, 6, 25)
, (2018, 6, 15)
, (2019, 6, 4)
, (2020, 5, 24)
, (2021, 5, 13)
, (2022, 5, 2)
, (2023, 4, 21)
, (2024, 4, 10)
, (2025, 3, 30)
, (2026, 3, 20)
, (2027, 3, 9)
, (2028, 2, 26)
, (2029, 2, 14)
]
rajab :: TimeData
rajab = computedDays rajab'
rajab' :: [TimeObject]
rajab' = mapMaybe toTimeObjectM
[ (1999, 10, 10)
, (2000, 9, 28)
, (2001, 9, 18)
, (2002, 9, 8)
, (2003, 8, 29)
, (2004, 8, 17)
, (2005, 8, 6)
, (2006, 7, 26)
, (2007, 7, 15)
, (2008, 7, 4)
, (2009, 6, 24)
, (2010, 6, 13)
, (2011, 6, 3)
, (2012, 5, 22)
, (2013, 5, 11)
, (2014, 4, 30)
, (2015, 4, 20)
, (2016, 4, 8)
, (2017, 3, 29)
, (2018, 3, 18)
, (2019, 3, 8)
, (2020, 2, 25)
, (2021, 2, 13)
, (2022, 2, 2)
, (2023, 1, 23)
, (2024, 1, 13)
, (2025, 1, 1)
, (2025, 12, 21)
, (2026, 12, 10)
, (2027, 11, 29)
, (2028, 11, 18)
]
muharram :: TimeData
muharram = computedDays muharram'
muharram' :: [TimeObject]
muharram' = mapMaybe toTimeObjectM
[ (1998, 4, 27)
, (1999, 4, 17)
, (2000, 4, 6)
, (2001, 3, 26)
, (2002, 3, 15)
, (2003, 4, 4)
, (2004, 2, 21)
, (2005, 2, 10)
, (2006, 1, 31)
, (2007, 1, 20)
, (2008, 1, 10)
, (2009, 12, 18)
, (2010, 12, 7)
, (2011, 11, 26)
, (2012, 11, 15)
, (2013, 11, 4)
, (2014, 10, 25)
, (2015, 10, 14)
, (2016, 10, 2)
, (2017, 9, 21)
, (2018, 9, 11)
, (2019, 8, 31)
, (2020, 8, 20)
, (2021, 8, 9)
, (2022, 7, 30)
, (2023, 7, 19)
, (2024, 7, 7)
, (2025, 6, 26)
, (2026, 6, 16)
, (2027, 6, 6)
, (2028, 5, 25)
]
ramadan :: TimeData
ramadan = computedDays ramadan'
ramadan' :: [TimeObject]
ramadan' = mapMaybe toTimeObjectM
[ (1999, 12, 9)
, (2000, 11, 27)
, (2001, 11, 16)
, (2002, 11, 6)
, (2003, 10, 26)
, (2004, 10, 15)
, (2005, 10, 4)
, (2006, 9, 24)
, (2007, 9, 13)
, (2008, 9, 1)
, (2009, 8, 22)
, (2010, 8, 11)
, (2011, 8, 1)
, (2012, 7, 20)
, (2013, 7, 9)
, (2014, 6, 28)
, (2015, 6, 18)
, (2016, 6, 6)
, (2017, 5, 27)
, (2018, 5, 16)
, (2019, 5, 6)
, (2020, 4, 24)
, (2021, 4, 13)
, (2022, 4, 2)
, (2023, 3, 23)
, (2024, 3, 11)
, (2025, 3, 1)
, (2026, 2, 18)
, (2027, 2, 8)
, (2028, 1, 28)
, (2029, 1, 16)
]
mawlid :: TimeData
mawlid = computedDays mawlid'
mawlid' :: [TimeObject]
mawlid' = mapMaybe toTimeObjectM
[ (1999, 6, 26)
, (2000, 6, 14)
, (2001, 6, 4)
, (2002, 5, 24)
, (2003, 5, 13)
, (2004, 5, 1)
, (2005, 4, 21)
, (2006, 4, 10)
, (2007, 3, 31)
, (2008, 3, 20)
, (2009, 3, 9)
, (2010, 2, 26)
, (2011, 2, 15)
, (2012, 2, 4)
, (2013, 1, 24)
, (2014, 1, 13)
, (2015, 1, 3)
, (2015, 12, 23)
, (2016, 12, 11)
, (2017, 11, 30)
, (2018, 11, 20)
, (2019, 11, 9)
, (2020, 10, 29)
, (2021, 10, 18)
, (2022, 10, 8)
, (2023, 9, 27)
, (2024, 9, 15)
, (2025, 9, 4)
, (2026, 8, 25)
, (2027, 8, 14)
, (2028, 8, 3)
]

View File

@ -1236,4 +1236,50 @@ allExamples = concat
, examples (datetimeIntervalHoliday ((2018, 5, 19, 0, 0, 0), (2018, 5, 22, 0, 0, 0)) Day "Shavuot")
[ "shavuot 2018"
]
, examples (datetimeHoliday (2017, 11, 30, 0, 0, 0) Day "Mawlid")
[ "mawlid al-nabawi 2017"
]
, examples (datetimeHoliday (2018, 6, 15, 0, 0, 0) Day "Eid al-Fitr")
[ "Eid al-Fitr 2018"
]
, examples (datetimeHoliday (2018, 8, 21, 0, 0, 0) Day "Eid al-Adha")
[ "Eid al-Adha 2018"
, "id ul-adha 2018"
, "sacrifice feast 2018"
, "Bakr Id 2018"
]
, examples (datetimeHoliday (2017, 6, 22, 0, 0, 0) Day "Laylat al-Qadr")
[ "laylat al kadr 2017"
, "night of measures 2017"
]
, examples (datetimeHoliday (2018, 6, 11, 0, 0, 0) Day "Laylat al-Qadr")
[ "laylat al-qadr 2018"
, "night of power 2018"
]
, examples (datetimeHoliday (2018, 9, 11, 0, 0, 0) Day "Islamic New Year")
[ "Islamic New Year 2018"
, "Amun Jadid 2018"
]
, examples (datetimeHoliday (2017, 9, 30, 0, 0, 0) Day "Ashura")
[ "day of Ashura 2017"
]
, examples (datetimeHoliday (2017, 6, 23, 0, 0, 0) Day "Jumu'atul-Wida")
[ "Jamat Ul-Vida 2017"
, "Jumu'atul-Wida 2017"
]
, examples (datetimeHoliday (2018, 6, 8, 0, 0, 0) Day "Jumu'atul-Wida")
[ "Jamat Ul-Vida 2018"
, "Jumu'atul-Wida 2018"
]
, examples (datetimeHoliday (2018, 4, 13, 0, 0, 0) Day "Isra and Mi'raj")
[ "isra and mi'raj 2018"
, "the prophet's ascension 2018"
]
, examples (datetimeHoliday (2019, 4, 3, 0, 0, 0) Day "Isra and Mi'raj")
[ "the night journey 2019"
, "ascension to heaven 2019"
]
, examples (datetimeIntervalHoliday ((2018, 5, 16, 0, 0, 0), (2018, 6, 15, 0, 0, 0)) Day "Ramadan")
[ "Ramadan 2018"
]
]

View File

@ -95,4 +95,13 @@ allExamples = concat
[ "labour day of last year"
, "Labour Day 2012"
]
, examples (datetimeHoliday (2018, 3, 30, 0, 0, 0) Day "Hazarat Ali's Birthday")
[ "Hazarat Ali's Birthday 2018"
]
, examples (datetimeHoliday (2019, 3, 20, 0, 0, 0) Day "Hazarat Ali's Birthday")
[ "Hazarat Ali's Birthday 2019"
]
, examples (datetimeIntervalHoliday ((2018, 5, 16, 0, 0, 0), (2018, 6, 15, 0, 0, 0)) Day "Ramadan")
[ "ramzaan 2018"
]
]

View File

@ -20,9 +20,11 @@ import Prelude
import Duckling.Dimensions.Types
import Duckling.Numeral.Helpers (parseInt)
import Duckling.Regex.Types
import Duckling.Time.Computed
import Duckling.Time.Helpers
import Duckling.Time.Types (TimeData (..))
import Duckling.Types
import qualified Duckling.TimeGrain.Types as TG
ruleDDMM :: Rule
ruleDDMM = Rule
@ -87,10 +89,17 @@ rulePeriodicHolidays = mkRuleHolidays
, ( "Thanksgiving Day", "thanks?giving( day)?", nthDOWOfMonth 4 4 11 )
]
ruleComputedHolidays :: [Rule]
ruleComputedHolidays = mkRuleHolidays
[ ( "Hazarat Ali's Birthday", "hazarat ali's birthday"
, cycleNthAfter False TG.Day 12 rajab )
]
rules :: [Rule]
rules =
[ ruleDDMM
, ruleDDMMYYYY
, ruleDDMMYYYYDot
]
++ ruleComputedHolidays
++ rulePeriodicHolidays

View File

@ -1581,26 +1581,46 @@ ruleComputedHolidays = mkRuleHolidays
, cycleNthAfter False TG.Day 39 easterSunday )
, ( "Ash Wednesday", "ash\\s+wednesday|carnival"
, cycleNthAfter False TG.Day (-46) easterSunday )
, ( "Ashura", "(day of )?ashura"
, cycleNthAfter False TG.Day 9 muharram )
, ( "Chinese New Year", "chinese\\s+(lunar\\s+)?new\\s+year('s\\s+day)?"
, chineseNewYear )
, ( "Clean Monday", "(orthodox\\s+)?(ash|clean|green|pure|shrove)\\s+monday|monday of lent"
, ( "Clean Monday"
, "(orthodox\\s+)?(ash|clean|green|pure|shrove)\\s+monday|monday of lent"
, cycleNthAfter False TG.Day (-48) orthodoxEaster )
, ( "Corpus Christi", "(the feast of )?corpus\\s+christi"
, cycleNthAfter False TG.Day 60 easterSunday )
, ( "Easter Monday", "easter\\s+mon(day)?"
, cycleNthAfter False TG.Day 1 easterSunday )
, ( "Easter Sunday", "easter(\\s+sun(day)?)?", easterSunday )
, ( "Eid al-Adha", "bakr[\\-\\s]e?id|e?id [au]l\\-adha|sacrifice feast"
, eidalAdha )
, ( "Eid al-Fitr", "eid al\\-fitr", eidalFitr )
, ( "Good Friday", "(good|great|holy)\\s+fri(day)?"
, cycleNthAfter False TG.Day (-2) easterSunday )
, ( "Holy Saturday"
, "(black|holy (and great )?|joyous)sat(urday)?|the great sabbath|easter eve"
, cycleNthAfter False TG.Day (-1) easterSunday )
, ( "Islamic New Year", "(arabic|hijri|islamic) new year|amun jadid|muharram"
, muharram )
, ( "Isra and Mi'raj"
, "isra and mi'raj|(the )?prophet'?s'? ascension|(the )?ascension to heaven|the night journey"
, cycleNthAfter False TG.Day 26 rajab
)
, ( "Jumu'atul-Wida", "jumu'atul\\-widaa?'?|jamat[\\-\\s]ul[\\-\\s]vida"
, predNthAfter (-1) (dayOfWeek 5) eidalFitr )
, ( "Lag BaOmer", "lag b[a']omer", lagBaOmer )
, ( "Laylat al-Qadr"
, "laylat al[\\-\\s][qk]adr|night of (destiny|measures|power|value)"
, cycleNthAfter False TG.Day 26 ramadan )
, ( "Lazarus Saturday", "lazarus\\s+saturday"
, cycleNthAfter False TG.Day (-8) orthodoxEaster )
, ( "Maundy Thursday"
, "(covenant|(great and )?holy|maundy|sheer)\\s+thu(rsday)?|thu(rsday)? of mysteries"
, cycleNthAfter False TG.Day (-3) easterSunday )
, ( "Mawlid"
, "mawlid(\\s+al\\-nab(awi|i\\s+al\\-sharif))?|mevli[dt]|mulud|birth(day)? of (the )?prophet( muhammad)?|(the )?prophet's birthday"
, mawlid )
, ( "Orthodox Easter Monday", "orthodox\\s+easter\\s+mon(day)?"
, cycleNthAfter False TG.Day 1 orthodoxEaster )
, ( "Orthodox Easter Sunday", "orthodox\\s+easter(\\s+sun(day)?)?|pascha?"
@ -1655,6 +1675,10 @@ ruleComputedHolidays' = mkRuleHolidays'
, let start = passover
end = cycleNthAfter False TG.Day 8 passover
in interval TTime.Open start end )
, ( "Ramadan", "rama[dt]h?an|ramzaa?n"
, let start = ramadan
end = cycleNthAfter False TG.Day (-1) eidalFitr
in interval TTime.Open start end )
, ( "Rosh Hashanah", "rosh hashanah|yom teruah"
, let start = roshHashana
end = cycleNthAfter False TG.Day 2 roshHashana

View File

@ -92,4 +92,7 @@ allExamples = concat
[ "labour day of last year"
, "Labour Day 2012"
]
, examples (datetimeHoliday (2017, 9, 30, 0, 0, 0) Day "Hosay")
[ "hosay 2017"
]
]

View File

@ -20,9 +20,11 @@ import Prelude
import Duckling.Dimensions.Types
import Duckling.Numeral.Helpers (parseInt)
import Duckling.Regex.Types
import Duckling.Time.Computed
import Duckling.Time.Helpers
import Duckling.Time.Types (TimeData (..))
import Duckling.Types
import qualified Duckling.TimeGrain.Types as TG
ruleDDMM :: Rule
ruleDDMM = Rule
@ -82,10 +84,16 @@ rulePeriodicHolidays = mkRuleHolidays
, ( "Thanksgiving Day", "thanks?giving( day)?", nthDOWOfMonth 4 4 11 )
]
ruleComputedHolidays :: [Rule]
ruleComputedHolidays = mkRuleHolidays
[ ( "Hosay", "hosay", cycleNthAfter False TG.Day 9 muharram )
]
rules :: [Rule]
rules =
[ ruleDDMM
, ruleDDMMYYYY
, ruleDDMMYYYYDot
]
++ ruleComputedHolidays
++ rulePeriodicHolidays