Time/EN: Rule <Day of month> of month

Summary:
Rule to resolve things like:
"27th of next month"
"15th of last month"
"3rd of this month"

Reviewed By: patapizza

Differential Revision: D7543740

fbshipit-source-id: 20bdc194ed7d1466e2ca42c87b73a04ace7c29ab
This commit is contained in:
Chinmay Deshmukh 2018-04-09 16:29:53 -07:00 committed by Facebook Github Bot
parent 1c6ebffb46
commit c567abea1c
15 changed files with 4002 additions and 3553 deletions

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("Thursdaydd/mm", -5.3867860145356445),
("dayyear", -3.1895614371994254),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("Thursdaydd/mm", -5.3867860145356445),
("dayyear", -3.1895614371994254),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,11 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.673212965659128, unseen = -5.438079308923196,
likelihoods = HashMap.fromList [("", 0.0)], n = 228},
ClassData{prior = -0.6778128165598386, unseen = -5.44673737166631,
likelihoods = HashMap.fromList [("", 0.0)], n = 230},
koData =
ClassData{prior = -0.713486864797068, unseen = -5.3981627015177525,
likelihoods = HashMap.fromList [("", 0.0)], n = 219}}),
ClassData{prior = -0.7087203540229152, unseen = -5.41610040220442,
likelihoods = HashMap.fromList [("", 0.0)], n = 223}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -234,52 +234,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("today",
Classifier{okData =
@ -515,8 +517,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -699,288 +701,289 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4486938426589846, unseen = -6.511745329644728,
ClassData{prior = -0.4472466421231193, unseen = -6.516193076042964,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.564348191467836),
("Lentyear", -5.817111159963204),
-4.568802541817217),
("Lentyear", -5.821565510312585),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.564348191467836),
("hourday", -4.112363067724779),
("dayhour", -2.9267394020670396),
("National Patriots' Dayyear", -5.123963979403259),
("daymonth", -5.123963979403259),
("monthday", -5.4116460518550396),
("monthyear", -4.207673247529104),
("Tuesdaythe <day-of-month> (ordinal)", -5.817111159963204),
("Easter Sundayyear", -5.123963979403259),
("Christmasyear", -5.4116460518550396),
-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),
("from <datetime> - <datetime> (interval)July",
-5.817111159963204),
("houryear", -5.4116460518550396),
-5.821565510312585),
("houryear", -5.41610040220442),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.817111159963204),
("Christmas<time-of-day> am|pm", -5.817111159963204),
-5.821565510312585),
("Christmas<time-of-day> am|pm", -5.821565510312585),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.123963979403259),
("Sukkotyear", -5.4116460518550396),
("<time-of-day> am|pmintersect", -4.564348191467836),
-5.128418329752639),
("Sukkotyear", -5.41610040220442),
("<time-of-day> am|pmintersect", -4.568802541817217),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.817111159963204),
("Marchyear", -5.817111159963204),
-5.821565510312585),
("Marchyear", -5.821565510312585),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.4116460518550396),
("intersect<time-of-day> am|pm", -5.817111159963204),
("Clean Mondayyear", -5.4116460518550396),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.817111159963204),
("Rosh Hashanahyear", -5.817111159963204),
("monthhour", -5.4116460518550396),
("last <day-of-week> of <time>year", -5.817111159963204),
("todayat <time-of-day>", -5.817111159963204),
("Thursday<time> timezone", -4.112363067724779),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.817111159963204),
("Yom Ha'atzmautyear", -5.817111159963204),
("Palm SundaySunday", -5.4116460518550396),
("dayday", -3.619886582626985),
("Thanksgiving Dayyear", -4.718498871295094),
("<time> <part-of-day>at <time-of-day>", -5.817111159963204),
("Tuesdayin <named-month>", -5.817111159963204),
("mm/ddat <time-of-day>", -5.817111159963204),
("tonightat <time-of-day>", -5.817111159963204),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.123963979403259),
("today<time-of-day> am|pm", -5.817111159963204),
("Februarythe <day-of-month> (ordinal)", -5.4116460518550396),
("at <time-of-day><time> <part-of-day>", -5.817111159963204),
("mm/dd<time-of-day> am|pm", -5.817111159963204),
("hourhour", -4.564348191467836),
("<time-of-day> am|pmon <date>", -3.8022081394209395),
("Wednesdaythis|last|next <cycle>", -5.817111159963204),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.31303376318693),
("dayyear", -2.3358710706275123),
("Lag BaOmeryear", -5.817111159963204),
("last weekend of <named-month>year", -5.817111159963204),
-4.31748811353631),
("dayyear", -2.340325420976893),
("Lag BaOmeryear", -5.821565510312585),
("last weekend of <named-month>year", -5.821565510312585),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.817111159963204),
("Sundayyear", -5.817111159963204),
("Chinese New Yearyear", -5.817111159963204),
("Thursdayat <time-of-day>", -5.4116460518550396),
("<time-of-day> am|pmtomorrow", -5.123963979403259),
("minutehour", -4.900820428089049),
("Mother's Dayyear", -5.817111159963204),
("Simchat Torahyear", -5.817111159963204),
("Victoria Dayyear", -5.4116460518550396),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.4116460518550396),
-5.41610040220442),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.112363067724779),
("for <duration> from <time>December", -5.817111159963204),
("tomorrow<time-of-day> sharp|exactly", -5.817111159963204),
-4.1168174180741595),
("for <duration> from <time>December", -5.821565510312585),
("tomorrow<time-of-day> sharp|exactly", -5.821565510312585),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.900820428089049),
-4.90527477843843),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.4116460518550396),
-5.41610040220442),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.900820428089049),
("Mondayin|during the <part-of-day>", -5.817111159963204),
("Discovery Dayyear", -5.4116460518550396),
("Shrove Tuesdayyear", -5.817111159963204),
("<part-of-day> of <time>year", -5.817111159963204),
("Yom Kippuryear", -5.817111159963204),
("Hanukkahyear", -5.817111159963204),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.4116460518550396),
("Labour Dayyear", -5.817111159963204),
("intersectin|during the <part-of-day>", -5.817111159963204),
("Christmasat <time-of-day>", -5.817111159963204),
-5.41610040220442),
("Labour Dayyear", -5.821565510312585),
("intersectin|during the <part-of-day>", -5.821565510312585),
("Christmasat <time-of-day>", -5.821565510312585),
("Thursday<datetime> - <datetime> (interval)",
-4.900820428089049),
-4.90527477843843),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.817111159963204),
-5.821565510312585),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.564348191467836),
-4.568802541817217),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.123963979403259),
-5.128418329752639),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.900820428089049),
("at <time-of-day>intersect", -5.4116460518550396),
-4.90527477843843),
("at <time-of-day>intersect", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.817111159963204),
("Tisha B'Avyear", -5.817111159963204),
-5.821565510312585),
("Tisha B'Avyear", -5.821565510312585),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.817111159963204),
("dayminute", -3.1429625105366754),
("Boss's Dayyear", -5.4116460518550396),
("Orthodox Easter Sundayyear", -5.817111159963204),
-5.821565510312585),
("dayminute", -3.147416860886056),
("Boss's Dayyear", -5.41610040220442),
("Orthodox Easter Sundayyear", -5.821565510312585),
("from <datetime> - <datetime> (interval)on <date>",
-5.4116460518550396),
("intersectyear", -5.817111159963204),
-5.41610040220442),
("intersectyear", -5.821565510312585),
("<datetime> - <datetime> (interval)tomorrow",
-5.817111159963204),
-5.821565510312585),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.4116460518550396),
("<ordinal> <cycle> of <time>year", -5.817111159963204),
("minuteday", -2.3513752571634776),
-5.41610040220442),
("<ordinal> <cycle> of <time>year", -5.821565510312585),
("minuteday", -2.355829607512858),
("absorption of , after named dayintersect",
-5.817111159963204),
("Family Dayyear", -4.900820428089049),
("Octoberyear", -4.564348191467836),
("Shavuotyear", -5.817111159963204),
-5.821565510312585),
("Family Dayyear", -4.90527477843843),
("Octoberyear", -4.568802541817217),
("Shavuotyear", -5.821565510312585),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.817111159963204),
("Yom HaShoahyear", -5.4116460518550396),
-5.821565510312585),
("Yom HaShoahyear", -5.41610040220442),
("at <time-of-day>absorption of , after named day",
-5.817111159963204),
-5.821565510312585),
("<day-of-month> (ordinal or number) <named-month>year",
-5.817111159963204),
("year<time-of-day> am|pm", -5.817111159963204),
("Septemberyear", -5.4116460518550396),
("at <time-of-day>on <date>", -4.718498871295094),
-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.123963979403259),
("Halloweenyear", -5.817111159963204),
("Passoveryear", -5.817111159963204),
("dayweek", -5.817111159963204),
("Lazarus Saturdayyear", -5.817111159963204),
("Thursday<time-of-day> am|pm", -5.817111159963204),
("weekyear", -5.4116460518550396),
("hh:mmin|during the <part-of-day>", -5.123963979403259),
("Father's Dayyear", -5.817111159963204),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.4116460518550396),
("Shemini Atzeretyear", -5.817111159963204),
("February<time> <part-of-day>", -5.817111159963204),
("Martin Luther King's Dayyear", -5.4116460518550396),
("tomorrowat <time-of-day>", -5.123963979403259),
("between <time> and <time>on <date>", -5.123963979403259),
("Thursdayfrom|since|after <time-of-day>", -5.123963979403259),
("at <time-of-day>tomorrow", -5.4116460518550396),
("tomorrow<time-of-day> am|pm", -5.817111159963204),
("Pentecostyear", -5.817111159963204),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.817111159963204),
("Palm Sundayintersect", -5.817111159963204),
("Great Lentyear", -5.817111159963204),
("Februaryintersect", -5.817111159963204),
("last <cycle> of <time>year", -5.123963979403259),
-5.821565510312585),
("Palm Sundayintersect", -5.821565510312585),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.817111159963204),
("yearminute", -5.817111159963204),
("Black Fridayyear", -5.4116460518550396)],
n = 249},
-5.821565510312585),
("yearminute", -5.821565510312585),
("Black Fridayyear", -5.41610040220442)],
n = 250},
koData =
ClassData{prior = -1.0173868487455238, unseen = -6.124683390894205,
ClassData{prior = -1.0199476696071976, unseen = -6.126869184114185,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.429345628954441),
[("in <named-month>year", -5.43153621033426),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.429345628954441),
("hourday", -5.429345628954441),
-5.43153621033426),
("hourday", -5.43153621033426),
("<named-month> <day-of-month> (non ordinal)July",
-5.429345628954441),
("New Year's Dayyear", -5.429345628954441),
("dayhour", -2.9869985935852363),
("daymonth", -3.349904087274605),
("monthday", -5.0238805208462765),
("monthyear", -4.736198448394496),
("intersecthh:mm", -5.429345628954441),
("Easter Sundayyear", -5.0238805208462765),
-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),
("from <datetime> - <datetime> (interval)July",
-5.429345628954441),
("houryear", -5.429345628954441),
-5.43153621033426),
("houryear", -5.43153621033426),
("from <time-of-day> - <time-of-day> (interval)July",
-5.429345628954441),
("until <time-of-day><time-of-day> am|pm", -5.429345628954441),
-5.43153621033426),
("until <time-of-day><time-of-day> am|pm", -5.43153621033426),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.736198448394496),
("<time-of-day> am|pmintersect", -4.176582660459073),
-4.738389029774314),
("<time-of-day> am|pmintersect", -4.178773241838892),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.513054897080286),
("Clean Mondayyear", -5.429345628954441),
("from|since|after <time-of-day>on <date>", -4.513054897080286),
-4.515245478460105),
("Clean Mondayyear", -5.43153621033426),
("from|since|after <time-of-day>on <date>", -4.515245478460105),
("July<day-of-month> (ordinal or number) <named-month>",
-5.429345628954441),
("absorption of , after named dayJuly", -5.0238805208462765),
("monthhour", -5.429345628954441),
("hourmonth", -4.736198448394496),
("todayat <time-of-day>", -5.429345628954441),
("from|since|after <time-of-day>July", -5.429345628954441),
("dayday", -5.0238805208462765),
("mm/ddat <time-of-day>", -5.0238805208462765),
("<time-of-day> am|pmon <date>", -4.176582660459073),
("dayyear", -3.2321210516182215),
("Thursdaymm/dd", -5.429345628954441),
("Sundayyear", -4.736198448394496),
("Thursdayat <time-of-day>", -4.176582660459073),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.429345628954441),
("monthminute", -5.429345628954441),
("<time-of-day> am|pmtomorrow", -5.429345628954441),
("Thursdayhh:mm", -4.513054897080286),
-5.43153621033426),
("monthminute", -5.43153621033426),
("<time-of-day> am|pmtomorrow", -5.43153621033426),
("Thursdayhh:mm", -4.515245478460105),
("August<day-of-month> (ordinal or number) <named-month>",
-5.429345628954441),
("Fridayyear", -5.0238805208462765),
("minutemonth", -3.6375861597263857),
("Sundayfrom|since|after <time-of-day>", -5.429345628954441),
-5.43153621033426),
("Fridayyear", -5.026071102226095),
("minutemonth", -3.6397767411062043),
("Sundayfrom|since|after <time-of-day>", -5.43153621033426),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.0238805208462765),
-5.026071102226095),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.0238805208462765),
("Aprilyear", -5.429345628954441),
-5.026071102226095),
("Aprilyear", -5.43153621033426),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-5.0238805208462765),
-5.026071102226095),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.429345628954441),
("Christmasat <time-of-day>", -5.429345628954441),
-5.43153621033426),
("Christmasat <time-of-day>", -5.43153621033426),
("<duration> after|before|from <time>December",
-5.429345628954441),
("yesterday<time-of-day> am|pm", -5.429345628954441),
-5.43153621033426),
("yesterday<time-of-day> am|pm", -5.43153621033426),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.513054897080286),
-4.515245478460105),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.0238805208462765),
-5.026071102226095),
("<named-month> <day-of-month> (non ordinal)August",
-5.429345628954441),
("until <time-of-day>on <date>", -4.736198448394496),
("Mondayyear", -4.736198448394496),
("Saturdayyear", -5.429345628954441),
("at <time-of-day>intersect", -5.0238805208462765),
-5.43153621033426),
("until <time-of-day>on <date>", -4.738389029774314),
("Mondayyear", -4.738389029774314),
("Saturdayyear", -5.43153621033426),
("at <time-of-day>intersect", -5.026071102226095),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.429345628954441),
("dayminute", -2.9036169846461855),
("intersectSeptember", -3.925268232178167),
-5.43153621033426),
("dayminute", -2.905807566026004),
("intersectSeptember", -3.927458813557985),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.429345628954441),
("minuteday", -2.5115748968701617),
("absorption of , after named dayintersect",
-5.429345628954441),
("Februaryin|during the <part-of-day>", -5.429345628954441),
("week-endin <named-month>", -5.429345628954441),
("Octoberyear", -5.429345628954441),
("from|since|after <time-of-day>year", -5.429345628954441),
("yearhh:mm", -5.429345628954441),
("hh:mmon <date>", -3.925268232178167),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.429345628954441),
-5.43153621033426),
("absorption of , after named daySeptember",
-4.513054897080286),
("on <date>September", -5.0238805208462765),
("at <time-of-day>on <date>", -5.0238805208462765),
("dayweek", -5.429345628954441),
("Thursday<time-of-day> am|pm", -5.0238805208462765),
("absorption of , after named dayFebruary", -4.513054897080286),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.429345628954441),
("tomorrowat <time-of-day>", -5.429345628954441),
-5.43153621033426),
("tomorrowat <time-of-day>", -5.43153621033426),
("<integer> to|till|before <hour-of-day>July",
-5.429345628954441),
("Thursdayfrom|since|after <time-of-day>", -3.8199077165203406),
("tomorrow<time-of-day> am|pm", -5.429345628954441),
("Tuesdayfrom|since|after <time-of-day>", -5.429345628954441),
("yearminute", -5.429345628954441)],
-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}}),
("one eleven",
Classifier{okData =
@ -1024,22 +1027,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1484,21 +1489,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.112554481236846e-2,
unseen = -5.030437921392435,
ClassData{prior = -7.503518594291408e-2,
unseen = -5.10594547390058,
likelihoods =
HashMap.fromList
[("week", -1.0535886072941547),
("month (grain)", -3.6375861597263857),
("year (grain)", -2.4589311633847397),
("week (grain)", -1.0535886072941547),
("quarter", -3.414442608412176), ("year", -2.4589311633847397),
("month", -3.6375861597263857),
("quarter (grain)", -3.414442608412176)],
n = 71},
[("week", -1.1295745142720766),
("month (grain)", -2.797281334830153),
("year (grain)", -2.5349170703626616),
("week (grain)", -1.1295745142720766),
("quarter", -3.4904285153900982), ("year", -2.5349170703626616),
("month", -2.797281334830153),
("quarter (grain)", -3.4904285153900982)],
n = 77},
koData =
ClassData{prior = -2.5520459526256287,
unseen = -3.1354942159291497,
ClassData{prior = -2.627081138568543, unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("week", -1.4816045409242156),
@ -2230,6 +2234,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2579,8 +2609,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2649,8 +2679,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,11 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7021970160798633, unseen = -5.402677381872279,
likelihoods = HashMap.fromList [("", 0.0)], n = 220},
ClassData{prior = -0.706570200892086, unseen = -5.4116460518550396,
likelihoods = HashMap.fromList [("", 0.0)], n = 222},
koData =
ClassData{prior = -0.684178510577185, unseen = -5.420534999272286,
likelihoods = HashMap.fromList [("", 0.0)], n = 224}}),
ClassData{prior = -0.6799019538099246, unseen = -5.438079308923196,
likelihoods = HashMap.fromList [("", 0.0)], n = 228}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -234,52 +234,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -515,8 +517,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -685,284 +687,290 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.46844640079712924,
unseen = -6.483107351457199,
ClassData{prior = -0.46689964330814443,
unseen = -6.487684018484611,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.535666980221118),
("Lentyear", -5.788429948716486),
-4.540250639888776),
("Lentyear", -5.793013608384143),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.535666980221118),
("hourday", -4.08368185647806), ("dayhour", -2.898058190820321),
("daymonth", -5.09528276815654),
("monthday", -5.382964840608321),
("monthyear", -4.178992036282385),
("Tuesdaythe <day-of-month> (ordinal)", -5.788429948716486),
("Easter Sundayyear", -5.09528276815654),
("Christmasyear", -5.382964840608321),
-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),
("from <datetime> - <datetime> (interval)July",
-5.788429948716486),
("houryear", -5.382964840608321),
-5.793013608384143),
("houryear", -5.3875485002759795),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.788429948716486),
("Christmas<time-of-day> am|pm", -5.788429948716486),
-5.793013608384143),
("Christmas<time-of-day> am|pm", -5.793013608384143),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.09528276815654),
("Sukkotyear", -5.382964840608321),
("<time-of-day> am|pmintersect", -4.535666980221118),
-5.099866427824199),
("Sukkotyear", -5.3875485002759795),
("<time-of-day> am|pmintersect", -4.540250639888776),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.788429948716486),
("Marchyear", -5.788429948716486),
-5.793013608384143),
("Marchyear", -5.793013608384143),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.382964840608321),
("intersect<time-of-day> am|pm", -5.788429948716486),
("Clean Mondayyear", -5.382964840608321),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.788429948716486),
("Rosh Hashanahyear", -5.788429948716486),
("monthhour", -5.382964840608321),
("last <day-of-week> of <time>year", -5.788429948716486),
("todayat <time-of-day>", -5.788429948716486),
("Thursday<time> timezone", -4.08368185647806),
("dd/mm<time-of-day> am|pm", -5.788429948716486),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.788429948716486),
("Yom Ha'atzmautyear", -5.788429948716486),
("Palm SundaySunday", -5.382964840608321),
("dayday", -3.5912053713802665),
("Thanksgiving Dayyear", -4.689817660048376),
("dd/mmat <time-of-day>", -5.788429948716486),
("<time> <part-of-day>at <time-of-day>", -5.788429948716486),
("Tuesdayin <named-month>", -5.788429948716486),
("tonightat <time-of-day>", -5.788429948716486),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.09528276815654),
("today<time-of-day> am|pm", -5.788429948716486),
("Februarythe <day-of-month> (ordinal)", -5.382964840608321),
("at <time-of-day><time> <part-of-day>", -5.788429948716486),
("hourhour", -4.535666980221118),
("<time-of-day> am|pmon <date>", -3.773526928174221),
("Wednesdaythis|last|next <cycle>", -5.788429948716486),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.284352551940212),
("dayyear", -2.4385258614418808),
("Lag BaOmeryear", -5.788429948716486),
("last weekend of <named-month>year", -5.788429948716486),
-4.2889362116078695),
("dayyear", -2.443109521109539),
("Lag BaOmeryear", -5.793013608384143),
("last weekend of <named-month>year", -5.793013608384143),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.788429948716486),
("Sundayyear", -5.788429948716486),
("Chinese New Yearyear", -5.788429948716486),
("Thursdayat <time-of-day>", -5.382964840608321),
("<time-of-day> am|pmtomorrow", -5.09528276815654),
("August Bank Holidayyear", -5.09528276815654),
("minutehour", -4.8721392168423305),
("Simchat Torahyear", -5.788429948716486),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.382964840608321),
-5.3875485002759795),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.08368185647806),
("for <duration> from <time>December", -5.788429948716486),
("tomorrow<time-of-day> sharp|exactly", -5.788429948716486),
-4.088265516145719),
("for <duration> from <time>December", -5.793013608384143),
("tomorrow<time-of-day> sharp|exactly", -5.793013608384143),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.8721392168423305),
-4.876722876509989),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.382964840608321),
-5.3875485002759795),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.8721392168423305),
("Mondayin|during the <part-of-day>", -5.788429948716486),
("Shrove Tuesdayyear", -5.788429948716486),
("<part-of-day> of <time>year", -5.788429948716486),
("Yom Kippuryear", -5.788429948716486),
("Hanukkahyear", -5.788429948716486),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.382964840608321),
("intersectin|during the <part-of-day>", -5.788429948716486),
("Christmasat <time-of-day>", -5.788429948716486),
-5.3875485002759795),
("intersectin|during the <part-of-day>", -5.793013608384143),
("Christmasat <time-of-day>", -5.793013608384143),
("Thursday<datetime> - <datetime> (interval)",
-4.8721392168423305),
-4.876722876509989),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.788429948716486),
-5.793013608384143),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.535666980221118),
-4.540250639888776),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.09528276815654),
-5.099866427824199),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.8721392168423305),
("at <time-of-day>intersect", -5.382964840608321),
-4.876722876509989),
("at <time-of-day>intersect", -5.3875485002759795),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.788429948716486),
("Tisha B'Avyear", -5.788429948716486),
-5.793013608384143),
("Tisha B'Avyear", -5.793013608384143),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.788429948716486),
("dayminute", -3.114281299289957),
("Mothering Sundayyear", -5.382964840608321),
("Boss's Dayyear", -5.382964840608321),
("Orthodox Easter Sundayyear", -5.788429948716486),
-5.793013608384143),
("dayminute", -3.118864958957615),
("Mothering Sundayyear", -5.3875485002759795),
("Boss's Dayyear", -5.3875485002759795),
("Orthodox Easter Sundayyear", -5.793013608384143),
("from <datetime> - <datetime> (interval)on <date>",
-5.382964840608321),
("intersectyear", -5.788429948716486),
-5.3875485002759795),
("intersectyear", -5.793013608384143),
("<datetime> - <datetime> (interval)tomorrow",
-5.788429948716486),
-5.793013608384143),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.382964840608321),
("<ordinal> <cycle> of <time>year", -5.788429948716486),
("minuteday", -2.322694045916759),
-5.3875485002759795),
("<ordinal> <cycle> of <time>year", -5.793013608384143),
("minuteday", -2.327277705584417),
("absorption of , after named dayintersect",
-5.788429948716486),
("Octoberyear", -4.535666980221118),
("Shavuotyear", -5.788429948716486),
-5.793013608384143),
("Octoberyear", -4.540250639888776),
("Shavuotyear", -5.793013608384143),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.788429948716486),
("Yom HaShoahyear", -5.382964840608321),
-5.793013608384143),
("Yom HaShoahyear", -5.3875485002759795),
("at <time-of-day>absorption of , after named day",
-5.788429948716486),
-5.793013608384143),
("<day-of-month> (ordinal or number) <named-month>year",
-5.788429948716486),
("year<time-of-day> am|pm", -5.788429948716486),
("Septemberyear", -5.382964840608321),
("at <time-of-day>on <date>", -4.689817660048376),
-5.793013608384143),
("year<time-of-day> am|pm", -5.793013608384143),
("Septemberyear", -5.3875485002759795),
("at <time-of-day>on <date>", -4.694401319716034),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.09528276815654),
("Halloweenyear", -5.788429948716486),
("Passoveryear", -5.788429948716486),
("dayweek", -5.788429948716486),
("Lazarus Saturdayyear", -5.788429948716486),
("Thursday<time-of-day> am|pm", -5.788429948716486),
("weekyear", -5.382964840608321),
("hh:mmin|during the <part-of-day>", -5.09528276815654),
("Father's Dayyear", -5.788429948716486),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.382964840608321),
("Shemini Atzeretyear", -5.788429948716486),
("February<time> <part-of-day>", -5.788429948716486),
("Martin Luther King's Dayyear", -5.382964840608321),
("tomorrowat <time-of-day>", -5.09528276815654),
("between <time> and <time>on <date>", -5.09528276815654),
("Thursdayfrom|since|after <time-of-day>", -5.09528276815654),
("at <time-of-day>tomorrow", -5.382964840608321),
("tomorrow<time-of-day> am|pm", -5.788429948716486),
("Pentecostyear", -5.788429948716486),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.788429948716486),
("Palm Sundayintersect", -5.788429948716486),
("Great Lentyear", -5.788429948716486),
("Februaryintersect", -5.788429948716486),
("last <cycle> of <time>year", -5.09528276815654),
-5.793013608384143),
("Palm Sundayintersect", -5.793013608384143),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.788429948716486),
("yearminute", -5.788429948716486),
("Black Fridayyear", -5.382964840608321)],
n = 241},
-5.793013608384143),
("yearminute", -5.793013608384143),
("Black Fridayyear", -5.3875485002759795)],
n = 242},
koData =
ClassData{prior = -0.9834300347117836, unseen = -6.131226489483141,
ClassData{prior = -0.9860240698888303, unseen = -6.133398042996649,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.4359030295006),
[("in <named-month>year", -5.438079308923196),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.4359030295006),
("hourday", -5.4359030295006),
-5.438079308923196),
("hourday", -5.438079308923196),
("<named-month> <day-of-month> (non ordinal)July",
-5.4359030295006),
("New Year's Dayyear", -5.4359030295006),
("dayhour", -2.9935559941313956),
("daymonth", -3.3564614878207637),
("monthday", -5.030437921392435),
("monthyear", -4.7427558489406545),
("intersecthh:mm", -5.4359030295006),
("Easter Sundayyear", -5.030437921392435),
-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),
("from <datetime> - <datetime> (interval)July",
-5.4359030295006),
("houryear", -5.4359030295006),
-5.438079308923196),
("houryear", -5.438079308923196),
("from <time-of-day> - <time-of-day> (interval)July",
-5.4359030295006),
("until <time-of-day><time-of-day> am|pm", -5.4359030295006),
-5.438079308923196),
("until <time-of-day><time-of-day> am|pm", -5.438079308923196),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.7427558489406545),
("<time-of-day> am|pmintersect", -4.183140061005232),
-4.74493212836325),
("<time-of-day> am|pmintersect", -4.1853163404278275),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.519612297626445),
("Clean Mondayyear", -5.4359030295006),
("from|since|after <time-of-day>on <date>", -4.519612297626445),
-4.5217885770490405),
("Clean Mondayyear", -5.438079308923196),
("from|since|after <time-of-day>on <date>",
-4.5217885770490405),
("July<day-of-month> (ordinal or number) <named-month>",
-5.4359030295006),
("absorption of , after named dayJuly", -5.030437921392435),
("monthhour", -5.4359030295006),
("hourmonth", -4.7427558489406545),
("todayat <time-of-day>", -5.4359030295006),
("from|since|after <time-of-day>July", -5.4359030295006),
("dayday", -5.030437921392435),
("dd/mmat <time-of-day>", -5.030437921392435),
("<time-of-day> am|pmon <date>", -4.183140061005232),
("Thursdaydd/mm", -5.4359030295006),
("dayyear", -3.0845277723371223),
("Sundayyear", -4.7427558489406545),
("Thursdayat <time-of-day>", -4.183140061005232),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.4359030295006),
("monthminute", -5.4359030295006),
("<time-of-day> am|pmtomorrow", -5.4359030295006),
("Thursdayhh:mm", -4.519612297626445),
-5.438079308923196),
("monthminute", -5.438079308923196),
("<time-of-day> am|pmtomorrow", -5.438079308923196),
("Thursdayhh:mm", -4.5217885770490405),
("August<day-of-month> (ordinal or number) <named-month>",
-5.4359030295006),
("Fridayyear", -5.030437921392435),
("minutemonth", -3.644143560272545),
("Sundayfrom|since|after <time-of-day>", -5.4359030295006),
-5.438079308923196),
("Fridayyear", -5.032614200815031),
("minutemonth", -3.6463198396951406),
("Sundayfrom|since|after <time-of-day>", -5.438079308923196),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.030437921392435),
-5.032614200815031),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.030437921392435),
("Aprilyear", -5.4359030295006),
-5.032614200815031),
("Aprilyear", -5.438079308923196),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.4359030295006),
-5.438079308923196),
("dd/mm<time-of-day> - <time-of-day> (interval)",
-5.030437921392435),
("Christmasat <time-of-day>", -5.4359030295006),
-5.032614200815031),
("Christmasat <time-of-day>", -5.438079308923196),
("<duration> after|before|from <time>December",
-5.4359030295006),
("yesterday<time-of-day> am|pm", -5.4359030295006),
-5.438079308923196),
("yesterday<time-of-day> am|pm", -5.438079308923196),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.519612297626445),
-4.5217885770490405),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.030437921392435),
("Bank Holidayyear", -4.7427558489406545),
-5.032614200815031),
("Bank Holidayyear", -4.74493212836325),
("<named-month> <day-of-month> (non ordinal)August",
-5.4359030295006),
("until <time-of-day>on <date>", -4.7427558489406545),
("Mondayyear", -4.7427558489406545),
("Saturdayyear", -5.4359030295006),
("at <time-of-day>intersect", -5.030437921392435),
-5.438079308923196),
("until <time-of-day>on <date>", -4.74493212836325),
("Mondayyear", -4.74493212836325),
("Saturdayyear", -5.438079308923196),
("at <time-of-day>intersect", -5.032614200815031),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.4359030295006),
("dayminute", -2.9101743851923443),
("intersectSeptember", -3.9318256327243257),
-5.438079308923196),
("dayminute", -2.91235066461494),
("intersectSeptember", -3.9340019121469214),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.4359030295006),
("minuteday", -2.5181322974163205),
("absorption of , after named dayintersect", -5.4359030295006),
("Februaryin|during the <part-of-day>", -5.4359030295006),
("week-endin <named-month>", -5.4359030295006),
("Octoberyear", -5.4359030295006),
("from|since|after <time-of-day>year", -5.4359030295006),
("yearhh:mm", -5.4359030295006),
("hh:mmon <date>", -3.9318256327243257),
-5.438079308923196),
("minuteday", -2.520308576838916),
("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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.4359030295006),
-5.438079308923196),
("absorption of , after named daySeptember",
-4.519612297626445),
("on <date>September", -5.030437921392435),
("at <time-of-day>on <date>", -5.030437921392435),
("dayweek", -5.4359030295006),
("Thursday<time-of-day> am|pm", -5.030437921392435),
("absorption of , after named dayFebruary", -4.519612297626445),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.4359030295006),
("tomorrowat <time-of-day>", -5.4359030295006),
-5.438079308923196),
("tomorrowat <time-of-day>", -5.438079308923196),
("<integer> to|till|before <hour-of-day>July",
-5.4359030295006),
("Thursdayfrom|since|after <time-of-day>", -3.8264651170664994),
("tomorrow<time-of-day> am|pm", -5.4359030295006),
("Tuesdayfrom|since|after <time-of-day>", -5.4359030295006),
("yearminute", -5.4359030295006)],
-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}}),
("one eleven",
Classifier{okData =
@ -1006,22 +1014,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1443,20 +1453,21 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.223809823697212e-2,
unseen = -5.017279836814924,
ClassData{prior = -7.598590697792199e-2,
unseen = -5.093750200806762,
likelihoods =
HashMap.fromList
[("week", -1.040343380544134),
("month (grain)", -3.624340932976365),
("year (grain)", -2.5257286443082556),
("week (grain)", -1.040343380544134),
("quarter", -3.4011973816621555), ("year", -2.5257286443082556),
("month", -3.624340932976365),
("quarter (grain)", -3.4011973816621555)],
n = 70},
[("week", -1.1173044216802621),
("month (grain)", -2.7850112422383386),
("year (grain)", -2.6026896854443837),
("week (grain)", -1.1173044216802621),
("quarter", -3.4781584227982836), ("year", -2.6026896854443837),
("month", -2.7850112422383386),
("quarter (grain)", -3.4781584227982836)],
n = 76},
koData =
ClassData{prior = -2.538973871058276, unseen = -3.1354942159291497,
ClassData{prior = -2.6149597780361984,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("week", -1.4816045409242156),
@ -2188,6 +2199,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2520,8 +2557,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2589,8 +2626,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("Thursdaydd/mm", -5.3867860145356445),
("dayyear", -3.1895614371994254),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("Thursdaydd/mm", -5.3867860145356445),
("dayyear", -3.1895614371994254),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("Thursdaydd/mm", -5.3867860145356445),
("dayyear", -3.1895614371994254),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("Thursdaydd/mm", -5.3867860145356445),
("dayyear", -3.1895614371994254),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("today",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("dayyear", -3.1895614371994254),
("Thursdaymm/dd", -5.3867860145356445),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("dd/mm",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("Thursdaydd/mm", -5.3867860145356445),
("dayyear", -3.1895614371994254),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -69,13 +69,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6863674935745665,
unseen = -5.4116460518550396,
likelihoods = HashMap.fromList [("", 0.0)], n = 222},
ClassData{prior = -0.690912542758529, unseen = -5.420534999272286,
likelihoods = HashMap.fromList [("", 0.0)], n = 224},
koData =
ClassData{prior = -0.6999731456303452,
unseen = -5.3981627015177525,
likelihoods = HashMap.fromList [("", 0.0)], n = 219}}),
ClassData{prior = -0.6953868231534501, unseen = -5.41610040220442,
likelihoods = HashMap.fromList [("", 0.0)], n = 223}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -243,52 +241,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("Cyber Monday",
Classifier{okData =
@ -531,8 +531,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -701,290 +701,291 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.46277592612428237,
unseen = -6.493753839851686,
ClassData{prior = -0.46125646773657997,
unseen = -6.498282149476434,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.546329685965158),
("Lentyear", -5.799092654460526),
-4.550864841130549),
("Lentyear", -5.803627809625917),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.546329685965158),
("hourday", -4.0943445622221), ("dayhour", -2.908720896564361),
("daymonth", -5.10594547390058),
("monthday", -5.393627546352362),
("monthyear", -4.189654742026425),
("Tuesdaythe <day-of-month> (ordinal)", -5.799092654460526),
("Easter Sundayyear", -5.10594547390058),
("Christmasyear", -5.393627546352362),
-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),
("from <datetime> - <datetime> (interval)July",
-5.799092654460526),
("houryear", -5.393627546352362),
-5.803627809625917),
("houryear", -5.3981627015177525),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.799092654460526),
("Christmas<time-of-day> am|pm", -5.799092654460526),
-5.803627809625917),
("Christmas<time-of-day> am|pm", -5.803627809625917),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.10594547390058),
("Sukkotyear", -5.393627546352362),
("<time-of-day> am|pmintersect", -4.546329685965158),
-5.110480629065972),
("Sukkotyear", -5.3981627015177525),
("<time-of-day> am|pmintersect", -4.550864841130549),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.799092654460526),
("Marchyear", -5.799092654460526),
-5.803627809625917),
("Marchyear", -5.803627809625917),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.393627546352362),
("intersect<time-of-day> am|pm", -5.799092654460526),
("Clean Mondayyear", -5.393627546352362),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.799092654460526),
("Rosh Hashanahyear", -5.799092654460526),
("monthhour", -5.393627546352362),
("last <day-of-week> of <time>year", -5.799092654460526),
("todayat <time-of-day>", -5.799092654460526),
("Thursday<time> timezone", -4.0943445622221),
-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.799092654460526),
("Yom Ha'atzmautyear", -5.799092654460526),
("Palm SundaySunday", -5.393627546352362),
("dayday", -3.6018680771243066),
("Thanksgiving Dayyear", -4.700480365792417),
("<time> <part-of-day>at <time-of-day>", -5.799092654460526),
("Tuesdayin <named-month>", -5.799092654460526),
("mm/ddat <time-of-day>", -5.799092654460526),
("tonightat <time-of-day>", -5.799092654460526),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.10594547390058),
("today<time-of-day> am|pm", -5.799092654460526),
("Februarythe <day-of-month> (ordinal)", -5.393627546352362),
("at <time-of-day><time> <part-of-day>", -5.799092654460526),
("mm/dd<time-of-day> am|pm", -5.799092654460526),
("hourhour", -4.546329685965158),
("<time-of-day> am|pmon <date>", -3.784189633918261),
("Wednesdaythis|last|next <cycle>", -5.799092654460526),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.295015257684252),
("dayyear", -2.414702391114752),
("Lag BaOmeryear", -5.799092654460526),
("last weekend of <named-month>year", -5.799092654460526),
-4.299550412849643),
("dayyear", -2.419237546280143),
("Lag BaOmeryear", -5.803627809625917),
("last weekend of <named-month>year", -5.803627809625917),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.799092654460526),
("Sundayyear", -5.799092654460526),
("Chinese New Yearyear", -5.799092654460526),
("Thursdayat <time-of-day>", -5.393627546352362),
("<time-of-day> am|pmtomorrow", -5.10594547390058),
("minutehour", -4.882801922586371),
("Mother's Dayyear", -5.799092654460526),
("Simchat Torahyear", -5.799092654460526),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.393627546352362),
-5.3981627015177525),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0943445622221),
("for <duration> from <time>December", -5.799092654460526),
("tomorrow<time-of-day> sharp|exactly", -5.799092654460526),
-4.098879717387492),
("for <duration> from <time>December", -5.803627809625917),
("tomorrow<time-of-day> sharp|exactly", -5.803627809625917),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.882801922586371),
-4.887337077751762),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.393627546352362),
-5.3981627015177525),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
("Mondayin|during the <part-of-day>", -5.799092654460526),
("Shrove Tuesdayyear", -5.799092654460526),
("<part-of-day> of <time>year", -5.799092654460526),
("Yom Kippuryear", -5.799092654460526),
("Hanukkahyear", -5.799092654460526),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.393627546352362),
("National Grandparents Dayyear", -5.799092654460526),
("intersectin|during the <part-of-day>", -5.799092654460526),
("Christmasat <time-of-day>", -5.799092654460526),
-5.3981627015177525),
("National Grandparents Dayyear", -5.803627809625917),
("intersectin|during the <part-of-day>", -5.803627809625917),
("Christmasat <time-of-day>", -5.803627809625917),
("Thursday<datetime> - <datetime> (interval)",
-4.882801922586371),
-4.887337077751762),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.799092654460526),
-5.803627809625917),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.546329685965158),
-4.550864841130549),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.10594547390058),
-5.110480629065972),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.882801922586371),
("at <time-of-day>intersect", -5.393627546352362),
-4.887337077751762),
("at <time-of-day>intersect", -5.3981627015177525),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.799092654460526),
("Tisha B'Avyear", -5.799092654460526),
-5.803627809625917),
("Tisha B'Avyear", -5.803627809625917),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.799092654460526),
("dayminute", -3.1249440050339974),
("Boss's Dayyear", -5.393627546352362),
("Orthodox Easter Sundayyear", -5.799092654460526),
-5.803627809625917),
("dayminute", -3.1294791601993883),
("Boss's Dayyear", -5.3981627015177525),
("Orthodox Easter Sundayyear", -5.803627809625917),
("from <datetime> - <datetime> (interval)on <date>",
-5.393627546352362),
("intersectyear", -5.799092654460526),
-5.3981627015177525),
("intersectyear", -5.803627809625917),
("<datetime> - <datetime> (interval)tomorrow",
-5.799092654460526),
-5.803627809625917),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.393627546352362),
("<ordinal> <cycle> of <time>year", -5.799092654460526),
("minuteday", -2.3333567516607996),
-5.3981627015177525),
("<ordinal> <cycle> of <time>year", -5.803627809625917),
("minuteday", -2.3378919068261905),
("absorption of , after named dayintersect",
-5.799092654460526),
("Octoberyear", -4.546329685965158),
("Shavuotyear", -5.799092654460526),
-5.803627809625917),
("Octoberyear", -4.550864841130549),
("Shavuotyear", -5.803627809625917),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.799092654460526),
("Yom HaShoahyear", -5.393627546352362),
-5.803627809625917),
("Yom HaShoahyear", -5.3981627015177525),
("at <time-of-day>absorption of , after named day",
-5.799092654460526),
-5.803627809625917),
("<day-of-month> (ordinal or number) <named-month>year",
-5.799092654460526),
("year<time-of-day> am|pm", -5.799092654460526),
("Cyber Mondayyear", -5.393627546352362),
("Septemberyear", -5.393627546352362),
("at <time-of-day>on <date>", -4.700480365792417),
-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),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.10594547390058),
("Halloweenyear", -5.799092654460526),
("Passoveryear", -5.799092654460526),
("dayweek", -5.799092654460526),
("Lazarus Saturdayyear", -5.799092654460526),
("Thursday<time-of-day> am|pm", -5.799092654460526),
("weekyear", -5.393627546352362),
("hh:mmin|during the <part-of-day>", -5.10594547390058),
("Father's Dayyear", -5.799092654460526),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.393627546352362),
("Shemini Atzeretyear", -5.799092654460526),
("February<time> <part-of-day>", -5.799092654460526),
("Martin Luther King's Dayyear", -5.393627546352362),
("Military Spouse Dayyear", -5.799092654460526),
("tomorrowat <time-of-day>", -5.10594547390058),
("between <time> and <time>on <date>", -5.10594547390058),
("Thursdayfrom|since|after <time-of-day>", -5.10594547390058),
("at <time-of-day>tomorrow", -5.393627546352362),
("tomorrow<time-of-day> am|pm", -5.799092654460526),
("Pentecostyear", -5.799092654460526),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.799092654460526),
("Palm Sundayintersect", -5.799092654460526),
("Labor Dayyear", -5.799092654460526),
("Great Lentyear", -5.799092654460526),
("Februaryintersect", -5.799092654460526),
("last <cycle> of <time>year", -5.10594547390058),
-5.803627809625917),
("Palm Sundayintersect", -5.803627809625917),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.799092654460526),
("President's Dayyear", -5.799092654460526),
("yearminute", -5.799092654460526),
("Black Fridayyear", -5.393627546352362)],
n = 243},
-5.803627809625917),
("President's Dayyear", -5.803627809625917),
("yearminute", -5.803627809625917),
("Black Fridayyear", -5.3981627015177525)],
n = 244},
koData =
ClassData{prior = -0.9929927392049236, unseen = -6.133398042996649,
ClassData{prior = -0.9955800627698744, unseen = -6.135564891081739,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.438079308923196),
[("in <named-month>year", -5.440250862436703),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.438079308923196),
("hourday", -5.438079308923196),
-5.440250862436703),
("hourday", -5.440250862436703),
("<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.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),
("from <datetime> - <datetime> (interval)July",
-5.438079308923196),
("houryear", -5.438079308923196),
-5.440250862436703),
("houryear", -5.440250862436703),
("from <time-of-day> - <time-of-day> (interval)July",
-5.438079308923196),
("until <time-of-day><time-of-day> am|pm", -5.438079308923196),
-5.440250862436703),
("until <time-of-day><time-of-day> am|pm", -5.440250862436703),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.74493212836325),
("<time-of-day> am|pmintersect", -4.1853163404278275),
-4.747103681876758),
("<time-of-day> am|pmintersect", -4.187487893941335),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.5217885770490405),
("Clean Mondayyear", -5.438079308923196),
("from|since|after <time-of-day>on <date>",
-4.5217885770490405),
-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.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),
("mm/ddat <time-of-day>", -5.032614200815031),
("<time-of-day> am|pmon <date>", -4.1853163404278275),
("dayyear", -3.1354942159291497),
("Thursdaymm/dd", -5.438079308923196),
("Sundayyear", -4.74493212836325),
("Thursdayat <time-of-day>", -4.1853163404278275),
-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),
("<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.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.438079308923196),
("Fridayyear", -5.032614200815031),
("minutemonth", -3.6463198396951406),
("Sundayfrom|since|after <time-of-day>", -5.438079308923196),
-5.440250862436703),
("Fridayyear", -5.034785754328539),
("minutemonth", -3.6484913932086482),
("Sundayfrom|since|after <time-of-day>", -5.440250862436703),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.032614200815031),
-5.034785754328539),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.032614200815031),
("Aprilyear", -5.438079308923196),
-5.034785754328539),
("Aprilyear", -5.440250862436703),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-5.032614200815031),
-5.034785754328539),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.438079308923196),
("Christmasat <time-of-day>", -5.438079308923196),
-5.440250862436703),
("Christmasat <time-of-day>", -5.440250862436703),
("<duration> after|before|from <time>December",
-5.438079308923196),
("yesterday<time-of-day> am|pm", -5.438079308923196),
-5.440250862436703),
("yesterday<time-of-day> am|pm", -5.440250862436703),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.5217885770490405),
-4.523960130562548),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.032614200815031),
-5.034785754328539),
("<named-month> <day-of-month> (non ordinal)August",
-5.438079308923196),
("until <time-of-day>on <date>", -4.74493212836325),
("Mondayyear", -4.339467020255086),
("Saturdayyear", -5.438079308923196),
("at <time-of-day>intersect", -5.032614200815031),
-5.440250862436703),
("until <time-of-day>on <date>", -4.747103681876758),
("Mondayyear", -4.341638573768593),
("Saturdayyear", -5.440250862436703),
("at <time-of-day>intersect", -5.034785754328539),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.438079308923196),
("dayminute", -2.91235066461494),
("intersectSeptember", -3.9340019121469214),
-5.440250862436703),
("dayminute", -2.9145222181284476),
("intersectSeptember", -3.936173465660429),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.438079308923196),
("minuteday", -2.520308576838916),
-5.440250862436703),
("minuteday", -2.5224801303524242),
("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.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.438079308923196),
-5.440250862436703),
("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.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.438079308923196),
("tomorrowat <time-of-day>", -5.438079308923196),
-5.440250862436703),
("tomorrowat <time-of-day>", -5.440250862436703),
("<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)],
-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}}),
("one eleven",
Classifier{okData =
@ -1028,22 +1029,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1479,21 +1482,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -5.043425116919247,
ClassData{prior = -7.410797215372185e-2,
unseen = -5.117993812416755,
likelihoods =
HashMap.fromList
[("week", -1.0666606888615073),
("month (grain)", -3.6506582412937383),
("year (grain)", -2.3978952727983707),
("week (grain)", -1.0666606888615073),
("quarter", -3.427514689979529), ("year", -2.3978952727983707),
("month", -3.6506582412937383),
("quarter (grain)", -3.427514689979529)],
n = 72},
[("week", -1.1416958748044215),
("month (grain)", -2.8094026953624978),
("year (grain)", -2.472930458741285),
("week (grain)", -1.1416958748044215),
("quarter", -3.5025498759224427), ("year", -2.472930458741285),
("month", -2.8094026953624978),
("quarter (grain)", -3.5025498759224427)],
n = 78},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -3.1354942159291497,
ClassData{prior = -2.639057329615259, unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("week", -1.4816045409242156),
@ -2232,6 +2234,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("Independence Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -2587,8 +2615,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2666,8 +2694,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,11 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6978091936657566, unseen = -5.375278407684165,
likelihoods = HashMap.fromList [("", 0.0)], n = 214},
ClassData{prior = -0.7023638356648693, unseen = -5.384495062789089,
likelihoods = HashMap.fromList [("", 0.0)], n = 216},
koData =
ClassData{prior = -0.688506801003443, unseen = -5.384495062789089,
likelihoods = HashMap.fromList [("", 0.0)], n = 216}}),
ClassData{prior = -0.6840146969966728, unseen = -5.402677381872279,
likelihoods = HashMap.fromList [("", 0.0)], n = 220}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -227,52 +227,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("today",
Classifier{okData =
@ -508,8 +510,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -678,282 +680,282 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4700036292457356, unseen = -6.45833828334479,
ClassData{prior = -0.4684133824224007, unseen = -6.46302945692067,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.51085950651685),
("Lentyear", -5.763622475012218),
-4.515558027298404),
("Lentyear", -5.768320995793772),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.51085950651685),
("hourday", -4.0588743827737925),
("dayhour", -2.8732507171160533),
("daymonth", -5.070475294452272),
("monthday", -5.358157366904054),
("monthyear", -4.154184562578117),
("Tuesdaythe <day-of-month> (ordinal)", -5.763622475012218),
("Easter Sundayyear", -5.070475294452272),
("Christmasyear", -5.358157366904054),
-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),
("from <datetime> - <datetime> (interval)July",
-5.763622475012218),
("houryear", -5.358157366904054),
-5.768320995793772),
("houryear", -5.362855887685608),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.763622475012218),
("Christmas<time-of-day> am|pm", -5.763622475012218),
-5.768320995793772),
("Christmas<time-of-day> am|pm", -5.768320995793772),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.070475294452272),
("Sukkotyear", -5.358157366904054),
("<time-of-day> am|pmintersect", -4.51085950651685),
-5.075173815233827),
("Sukkotyear", -5.362855887685608),
("<time-of-day> am|pmintersect", -4.515558027298404),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.763622475012218),
("Marchyear", -5.763622475012218),
-5.768320995793772),
("Marchyear", -5.768320995793772),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.358157366904054),
("intersect<time-of-day> am|pm", -5.763622475012218),
("Clean Mondayyear", -5.358157366904054),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.763622475012218),
("Rosh Hashanahyear", -5.763622475012218),
("monthhour", -5.358157366904054),
("last <day-of-week> of <time>year", -5.763622475012218),
("todayat <time-of-day>", -5.763622475012218),
("Thursday<time> timezone", -4.0588743827737925),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.763622475012218),
("Yom Ha'atzmautyear", -5.763622475012218),
("Palm SundaySunday", -5.358157366904054),
("dayday", -3.5663978976759987),
("Thanksgiving Dayyear", -4.665010186344109),
("<time> <part-of-day>at <time-of-day>", -5.763622475012218),
("Tuesdayin <named-month>", -5.763622475012218),
("mm/ddat <time-of-day>", -5.763622475012218),
("tonightat <time-of-day>", -5.763622475012218),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.070475294452272),
("today<time-of-day> am|pm", -5.763622475012218),
("Februarythe <day-of-month> (ordinal)", -5.358157366904054),
("at <time-of-day><time> <part-of-day>", -5.763622475012218),
("mm/dd<time-of-day> am|pm", -5.763622475012218),
("hourhour", -4.51085950651685),
("<time-of-day> am|pmon <date>", -3.748719454469953),
("Wednesdaythis|last|next <cycle>", -5.763622475012218),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.259545078235944),
("dayyear", -2.5249440228478375),
("Lag BaOmeryear", -5.763622475012218),
("last weekend of <named-month>year", -5.763622475012218),
-4.264243599017498),
("dayyear", -2.5296425436293917),
("Lag BaOmeryear", -5.768320995793772),
("last weekend of <named-month>year", -5.768320995793772),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.763622475012218),
("Sundayyear", -5.763622475012218),
("Chinese New Yearyear", -5.763622475012218),
("Thursdayat <time-of-day>", -5.358157366904054),
("<time-of-day> am|pmtomorrow", -5.070475294452272),
("minutehour", -4.847331743138063),
("Simchat Torahyear", -5.763622475012218),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.358157366904054),
-5.362855887685608),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0588743827737925),
("for <duration> from <time>December", -5.763622475012218),
("tomorrow<time-of-day> sharp|exactly", -5.763622475012218),
-4.063572903555347),
("for <duration> from <time>December", -5.768320995793772),
("tomorrow<time-of-day> sharp|exactly", -5.768320995793772),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.847331743138063),
-4.852030263919617),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.358157366904054),
-5.362855887685608),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.847331743138063),
("Mondayin|during the <part-of-day>", -5.763622475012218),
("Shrove Tuesdayyear", -5.763622475012218),
("<part-of-day> of <time>year", -5.763622475012218),
("Yom Kippuryear", -5.763622475012218),
("Hanukkahyear", -5.763622475012218),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.358157366904054),
("intersectin|during the <part-of-day>", -5.763622475012218),
("Christmasat <time-of-day>", -5.763622475012218),
-5.362855887685608),
("intersectin|during the <part-of-day>", -5.768320995793772),
("Christmasat <time-of-day>", -5.768320995793772),
("Thursday<datetime> - <datetime> (interval)",
-4.847331743138063),
-4.852030263919617),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.763622475012218),
-5.768320995793772),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.51085950651685),
-4.515558027298404),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.070475294452272),
-5.075173815233827),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.847331743138063),
("at <time-of-day>intersect", -5.358157366904054),
-4.852030263919617),
("at <time-of-day>intersect", -5.362855887685608),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.763622475012218),
("Tisha B'Avyear", -5.763622475012218),
-5.768320995793772),
("Tisha B'Avyear", -5.768320995793772),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.763622475012218),
("dayminute", -3.0894738255856895),
("Boss's Dayyear", -5.358157366904054),
("Orthodox Easter Sundayyear", -5.763622475012218),
-5.768320995793772),
("dayminute", -3.0941723463672437),
("Boss's Dayyear", -5.362855887685608),
("Orthodox Easter Sundayyear", -5.768320995793772),
("from <datetime> - <datetime> (interval)on <date>",
-5.358157366904054),
("intersectyear", -5.763622475012218),
-5.362855887685608),
("intersectyear", -5.768320995793772),
("<datetime> - <datetime> (interval)tomorrow",
-5.763622475012218),
-5.768320995793772),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.358157366904054),
("<ordinal> <cycle> of <time>year", -5.763622475012218),
("minuteday", -2.2978865722124913),
-5.362855887685608),
("<ordinal> <cycle> of <time>year", -5.768320995793772),
("minuteday", -2.3025850929940455),
("absorption of , after named dayintersect",
-5.763622475012218),
("Octoberyear", -4.51085950651685),
("Shavuotyear", -5.763622475012218),
-5.768320995793772),
("Octoberyear", -4.515558027298404),
("Shavuotyear", -5.768320995793772),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.763622475012218),
("Yom HaShoahyear", -5.358157366904054),
-5.768320995793772),
("Yom HaShoahyear", -5.362855887685608),
("at <time-of-day>absorption of , after named day",
-5.763622475012218),
-5.768320995793772),
("<day-of-month> (ordinal or number) <named-month>year",
-5.763622475012218),
("year<time-of-day> am|pm", -5.763622475012218),
("Septemberyear", -5.358157366904054),
("at <time-of-day>on <date>", -4.665010186344109),
-5.768320995793772),
("year<time-of-day> am|pm", -5.768320995793772),
("Septemberyear", -5.362855887685608),
("at <time-of-day>on <date>", -4.669708707125663),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.070475294452272),
("Halloweenyear", -5.763622475012218),
("Passoveryear", -5.763622475012218),
("dayweek", -5.763622475012218),
("Lazarus Saturdayyear", -5.763622475012218),
("Thursday<time-of-day> am|pm", -5.763622475012218),
("weekyear", -5.358157366904054),
("hh:mmin|during the <part-of-day>", -5.070475294452272),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.358157366904054),
("Shemini Atzeretyear", -5.763622475012218),
("February<time> <part-of-day>", -5.763622475012218),
("Martin Luther King's Dayyear", -5.358157366904054),
("tomorrowat <time-of-day>", -5.070475294452272),
("between <time> and <time>on <date>", -5.070475294452272),
("Thursdayfrom|since|after <time-of-day>", -5.070475294452272),
("at <time-of-day>tomorrow", -5.358157366904054),
("tomorrow<time-of-day> am|pm", -5.763622475012218),
("Pentecostyear", -5.763622475012218),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.763622475012218),
("Palm Sundayintersect", -5.763622475012218),
("Great Lentyear", -5.763622475012218),
("Februaryintersect", -5.763622475012218),
("last <cycle> of <time>year", -5.070475294452272),
-5.768320995793772),
("Palm Sundayintersect", -5.768320995793772),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.763622475012218),
("yearminute", -5.763622475012218),
("Black Fridayyear", -5.358157366904054)],
n = 235},
-5.768320995793772),
("yearminute", -5.768320995793772),
("Black Fridayyear", -5.362855887685608)],
n = 236},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -6.1092475827643655,
ClassData{prior = -0.9834852970698424, unseen = -6.111467339502679,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.413875707182309),
[("in <named-month>year", -5.41610040220442),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.413875707182309),
("hourday", -5.413875707182309),
-5.41610040220442),
("hourday", -5.41610040220442),
("<named-month> <day-of-month> (non ordinal)July",
-5.413875707182309),
("New Year's Dayyear", -5.413875707182309),
("dayhour", -2.9715286718131044),
("daymonth", -3.334434165502473),
("monthday", -5.0084105990741445),
("monthyear", -4.720728526622364),
("intersecthh:mm", -5.413875707182309),
("Easter Sundayyear", -5.0084105990741445),
-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),
("from <datetime> - <datetime> (interval)July",
-5.413875707182309),
("houryear", -5.413875707182309),
-5.41610040220442),
("houryear", -5.41610040220442),
("from <time-of-day> - <time-of-day> (interval)July",
-5.413875707182309),
("until <time-of-day><time-of-day> am|pm", -5.413875707182309),
-5.41610040220442),
("until <time-of-day><time-of-day> am|pm", -5.41610040220442),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.720728526622364),
("<time-of-day> am|pmintersect", -4.161112738686941),
-4.722953221644475),
("<time-of-day> am|pmintersect", -4.163337433709052),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.497584975308154),
("Clean Mondayyear", -5.413875707182309),
("from|since|after <time-of-day>on <date>", -4.497584975308154),
-4.499809670330265),
("Clean Mondayyear", -5.41610040220442),
("from|since|after <time-of-day>on <date>", -4.499809670330265),
("July<day-of-month> (ordinal or number) <named-month>",
-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),
("mm/ddat <time-of-day>", -5.0084105990741445),
("<time-of-day> am|pmon <date>", -4.161112738686941),
("dayyear", -3.2166511298460896),
("Thursdaymm/dd", -5.413875707182309),
("Sundayyear", -4.720728526622364),
("Thursdayat <time-of-day>", -4.161112738686941),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.413875707182309),
("monthminute", -5.413875707182309),
("<time-of-day> am|pmtomorrow", -5.413875707182309),
("Thursdayhh:mm", -4.497584975308154),
-5.41610040220442),
("monthminute", -5.41610040220442),
("<time-of-day> am|pmtomorrow", -5.41610040220442),
("Thursdayhh:mm", -4.499809670330265),
("August<day-of-month> (ordinal or number) <named-month>",
-5.413875707182309),
("Fridayyear", -5.0084105990741445),
("minutemonth", -3.6221162379542537),
("Sundayfrom|since|after <time-of-day>", -5.413875707182309),
-5.41610040220442),
("Fridayyear", -5.0106352940962555),
("minutemonth", -3.624340932976365),
("Sundayfrom|since|after <time-of-day>", -5.41610040220442),
("Thursdayfrom <datetime> - <datetime> (interval)",
-5.0084105990741445),
-5.0106352940962555),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-5.0084105990741445),
("Aprilyear", -5.413875707182309),
-5.0106352940962555),
("Aprilyear", -5.41610040220442),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-5.0084105990741445),
-5.0106352940962555),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.413875707182309),
("Christmasat <time-of-day>", -5.413875707182309),
-5.41610040220442),
("Christmasat <time-of-day>", -5.41610040220442),
("<duration> after|before|from <time>December",
-5.413875707182309),
("yesterday<time-of-day> am|pm", -5.413875707182309),
-5.41610040220442),
("yesterday<time-of-day> am|pm", -5.41610040220442),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.497584975308154),
-4.499809670330265),
("Thursday<time-of-day> - <time-of-day> (interval)",
-5.0084105990741445),
-5.0106352940962555),
("<named-month> <day-of-month> (non ordinal)August",
-5.413875707182309),
("until <time-of-day>on <date>", -4.720728526622364),
("Mondayyear", -4.720728526622364),
("Saturdayyear", -5.413875707182309),
("at <time-of-day>intersect", -5.0084105990741445),
-5.41610040220442),
("until <time-of-day>on <date>", -4.722953221644475),
("Mondayyear", -4.722953221644475),
("Saturdayyear", -5.41610040220442),
("at <time-of-day>intersect", -5.0106352940962555),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.413875707182309),
("dayminute", -2.8881470628740535),
("intersectSeptember", -3.909798310406035),
-5.41610040220442),
("dayminute", -2.890371757896165),
("intersectSeptember", -3.912023005428146),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.413875707182309),
("minuteday", -2.4961049750980298),
("absorption of , after named dayintersect",
-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),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.413875707182309),
-5.41610040220442),
("absorption of , after named daySeptember",
-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),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.413875707182309),
("tomorrowat <time-of-day>", -5.413875707182309),
-5.41610040220442),
("tomorrowat <time-of-day>", -5.41610040220442),
("<integer> to|till|before <hour-of-day>July",
-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)],
-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}}),
("one eleven",
Classifier{okData =
@ -997,22 +999,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1420,20 +1424,21 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.223809823697212e-2,
unseen = -5.017279836814924,
ClassData{prior = -7.598590697792199e-2,
unseen = -5.093750200806762,
likelihoods =
HashMap.fromList
[("week", -1.040343380544134),
("month (grain)", -3.624340932976365),
("year (grain)", -2.5257286443082556),
("week (grain)", -1.040343380544134),
("quarter", -3.4011973816621555), ("year", -2.5257286443082556),
("month", -3.624340932976365),
("quarter (grain)", -3.4011973816621555)],
n = 70},
[("week", -1.1173044216802621),
("month (grain)", -2.7850112422383386),
("year (grain)", -2.6026896854443837),
("week (grain)", -1.1173044216802621),
("quarter", -3.4781584227982836), ("year", -2.6026896854443837),
("month", -2.7850112422383386),
("quarter (grain)", -3.4781584227982836)],
n = 76},
koData =
ClassData{prior = -2.538973871058276, unseen = -3.1354942159291497,
ClassData{prior = -2.6149597780361984,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("week", -1.4816045409242156),
@ -2146,6 +2151,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2477,8 +2508,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2546,8 +2577,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -62,12 +62,12 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6466271649250525, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.6520289336304725,
unseen = -5.3612921657094255,
likelihoods = HashMap.fromList [("", 0.0)], n = 211},
koData =
ClassData{prior = -0.7419373447293773,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
ClassData{prior = -0.736028908043211, unseen = -5.278114659230518,
likelihoods = HashMap.fromList [("", 0.0)], n = 194}}),
("<duration> hence|ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.784189633918261,
@ -228,52 +228,54 @@ classifiers
n = 9}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -4.454347296253507,
ClassData{prior = -9.237332013101517e-2,
unseen = -4.48863636973214,
likelihoods =
HashMap.fromList
[("<day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("dayhour", -1.498212277323876),
("Mondayearly morning", -3.3440389678222067),
("time-of-day (latent)tonight", -3.3440389678222067),
("hourhour", -2.3632097148104805),
-3.784189633918261),
("dayhour", -1.4816045409242156),
("Mondayearly morning", -3.378724525810097),
("time-of-day (latent)tonight", -3.378724525810097),
("hourhour", -2.3978952727983707),
("<time-of-day> o'clockin|during the <part-of-day>",
-3.7495040759303713),
("todaypart of days", -3.7495040759303713),
("minutehour", -2.6508917872622613),
-3.784189633918261),
("todaypart of days", -3.784189633918261),
("minutehour", -2.6855773452501515),
("at <time-of-day>in|during the <part-of-day>",
-3.3440389678222067),
("time-of-day (latent)this <part-of-day>", -3.7495040759303713),
("Mondayin|during the <part-of-day>", -3.7495040759303713),
("intersectpart of days", -3.7495040759303713),
("intersectin|during the <part-of-day>", -3.7495040759303713),
-3.378724525810097),
("time-of-day (latent)this <part-of-day>", -3.784189633918261),
("Mondayin|during the <part-of-day>", -3.784189633918261),
("intersectpart of days", -3.784189633918261),
("intersectin|during the <part-of-day>", -3.784189633918261),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-3.7495040759303713),
("tomorrowpart of days", -2.3632097148104805),
("hh:mmin|during the <part-of-day>", -3.056356895370426),
-3.784189633918261),
("tomorrowpart of days", -2.3978952727983707),
("hh:mmin|during the <part-of-day>", -3.0910424533583156),
("time-of-day (latent)in|during the <part-of-day>",
-3.7495040759303713),
-3.784189633918261),
("hhmm (latent)in|during the <part-of-day>",
-3.7495040759303713),
("yesterdaypart of days", -3.3440389678222067),
("Mondaypart of days", -3.7495040759303713)],
n = 30},
-3.784189633918261),
("yesterdaypart of days", -3.378724525810097),
("<day-of-month> (ordinal or number) of <month>in|during the <part-of-day>",
-3.784189633918261),
("Mondaypart of days", -3.784189633918261)],
n = 31},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -3.4657359027997265,
ClassData{prior = -2.4277482359480516,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("yearhour", -2.740840023925201),
("monthhour", -2.740840023925201),
("hourhour", -2.740840023925201),
[("yearhour", -2.772588722239781),
("monthhour", -2.772588722239781),
("hourhour", -2.772588722239781),
("past year (latent)in|during the <part-of-day>",
-2.740840023925201),
("Februaryin|during the <part-of-day>", -2.740840023925201),
-2.772588722239781),
("Februaryin|during the <part-of-day>", -2.772588722239781),
("time-of-day (latent)in|during the <part-of-day>",
-2.740840023925201)],
-2.772588722239781)],
n = 3}}),
("today",
Classifier{okData =
@ -507,8 +509,8 @@ classifiers
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -677,275 +679,278 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4705517246280507, unseen = -6.429719478039138,
ClassData{prior = -0.4689113298471266, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.482195123629283),
("Lentyear", -5.734958092124651),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.482195123629283),
("hourday", -4.0302099998862255),
("dayhour", -2.8445863342284863),
("daymonth", -5.041810911564705),
("monthday", -5.329492984016486),
("monthyear", -4.12552017969055),
("Tuesdaythe <day-of-month> (ordinal)", -5.734958092124651),
("Easter Sundayyear", -5.041810911564705),
("Christmasyear", -5.329492984016486),
-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),
("from <datetime> - <datetime> (interval)July",
-5.734958092124651),
("houryear", -5.329492984016486),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Christmas<time-of-day> am|pm", -5.734958092124651),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.041810911564705),
("Sukkotyear", -5.329492984016486),
("<time-of-day> am|pmintersect", -4.482195123629283),
-5.0466457316192885),
("Sukkotyear", -5.334327804071069),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.734958092124651),
("Marchyear", -5.734958092124651),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.329492984016486),
("intersect<time-of-day> am|pm", -5.734958092124651),
("Clean Mondayyear", -5.329492984016486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.734958092124651),
("Rosh Hashanahyear", -5.734958092124651),
("monthhour", -5.329492984016486),
("last <day-of-week> of <time>year", -5.734958092124651),
("todayat <time-of-day>", -5.734958092124651),
("Thursday<time> timezone", -4.0302099998862255),
-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),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.734958092124651),
("Yom Ha'atzmautyear", -5.734958092124651),
("Palm SundaySunday", -5.329492984016486),
("dayday", -3.5377335147884312),
("<time> <part-of-day>at <time-of-day>", -5.734958092124651),
("Tuesdayin <named-month>", -5.734958092124651),
("tonightat <time-of-day>", -5.734958092124651),
-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),
("<time-of-day> am|pmabsorption of , after named day",
-5.041810911564705),
("today<time-of-day> am|pm", -5.734958092124651),
("Februarythe <day-of-month> (ordinal)", -5.329492984016486),
("at <time-of-day><time> <part-of-day>", -5.734958092124651),
("hourhour", -4.482195123629283),
("<time-of-day> am|pmon <date>", -3.720055071582386),
("Wednesdaythis|last|next <cycle>", -5.734958092124651),
-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),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.230880695348377),
("dayyear", -2.599463876195501),
("Lag BaOmeryear", -5.734958092124651),
("last weekend of <named-month>year", -5.734958092124651),
-4.23571551540296),
("dayyear", -2.6042986962500847),
("Lag BaOmeryear", -5.739792912179234),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.734958092124651),
("Sundayyear", -5.734958092124651),
("Chinese New Yearyear", -5.734958092124651),
("Thursdayat <time-of-day>", -5.329492984016486),
("<time-of-day> am|pmtomorrow", -5.041810911564705),
("minutehour", -4.818667360250496),
("Simchat Torahyear", -5.734958092124651),
-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),
("at <time-of-day>in|during the <part-of-day>",
-5.329492984016486),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.0302099998862255),
("for <duration> from <time>December", -5.734958092124651),
("tomorrow<time-of-day> sharp|exactly", -5.734958092124651),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.329492984016486),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.818667360250496),
("Mondayin|during the <part-of-day>", -5.734958092124651),
("Shrove Tuesdayyear", -5.734958092124651),
("<part-of-day> of <time>year", -5.734958092124651),
("Yom Kippuryear", -5.734958092124651),
("Hanukkahyear", -5.734958092124651),
-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),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.329492984016486),
("intersectin|during the <part-of-day>", -5.734958092124651),
("Christmasat <time-of-day>", -5.734958092124651),
-5.334327804071069),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.818667360250496),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.734958092124651),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.482195123629283),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.041810911564705),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.818667360250496),
("at <time-of-day>intersect", -5.329492984016486),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.734958092124651),
("Tisha B'Avyear", -5.734958092124651),
-5.739792912179234),
("Tisha B'Avyear", -5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.734958092124651),
("dayminute", -3.132268406680267),
("Boss's Dayyear", -5.329492984016486),
("Orthodox Easter Sundayyear", -5.734958092124651),
-5.739792912179234),
("dayminute", -3.13710322673485),
("Boss's Dayyear", -5.334327804071069),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.329492984016486),
("intersectyear", -5.734958092124651),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.734958092124651),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.329492984016486),
("<ordinal> <cycle> of <time>year", -5.734958092124651),
("minuteday", -2.2692221893249243),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.734958092124651),
("Octoberyear", -4.482195123629283),
("Shavuotyear", -5.734958092124651),
-5.739792912179234),
("Octoberyear", -4.487029943683866),
("Shavuotyear", -5.739792912179234),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.734958092124651),
("Yom HaShoahyear", -5.329492984016486),
-5.739792912179234),
("Yom HaShoahyear", -5.334327804071069),
("at <time-of-day>absorption of , after named day",
-5.734958092124651),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.734958092124651),
("year<time-of-day> am|pm", -5.734958092124651),
("Septemberyear", -5.329492984016486),
("at <time-of-day>on <date>", -4.636345803456541),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.041810911564705),
("Halloweenyear", -5.734958092124651),
("Passoveryear", -5.734958092124651),
("dayweek", -5.734958092124651),
("Lazarus Saturdayyear", -5.734958092124651),
("Thursday<time-of-day> am|pm", -5.734958092124651),
("weekyear", -5.329492984016486),
("hh:mmin|during the <part-of-day>", -5.041810911564705),
-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),
("<cycle> after|before <time><time-of-day> am|pm",
-5.329492984016486),
("Shemini Atzeretyear", -5.734958092124651),
("February<time> <part-of-day>", -5.734958092124651),
("Martin Luther King's Dayyear", -5.329492984016486),
("tomorrowat <time-of-day>", -5.041810911564705),
("between <time> and <time>on <date>", -5.041810911564705),
("Thursdayfrom|since|after <time-of-day>", -5.041810911564705),
("at <time-of-day>tomorrow", -5.329492984016486),
("tomorrow<time-of-day> am|pm", -5.734958092124651),
("Pentecostyear", -5.734958092124651),
-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),
("in|during the <part-of-day>at <time-of-day>",
-5.734958092124651),
("Palm Sundayintersect", -5.734958092124651),
("Great Lentyear", -5.734958092124651),
("Februaryintersect", -5.734958092124651),
("last <cycle> of <time>year", -5.041810911564705),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("<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),
("<named-month> <day-of-month> (non ordinal)year",
-5.734958092124651),
("yearminute", -5.734958092124651),
("Black Fridayyear", -5.329492984016486)],
n = 228},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 229},
koData =
ClassData{prior = -0.9799164277543666, unseen = -6.082218910376446,
ClassData{prior = -0.9826524075732412,
unseen = -6.0844994130751715,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3867860145356445),
[("in <named-month>year", -5.389071729816501),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3867860145356445),
("hourday", -5.3867860145356445),
-5.389071729816501),
("hourday", -5.389071729816501),
("<named-month> <day-of-month> (non ordinal)July",
-5.3867860145356445),
("New Year's Dayyear", -5.3867860145356445),
("dayhour", -3.084200921541599),
("daymonth", -3.307344472855809),
("monthday", -4.981320906427481),
("monthyear", -4.693638833975699),
("intersecthh:mm", -5.3867860145356445),
("Easter Sundayyear", -4.981320906427481),
-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),
("from <datetime> - <datetime> (interval)July",
-5.3867860145356445),
("houryear", -5.3867860145356445),
-5.389071729816501),
("houryear", -5.389071729816501),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3867860145356445),
("until <time-of-day><time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.693638833975699),
("<time-of-day> am|pmintersect", -4.1340230460402765),
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.470495282661489),
("Clean Mondayyear", -5.3867860145356445),
("from|since|after <time-of-day>on <date>", -4.470495282661489),
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("absorption of , after named dayJuly", -4.981320906427481),
("monthhour", -5.3867860145356445),
("hourmonth", -4.693638833975699),
("todayat <time-of-day>", -5.3867860145356445),
("from|since|after <time-of-day>July", -5.3867860145356445),
("dayday", -4.981320906427481),
("<time-of-day> am|pmon <date>", -4.1340230460402765),
("dayyear", -3.1895614371994254),
("Thursdaymm/dd", -5.3867860145356445),
("Sundayyear", -4.693638833975699),
("Thursdayat <time-of-day>", -4.1340230460402765),
-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),
("<integer> to|till|before <hour-of-day>September",
-5.3867860145356445),
("monthminute", -5.3867860145356445),
("<time-of-day> am|pmtomorrow", -5.3867860145356445),
("Thursdayhh:mm", -4.470495282661489),
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3867860145356445),
("Fridayyear", -4.981320906427481),
("minutemonth", -3.59502654530759),
("Sundayfrom|since|after <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.981320906427481),
-4.983606621708336),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
("Aprilyear", -5.3867860145356445),
-4.983606621708336),
("Aprilyear", -5.389071729816501),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3867860145356445),
("Christmasat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
("<duration> after|before|from <time>December",
-5.3867860145356445),
("yesterday<time-of-day> am|pm", -5.3867860145356445),
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.470495282661489),
-4.472780997942346),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.981320906427481),
-4.983606621708336),
("<named-month> <day-of-month> (non ordinal)August",
-5.3867860145356445),
("until <time-of-day>on <date>", -4.693638833975699),
("Mondayyear", -4.693638833975699),
("Saturdayyear", -5.3867860145356445),
("at <time-of-day>intersect", -4.981320906427481),
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("dayminute", -2.9018793647476446),
("intersectSeptember", -3.882708617759371),
-5.389071729816501),
("dayminute", -2.9041650800285006),
("intersectSeptember", -3.884994333040227),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3867860145356445),
("minuteday", -2.4690152824513656),
-5.389071729816501),
("minuteday", -2.4713009977322216),
("absorption of , after named dayintersect",
-5.3867860145356445),
("Februaryin|during the <part-of-day>", -5.3867860145356445),
("week-endin <named-month>", -5.3867860145356445),
("Octoberyear", -5.3867860145356445),
("from|since|after <time-of-day>year", -5.3867860145356445),
("yearhh:mm", -5.3867860145356445),
("hh:mmon <date>", -3.882708617759371),
-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),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3867860145356445),
-5.389071729816501),
("absorption of , after named daySeptember",
-4.470495282661489),
("on <date>September", -4.981320906427481),
("at <time-of-day>on <date>", -4.981320906427481),
("dayweek", -5.3867860145356445),
("Thursday<time-of-day> am|pm", -4.981320906427481),
("absorption of , after named dayFebruary", -4.470495282661489),
-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),
("July<integer> to|till|before <hour-of-day>",
-5.3867860145356445),
("tomorrowat <time-of-day>", -5.3867860145356445),
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
("<integer> to|till|before <hour-of-day>July",
-5.3867860145356445),
("Thursdayfrom|since|after <time-of-day>", -3.7773481021015445),
("tomorrow<time-of-day> am|pm", -5.3867860145356445),
("Tuesdayfrom|since|after <time-of-day>", -5.3867860145356445),
("yearminute", -5.3867860145356445)],
-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}}),
("one eleven",
Classifier{okData =
@ -989,22 +994,24 @@ classifiers
n = 18}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -2.0149030205422647),
("quarteryear", -2.0149030205422647),
[("daymonth", -1.791759469228055),
("quarteryear", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
-2.0149030205422647),
-2.1972245773362196),
("ordinal (digits)day (grain)this|last|next <cycle>",
-2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
-2.0149030205422647),
("weekmonth", -1.6094379124341003),
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
-2.1972245773362196),
("weekmonth", -1.791759469228055),
("ordinal (digits)quarter (grain)year", -2.1972245773362196),
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
-2.0149030205422647)],
n = 4},
-2.1972245773362196)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -2.0794415416798357,
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("year (grain)",
Classifier{okData =
@ -1412,20 +1419,20 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("this|last|next <cycle>",
Classifier{okData =
ClassData{prior = -8.338160893905101e-2,
unseen = -5.003946305945459,
ClassData{prior = -7.696104113612832e-2,
unseen = -5.081404364984463,
likelihoods =
HashMap.fromList
[("week", -1.0269203602119932),
("month (grain)", -3.6109179126442243),
("year (grain)", -2.5993170009657445),
("week (grain)", -1.0269203602119932),
("quarter", -3.3877743613300146), ("year", -2.5993170009657445),
("month", -3.6109179126442243),
("quarter (grain)", -3.3877743613300146)],
n = 69},
[("week", -1.104881901681705),
("month (grain)", -2.772588722239781),
("year (grain)", -2.6772785424354564),
("week (grain)", -1.104881901681705),
("quarter", -3.4657359027997265), ("year", -2.6772785424354564),
("month", -2.772588722239781),
("quarter (grain)", -3.4657359027997265)],
n = 75},
koData =
ClassData{prior = -2.5257286443082556,
ClassData{prior = -2.6026896854443837,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
@ -2126,6 +2133,32 @@ classifiers
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.4423470353692043)],
n = 3}}),
("<day-of-month> (ordinal or number) of <month>",
Classifier{okData =
ClassData{prior = -8.004270767353637e-2,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("ordinal (digits)July", -2.803360380906535),
("ordinals (first..twentieth,thirtieth,...)March",
-2.803360380906535),
("ordinal (digits)this|last|next <cycle>", -2.1102132003465894),
("integer (numeric)this|last|next <cycle>",
-2.3978952727983707),
("ordinal (digits)February", -2.803360380906535),
("integer (numeric)February", -2.3978952727983707),
("month", -0.9315582040049435),
("ordinal (digits)March", -2.803360380906535),
("integer (numeric)July", -2.803360380906535)],
n = 12},
koData =
ClassData{prior = -2.5649493574615367,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal (digits)February", -1.7047480922384253),
("month", -1.7047480922384253)],
n = 1}}),
("decimal number",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -2454,8 +2487,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.5553480614894135,
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
ClassData{prior = 0.0, unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2523,8 +2556,8 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -267,6 +267,18 @@ allExamples = concat
, examples (datetime (2013, 3, 1, 0, 0, 0) Month)
[ "next month"
]
, examples (datetime (2013, 3, 20, 0, 0, 0) Day)
[ "20 of next month"
, "20th of the next month"
, "20th day of next month"
]
, examples (datetime (2013, 2, 20, 0, 0, 0) Day)
[ "20th of the current month"
, "20 of this month"
]
, examples (datetime (2013, 1, 20, 0, 0, 0) Day)
[ "20th of the previous month"
]
, examples (datetime (2013, 1, 1, 0, 0, 0) Quarter)
[ "this quarter"
, "this qtr"

View File

@ -1691,6 +1691,19 @@ ruleCycleThisLastNext = Rule
_ -> Nothing
}
ruleDOMOfTimeMonth :: Rule
ruleDOMOfTimeMonth = Rule
{ name = "<day-of-month> (ordinal or number) of <month>"
, pattern =
[ Predicate isDOMValue
, regex "of( the)?"
, Predicate $ isGrainOfTime TG.Month
]
, prod = \tokens -> case tokens of
(token:_:Token Time td:_) -> Token Time <$> intersectDOM td token
_ -> Nothing
}
ruleCycleTheAfterBeforeTime :: Rule
ruleCycleTheAfterBeforeTime = Rule
{ name = "the <cycle> after|before <time>"
@ -2053,6 +2066,7 @@ rules =
, ruleIntervalAfterFromSinceTOD
, ruleCycleTheAfterBeforeTime
, ruleCycleThisLastNext
, ruleDOMOfTimeMonth
, ruleCycleAfterBeforeTime
, ruleCycleOrdinalOfTime
, ruleCycleTheOrdinalOfTime