Time/EN: handle Easter

Summary:
* introducing `Duckling.Time.Computed` for pre-computed days
* handle Easter Sunday and Easter Monday from 1950 to 2050

Reviewed By: JonCoens

Differential Revision: D7207643

fbshipit-source-id: 13e1d6d10dc9cd5d18ef7ff0c50d99e695c3cb1f
This commit is contained in:
Julien Odent 2018-03-13 10:06:40 -07:00 committed by Facebook Github Bot
parent 4c3af007d5
commit af0751a748
18 changed files with 4755 additions and 3702 deletions

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("Thursdaydd/mm", -5.2574953720277815),
("dayyear", -4.004732403532413),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("Thursdaydd/mm", -5.278114659230518),
("dayyear", -3.6686767467964168),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("Thursdaydd/mm", -5.2574953720277815),
("dayyear", -4.004732403532413),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("Thursdaydd/mm", -5.278114659230518),
("dayyear", -3.6686767467964168),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,10 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7765287894989963, unseen = -5.225746673713201,
likelihoods = HashMap.fromList [("", 0.0)], n = 184},
ClassData{prior = -0.7707054149058198, unseen = -5.236441962829949,
likelihoods = HashMap.fromList [("", 0.0)], n = 186},
koData =
ClassData{prior = -0.616186139423817, unseen = -5.384495062789089,
ClassData{prior = -0.621173680934856, unseen = -5.384495062789089,
likelihoods = HashMap.fromList [("", 0.0)], n = 216}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +107,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +148,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +384,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +439,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,248 +626,252 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4957877464014501, unseen = -6.293419278846481,
ClassData{prior = -0.4989911661189879,
unseen = -6.3080984415095305,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.345658990503007),
-4.360365137892702),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.345658990503007),
("hourday", -3.8936738667599493),
("dayhour", -2.765208614942159),
("daymonth", -4.90527477843843),
("monthday", -5.19295685089021),
("monthyear", -3.9889840465642745),
("Tuesdaythe <day-of-month> (ordinal)", -5.598421958998375),
("Christmasyear", -5.598421958998375),
-4.360365137892702),
("hourday", -3.908380014149645),
("dayhour", -2.7799147623318543),
("daymonth", -4.919980925828125),
("monthday", -5.207662998279906),
("monthyear", -4.00369019395397),
("Tuesdaythe <day-of-month> (ordinal)", -5.6131281063880705),
("Easter Sundayyear", -4.919980925828125),
("Christmasyear", -5.6131281063880705),
("from <datetime> - <datetime> (interval)July",
-5.598421958998375),
("houryear", -5.598421958998375),
-5.6131281063880705),
("houryear", -5.6131281063880705),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
-5.6131281063880705),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.90527477843843),
("<time-of-day> am|pmintersect", -4.345658990503007),
-4.919980925828125),
("<time-of-day> am|pmintersect", -4.360365137892702),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.598421958998375),
("Marchyear", -5.598421958998375),
-5.6131281063880705),
("Marchyear", -5.6131281063880705),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.19295685089021),
("intersect<time-of-day> am|pm", -5.598421958998375),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.598421958998375),
("monthhour", -5.19295685089021),
("last <day-of-week> of <time>year", -5.598421958998375),
("todayat <time-of-day>", -5.598421958998375),
("Thursday<time> timezone", -3.8936738667599493),
-5.207662998279906),
("intersect<time-of-day> am|pm", -5.6131281063880705),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.6131281063880705),
("monthhour", -5.207662998279906),
("last <day-of-week> of <time>year", -5.6131281063880705),
("todayat <time-of-day>", -5.6131281063880705),
("Thursday<time> timezone", -3.908380014149645),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
("dayday", -3.58351893845611),
("Thanksgiving Dayyear", -4.499809670330265),
("<time> <part-of-day>at <time-of-day>", -5.598421958998375),
("Tuesdayin <named-month>", -5.598421958998375),
("mm/ddat <time-of-day>", -5.598421958998375),
("tonightat <time-of-day>", -5.598421958998375),
-5.6131281063880705),
("dayday", -3.5982250858458054),
("Thanksgiving Dayyear", -4.5145158177199605),
("<time> <part-of-day>at <time-of-day>", -5.6131281063880705),
("Tuesdayin <named-month>", -5.6131281063880705),
("mm/ddat <time-of-day>", -5.6131281063880705),
("tonightat <time-of-day>", -5.6131281063880705),
("<time-of-day> am|pmabsorption of , after named day",
-4.90527477843843),
("today<time-of-day> am|pm", -5.598421958998375),
("Februarythe <day-of-month> (ordinal)", -5.19295685089021),
("at <time-of-day><time> <part-of-day>", -5.598421958998375),
("mm/dd<time-of-day> am|pm", -5.598421958998375),
("hourhour", -4.345658990503007),
("<time-of-day> am|pmon <date>", -3.58351893845611),
("Wednesdaythis|last|next <cycle>", -5.598421958998375),
-4.919980925828125),
("today<time-of-day> am|pm", -5.6131281063880705),
("Februarythe <day-of-month> (ordinal)", -5.207662998279906),
("at <time-of-day><time> <part-of-day>", -5.6131281063880705),
("mm/dd<time-of-day> am|pm", -5.6131281063880705),
("hourhour", -4.360365137892702),
("<time-of-day> am|pmon <date>", -3.5982250858458054),
("Wednesdaythis|last|next <cycle>", -5.6131281063880705),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.0943445622221),
("dayyear", -3.1560749236291703),
("last weekend of <named-month>year", -5.598421958998375),
-4.109050709611796),
("dayyear", -3.0481787489265337),
("last weekend of <named-month>year", -5.6131281063880705),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.598421958998375),
("Thursdayat <time-of-day>", -5.19295685089021),
("<time-of-day> am|pmtomorrow", -4.90527477843843),
("minutehour", -4.68213122712422),
("Mother's Dayyear", -5.598421958998375),
-5.6131281063880705),
("Thursdayat <time-of-day>", -5.207662998279906),
("<time-of-day> am|pmtomorrow", -4.919980925828125),
("minutehour", -4.696837374513915),
("Mother's Dayyear", -5.6131281063880705),
("at <time-of-day>in|during the <part-of-day>",
-5.19295685089021),
-5.207662998279906),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.8936738667599493),
("for <duration> from <time>December", -5.598421958998375),
("tomorrow<time-of-day> sharp|exactly", -5.598421958998375),
-3.908380014149645),
("for <duration> from <time>December", -5.6131281063880705),
("tomorrow<time-of-day> sharp|exactly", -5.6131281063880705),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.19295685089021),
-5.207662998279906),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.68213122712422),
("Mondayin|during the <part-of-day>", -5.598421958998375),
-4.696837374513915),
("Mondayin|during the <part-of-day>", -5.6131281063880705),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.19295685089021),
("intersectin|during the <part-of-day>", -5.598421958998375),
-5.207662998279906),
("intersectin|during the <part-of-day>", -5.6131281063880705),
("Thursday<datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.345658990503007),
-4.360365137892702),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.90527477843843),
-4.919980925828125),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.68213122712422),
("at <time-of-day>intersect", -5.19295685089021),
-4.696837374513915),
("at <time-of-day>intersect", -5.207662998279906),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.598421958998375),
("dayminute", -2.924273309571846),
-5.6131281063880705),
("dayminute", -2.9389794569615417),
("from <datetime> - <datetime> (interval)on <date>",
-5.19295685089021),
-5.207662998279906),
("<datetime> - <datetime> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.19295685089021),
("<ordinal> <cycle> of <time>year", -5.598421958998375),
("minuteday", -2.132686056198648),
-5.207662998279906),
("<ordinal> <cycle> of <time>year", -5.6131281063880705),
("minuteday", -2.147392203588344),
("absorption of , after named dayintersect",
-5.598421958998375),
("Octoberyear", -4.345658990503007),
-5.6131281063880705),
("Octoberyear", -4.360365137892702),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>absorption of , after named day",
-5.598421958998375),
-5.6131281063880705),
("<day-of-month> (ordinal or number) <named-month>year",
-5.598421958998375),
("year<time-of-day> am|pm", -5.598421958998375),
("Septemberyear", -5.19295685089021),
("at <time-of-day>on <date>", -4.499809670330265),
-5.6131281063880705),
("year<time-of-day> am|pm", -5.6131281063880705),
("Septemberyear", -5.207662998279906),
("at <time-of-day>on <date>", -4.5145158177199605),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.90527477843843),
("Halloweenyear", -5.598421958998375),
("dayweek", -5.598421958998375),
("Thursday<time-of-day> am|pm", -5.598421958998375),
("weekyear", -5.19295685089021),
("hh:mmin|during the <part-of-day>", -4.90527477843843),
("Father's Dayyear", -5.598421958998375),
-4.919980925828125),
("Halloweenyear", -5.6131281063880705),
("dayweek", -5.6131281063880705),
("Thursday<time-of-day> am|pm", -5.6131281063880705),
("weekyear", -5.207662998279906),
("hh:mmin|during the <part-of-day>", -4.919980925828125),
("Father's Dayyear", -5.6131281063880705),
("<cycle> after|before <time><time-of-day> am|pm",
-5.19295685089021),
("February<time> <part-of-day>", -5.598421958998375),
("Martin Luther King's Dayyear", -5.19295685089021),
("tomorrowat <time-of-day>", -4.90527477843843),
("between <time> and <time>on <date>", -4.90527477843843),
("Thursdayfrom|since|after <time-of-day>", -4.90527477843843),
("at <time-of-day>tomorrow", -5.19295685089021),
("tomorrow<time-of-day> am|pm", -5.598421958998375),
-5.207662998279906),
("February<time> <part-of-day>", -5.6131281063880705),
("Martin Luther King's Dayyear", -5.207662998279906),
("tomorrowat <time-of-day>", -4.919980925828125),
("between <time> and <time>on <date>", -4.919980925828125),
("Thursdayfrom|since|after <time-of-day>", -4.919980925828125),
("at <time-of-day>tomorrow", -5.207662998279906),
("tomorrow<time-of-day> am|pm", -5.6131281063880705),
("in|during the <part-of-day>at <time-of-day>",
-5.598421958998375),
("Labor Dayyear", -5.598421958998375),
("Februaryintersect", -5.598421958998375),
("last <cycle> of <time>year", -4.90527477843843),
-5.6131281063880705),
("Labor Dayyear", -5.6131281063880705),
("Februaryintersect", -5.6131281063880705),
("last <cycle> of <time>year", -4.919980925828125),
("<named-month> <day-of-month> (non ordinal)year",
-5.598421958998375),
("yearminute", -5.598421958998375),
("Black Fridayyear", -5.19295685089021)],
n = 201},
-5.6131281063880705),
("yearminute", -5.6131281063880705),
("Black Fridayyear", -5.207662998279906)],
n = 204},
koData =
ClassData{prior = -0.9392802500988537, unseen = -5.983936280687191,
ClassData{prior = -0.9343092373768334, unseen = -6.003887067106539,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.288267030694535),
[("in <named-month>year", -5.308267697401205),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.288267030694535),
("hourday", -5.288267030694535),
-5.308267697401205),
("hourday", -5.308267697401205),
("<named-month> <day-of-month> (non ordinal)July",
-5.288267030694535),
("dayhour", -2.890371757896165),
("daymonth", -3.2088254890146994),
("monthday", -4.882801922586371),
("monthyear", -4.59511985013459),
("intersecthh:mm", -5.288267030694535),
-5.308267697401205),
("dayhour", -2.9103724246028344),
("daymonth", -3.228826155721369),
("monthday", -4.9028025892930405),
("monthyear", -4.61512051684126),
("intersecthh:mm", -5.308267697401205),
("Easter Sundayyear", -5.308267697401205),
("from <datetime> - <datetime> (interval)July",
-5.288267030694535),
("houryear", -5.288267030694535),
-5.308267697401205),
("houryear", -5.308267697401205),
("from <time-of-day> - <time-of-day> (interval)July",
-5.288267030694535),
("until <time-of-day><time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("until <time-of-day><time-of-day> am|pm", -5.308267697401205),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.59511985013459),
("<time-of-day> am|pmintersect", -4.035504062199167),
-4.61512051684126),
("<time-of-day> am|pmintersect", -4.055504728905837),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.37197629882038),
("from|since|after <time-of-day>on <date>", -4.37197629882038),
-4.39197696552705),
("from|since|after <time-of-day>on <date>", -4.39197696552705),
("July<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("absorption of , after named dayJuly", -4.882801922586371),
("monthhour", -5.288267030694535),
("hourmonth", -4.59511985013459),
("todayat <time-of-day>", -5.288267030694535),
("from|since|after <time-of-day>July", -5.288267030694535),
("dayday", -4.882801922586371),
("mm/ddat <time-of-day>", -4.882801922586371),
("<time-of-day> am|pmon <date>", -4.035504062199167),
("dayyear", -4.035504062199167),
("Thursdaymm/dd", -5.288267030694535),
("Thursdayat <time-of-day>", -4.035504062199167),
-5.308267697401205),
("absorption of , after named dayJuly", -4.9028025892930405),
("monthhour", -5.308267697401205),
("hourmonth", -4.61512051684126),
("todayat <time-of-day>", -5.308267697401205),
("from|since|after <time-of-day>July", -5.308267697401205),
("dayday", -4.9028025892930405),
("mm/ddat <time-of-day>", -4.9028025892930405),
("<time-of-day> am|pmon <date>", -4.055504728905837),
("dayyear", -3.698829784967104),
("Thursdaymm/dd", -5.308267697401205),
("Sundayyear", -4.9028025892930405),
("Thursdayat <time-of-day>", -4.055504728905837),
("<integer> to|till|before <hour-of-day>September",
-5.288267030694535),
("monthminute", -5.288267030694535),
("<time-of-day> am|pmtomorrow", -5.288267030694535),
("Thursdayhh:mm", -4.37197629882038),
-5.308267697401205),
("monthminute", -5.308267697401205),
("<time-of-day> am|pmtomorrow", -5.308267697401205),
("Thursdayhh:mm", -4.39197696552705),
("August<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("Fridayyear", -4.882801922586371),
("minutemonth", -3.4965075614664802),
("Sundayfrom|since|after <time-of-day>", -5.288267030694535),
-5.308267697401205),
("Fridayyear", -4.9028025892930405),
("minutemonth", -3.5165082281731497),
("Sundayfrom|since|after <time-of-day>", -5.308267697401205),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.882801922586371),
-4.9028025892930405),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
("Aprilyear", -5.288267030694535),
-4.9028025892930405),
("Aprilyear", -5.308267697401205),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.288267030694535),
-5.308267697401205),
("<duration> after|before|from <time>December",
-5.288267030694535),
("yesterday<time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("yesterday<time-of-day> am|pm", -5.308267697401205),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.37197629882038),
-4.39197696552705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("<named-month> <day-of-month> (non ordinal)August",
-5.288267030694535),
("until <time-of-day>on <date>", -4.59511985013459),
("at <time-of-day>intersect", -4.882801922586371),
-5.308267697401205),
("until <time-of-day>on <date>", -4.61512051684126),
("at <time-of-day>intersect", -4.9028025892930405),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("dayminute", -2.7625383863862796),
("intersectSeptember", -3.784189633918261),
-5.308267697401205),
("dayminute", -2.7825390530929495),
("intersectSeptember", -3.804190300624931),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("minuteday", -2.3704962986102562),
-5.308267697401205),
("minuteday", -2.3904969653169257),
("absorption of , after named dayintersect",
-5.288267030694535),
("Februaryin|during the <part-of-day>", -5.288267030694535),
("week-endin <named-month>", -5.288267030694535),
("Octoberyear", -5.288267030694535),
("from|since|after <time-of-day>year", -5.288267030694535),
("yearhh:mm", -5.288267030694535),
("hh:mmon <date>", -3.784189633918261),
-5.308267697401205),
("Februaryin|during the <part-of-day>", -5.308267697401205),
("week-endin <named-month>", -5.308267697401205),
("Octoberyear", -5.308267697401205),
("from|since|after <time-of-day>year", -5.308267697401205),
("yearhh:mm", -5.308267697401205),
("hh:mmon <date>", -3.804190300624931),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.288267030694535),
("absorption of , after named daySeptember", -4.37197629882038),
("on <date>September", -4.882801922586371),
("at <time-of-day>on <date>", -4.882801922586371),
("dayweek", -5.288267030694535),
("Thursday<time-of-day> am|pm", -4.882801922586371),
("absorption of , after named dayFebruary", -4.37197629882038),
-5.308267697401205),
("absorption of , after named daySeptember", -4.39197696552705),
("on <date>September", -4.9028025892930405),
("at <time-of-day>on <date>", -4.9028025892930405),
("dayweek", -5.308267697401205),
("Thursday<time-of-day> am|pm", -4.9028025892930405),
("absorption of , after named dayFebruary", -4.39197696552705),
("July<integer> to|till|before <hour-of-day>",
-5.288267030694535),
("tomorrowat <time-of-day>", -5.288267030694535),
-5.308267697401205),
("tomorrowat <time-of-day>", -5.308267697401205),
("<integer> to|till|before <hour-of-day>July",
-5.288267030694535),
("Thursdayfrom|since|after <time-of-day>", -3.6788291182604347),
("tomorrow<time-of-day> am|pm", -5.288267030694535),
("Tuesdayfrom|since|after <time-of-day>", -5.288267030694535),
("yearminute", -5.288267030694535)],
n = 129}}),
-5.308267697401205),
("Thursdayfrom|since|after <time-of-day>", -3.698829784967104),
("tomorrow<time-of-day> am|pm", -5.308267697401205),
("Tuesdayfrom|since|after <time-of-day>", -5.308267697401205),
("yearminute", -5.308267697401205)],
n = 132}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1047,11 +1077,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("yesterday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
@ -1229,6 +1261,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1387,11 +1426,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 17}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1443,13 +1484,22 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.23483959107740107, unseen = -3.58351893845611,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 34},
ClassData{prior = -0.2809023854664022,
unseen = -3.7376696182833684,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.10265415406008334),
("intersect 2 numbers", -3.0204248861443626)],
n = 37},
koData =
ClassData{prior = -1.563975538357343, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 9}}),
ClassData{prior = -1.4069136483226263, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.4700036292457356),
("intersect 2 numbers", -2.0794415416798357),
("powers of tens", -2.0794415416798357),
("compose by multiplication", -2.0794415416798357)],
n = 12}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1465,32 +1515,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1843,6 +1893,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1878,35 +1936,38 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2282,8 +2343,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2315,6 +2376,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,10 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7889513094975535, unseen = -5.225746673713201,
likelihoods = HashMap.fromList [("", 0.0)], n = 184},
ClassData{prior = -0.7830665117293937, unseen = -5.236441962829949,
likelihoods = HashMap.fromList [("", 0.0)], n = 186},
koData =
ClassData{prior = -0.6057243655887863, unseen = -5.407171771460119,
ClassData{prior = -0.6106504839248422, unseen = -5.407171771460119,
likelihoods = HashMap.fromList [("", 0.0)], n = 221}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +107,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +148,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -359,11 +384,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +439,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,248 +626,252 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4957877464014501, unseen = -6.293419278846481,
ClassData{prior = -0.4989911661189879,
unseen = -6.3080984415095305,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.345658990503007),
-4.360365137892702),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.345658990503007),
("hourday", -3.8936738667599493),
("dayhour", -2.765208614942159),
("daymonth", -4.90527477843843),
("monthday", -5.19295685089021),
("monthyear", -3.9889840465642745),
("Tuesdaythe <day-of-month> (ordinal)", -5.598421958998375),
("Christmasyear", -5.598421958998375),
-4.360365137892702),
("hourday", -3.908380014149645),
("dayhour", -2.7799147623318543),
("daymonth", -4.919980925828125),
("monthday", -5.207662998279906),
("monthyear", -4.00369019395397),
("Tuesdaythe <day-of-month> (ordinal)", -5.6131281063880705),
("Easter Sundayyear", -4.919980925828125),
("Christmasyear", -5.6131281063880705),
("from <datetime> - <datetime> (interval)July",
-5.598421958998375),
("houryear", -5.598421958998375),
-5.6131281063880705),
("houryear", -5.6131281063880705),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
-5.6131281063880705),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.90527477843843),
("<time-of-day> am|pmintersect", -4.345658990503007),
-4.919980925828125),
("<time-of-day> am|pmintersect", -4.360365137892702),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.598421958998375),
("Marchyear", -5.598421958998375),
-5.6131281063880705),
("Marchyear", -5.6131281063880705),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.19295685089021),
("intersect<time-of-day> am|pm", -5.598421958998375),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.598421958998375),
("monthhour", -5.19295685089021),
("last <day-of-week> of <time>year", -5.598421958998375),
("todayat <time-of-day>", -5.598421958998375),
("Thursday<time> timezone", -3.8936738667599493),
("dd/mm<time-of-day> am|pm", -5.598421958998375),
-5.207662998279906),
("intersect<time-of-day> am|pm", -5.6131281063880705),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.6131281063880705),
("monthhour", -5.207662998279906),
("last <day-of-week> of <time>year", -5.6131281063880705),
("todayat <time-of-day>", -5.6131281063880705),
("Thursday<time> timezone", -3.908380014149645),
("dd/mm<time-of-day> am|pm", -5.6131281063880705),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
("dayday", -3.58351893845611),
("Thanksgiving Dayyear", -4.499809670330265),
("dd/mmat <time-of-day>", -5.598421958998375),
("<time> <part-of-day>at <time-of-day>", -5.598421958998375),
("Tuesdayin <named-month>", -5.598421958998375),
("tonightat <time-of-day>", -5.598421958998375),
-5.6131281063880705),
("dayday", -3.5982250858458054),
("Thanksgiving Dayyear", -4.5145158177199605),
("dd/mmat <time-of-day>", -5.6131281063880705),
("<time> <part-of-day>at <time-of-day>", -5.6131281063880705),
("Tuesdayin <named-month>", -5.6131281063880705),
("tonightat <time-of-day>", -5.6131281063880705),
("<time-of-day> am|pmabsorption of , after named day",
-4.90527477843843),
("today<time-of-day> am|pm", -5.598421958998375),
("Februarythe <day-of-month> (ordinal)", -5.19295685089021),
("at <time-of-day><time> <part-of-day>", -5.598421958998375),
("hourhour", -4.345658990503007),
("<time-of-day> am|pmon <date>", -3.58351893845611),
("Wednesdaythis|last|next <cycle>", -5.598421958998375),
-4.919980925828125),
("today<time-of-day> am|pm", -5.6131281063880705),
("Februarythe <day-of-month> (ordinal)", -5.207662998279906),
("at <time-of-day><time> <part-of-day>", -5.6131281063880705),
("hourhour", -4.360365137892702),
("<time-of-day> am|pmon <date>", -3.5982250858458054),
("Wednesdaythis|last|next <cycle>", -5.6131281063880705),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.0943445622221),
("dayyear", -3.1560749236291703),
("last weekend of <named-month>year", -5.598421958998375),
-4.109050709611796),
("dayyear", -3.0481787489265337),
("last weekend of <named-month>year", -5.6131281063880705),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.598421958998375),
("Thursdayat <time-of-day>", -5.19295685089021),
("<time-of-day> am|pmtomorrow", -4.90527477843843),
("minutehour", -4.68213122712422),
("Mother's Dayyear", -5.598421958998375),
-5.6131281063880705),
("Thursdayat <time-of-day>", -5.207662998279906),
("<time-of-day> am|pmtomorrow", -4.919980925828125),
("minutehour", -4.696837374513915),
("Mother's Dayyear", -5.6131281063880705),
("at <time-of-day>in|during the <part-of-day>",
-5.19295685089021),
-5.207662998279906),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.8936738667599493),
("for <duration> from <time>December", -5.598421958998375),
("tomorrow<time-of-day> sharp|exactly", -5.598421958998375),
-3.908380014149645),
("for <duration> from <time>December", -5.6131281063880705),
("tomorrow<time-of-day> sharp|exactly", -5.6131281063880705),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.19295685089021),
-5.207662998279906),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.68213122712422),
("Mondayin|during the <part-of-day>", -5.598421958998375),
-4.696837374513915),
("Mondayin|during the <part-of-day>", -5.6131281063880705),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.19295685089021),
("intersectin|during the <part-of-day>", -5.598421958998375),
-5.207662998279906),
("intersectin|during the <part-of-day>", -5.6131281063880705),
("Thursday<datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.345658990503007),
-4.360365137892702),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.90527477843843),
-4.919980925828125),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.68213122712422),
("at <time-of-day>intersect", -5.19295685089021),
-4.696837374513915),
("at <time-of-day>intersect", -5.207662998279906),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.598421958998375),
("dayminute", -2.924273309571846),
-5.6131281063880705),
("dayminute", -2.9389794569615417),
("from <datetime> - <datetime> (interval)on <date>",
-5.19295685089021),
-5.207662998279906),
("<datetime> - <datetime> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.19295685089021),
("<ordinal> <cycle> of <time>year", -5.598421958998375),
("minuteday", -2.132686056198648),
-5.207662998279906),
("<ordinal> <cycle> of <time>year", -5.6131281063880705),
("minuteday", -2.147392203588344),
("absorption of , after named dayintersect",
-5.598421958998375),
("Octoberyear", -4.345658990503007),
-5.6131281063880705),
("Octoberyear", -4.360365137892702),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>absorption of , after named day",
-5.598421958998375),
-5.6131281063880705),
("<day-of-month> (ordinal or number) <named-month>year",
-5.598421958998375),
("year<time-of-day> am|pm", -5.598421958998375),
("Septemberyear", -5.19295685089021),
("at <time-of-day>on <date>", -4.499809670330265),
-5.6131281063880705),
("year<time-of-day> am|pm", -5.6131281063880705),
("Septemberyear", -5.207662998279906),
("at <time-of-day>on <date>", -4.5145158177199605),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.90527477843843),
("Halloweenyear", -5.598421958998375),
("dayweek", -5.598421958998375),
("Thursday<time-of-day> am|pm", -5.598421958998375),
("weekyear", -5.19295685089021),
("hh:mmin|during the <part-of-day>", -4.90527477843843),
("Father's Dayyear", -5.598421958998375),
-4.919980925828125),
("Halloweenyear", -5.6131281063880705),
("dayweek", -5.6131281063880705),
("Thursday<time-of-day> am|pm", -5.6131281063880705),
("weekyear", -5.207662998279906),
("hh:mmin|during the <part-of-day>", -4.919980925828125),
("Father's Dayyear", -5.6131281063880705),
("<cycle> after|before <time><time-of-day> am|pm",
-5.19295685089021),
("February<time> <part-of-day>", -5.598421958998375),
("Martin Luther King's Dayyear", -5.19295685089021),
("tomorrowat <time-of-day>", -4.90527477843843),
("between <time> and <time>on <date>", -4.90527477843843),
("Thursdayfrom|since|after <time-of-day>", -4.90527477843843),
("at <time-of-day>tomorrow", -5.19295685089021),
("tomorrow<time-of-day> am|pm", -5.598421958998375),
-5.207662998279906),
("February<time> <part-of-day>", -5.6131281063880705),
("Martin Luther King's Dayyear", -5.207662998279906),
("tomorrowat <time-of-day>", -4.919980925828125),
("between <time> and <time>on <date>", -4.919980925828125),
("Thursdayfrom|since|after <time-of-day>", -4.919980925828125),
("at <time-of-day>tomorrow", -5.207662998279906),
("tomorrow<time-of-day> am|pm", -5.6131281063880705),
("in|during the <part-of-day>at <time-of-day>",
-5.598421958998375),
("Labor Dayyear", -5.598421958998375),
("Februaryintersect", -5.598421958998375),
("last <cycle> of <time>year", -4.90527477843843),
-5.6131281063880705),
("Labor Dayyear", -5.6131281063880705),
("Februaryintersect", -5.6131281063880705),
("last <cycle> of <time>year", -4.919980925828125),
("<named-month> <day-of-month> (non ordinal)year",
-5.598421958998375),
("yearminute", -5.598421958998375),
("Black Fridayyear", -5.19295685089021)],
n = 201},
-5.6131281063880705),
("yearminute", -5.6131281063880705),
("Black Fridayyear", -5.207662998279906)],
n = 204},
koData =
ClassData{prior = -0.9392802500988537, unseen = -5.983936280687191,
ClassData{prior = -0.9343092373768334, unseen = -6.003887067106539,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.288267030694535),
[("in <named-month>year", -5.308267697401205),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.288267030694535),
("hourday", -5.288267030694535),
-5.308267697401205),
("hourday", -5.308267697401205),
("<named-month> <day-of-month> (non ordinal)July",
-5.288267030694535),
("dayhour", -2.890371757896165),
("daymonth", -3.2088254890146994),
("monthday", -4.882801922586371),
("monthyear", -4.59511985013459),
("intersecthh:mm", -5.288267030694535),
-5.308267697401205),
("dayhour", -2.9103724246028344),
("daymonth", -3.228826155721369),
("monthday", -4.9028025892930405),
("monthyear", -4.61512051684126),
("intersecthh:mm", -5.308267697401205),
("Easter Sundayyear", -5.308267697401205),
("from <datetime> - <datetime> (interval)July",
-5.288267030694535),
("houryear", -5.288267030694535),
-5.308267697401205),
("houryear", -5.308267697401205),
("from <time-of-day> - <time-of-day> (interval)July",
-5.288267030694535),
("until <time-of-day><time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("until <time-of-day><time-of-day> am|pm", -5.308267697401205),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.59511985013459),
("<time-of-day> am|pmintersect", -4.035504062199167),
-4.61512051684126),
("<time-of-day> am|pmintersect", -4.055504728905837),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.37197629882038),
("from|since|after <time-of-day>on <date>", -4.37197629882038),
-4.39197696552705),
("from|since|after <time-of-day>on <date>", -4.39197696552705),
("July<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("absorption of , after named dayJuly", -4.882801922586371),
("monthhour", -5.288267030694535),
("hourmonth", -4.59511985013459),
("todayat <time-of-day>", -5.288267030694535),
("from|since|after <time-of-day>July", -5.288267030694535),
("dayday", -4.882801922586371),
("dd/mmat <time-of-day>", -4.882801922586371),
("<time-of-day> am|pmon <date>", -4.035504062199167),
("Thursdaydd/mm", -5.288267030694535),
("dayyear", -4.035504062199167),
("Thursdayat <time-of-day>", -4.035504062199167),
-5.308267697401205),
("absorption of , after named dayJuly", -4.9028025892930405),
("monthhour", -5.308267697401205),
("hourmonth", -4.61512051684126),
("todayat <time-of-day>", -5.308267697401205),
("from|since|after <time-of-day>July", -5.308267697401205),
("dayday", -4.9028025892930405),
("dd/mmat <time-of-day>", -4.9028025892930405),
("<time-of-day> am|pmon <date>", -4.055504728905837),
("Thursdaydd/mm", -5.308267697401205),
("dayyear", -3.698829784967104),
("Sundayyear", -4.9028025892930405),
("Thursdayat <time-of-day>", -4.055504728905837),
("<integer> to|till|before <hour-of-day>September",
-5.288267030694535),
("monthminute", -5.288267030694535),
("<time-of-day> am|pmtomorrow", -5.288267030694535),
("Thursdayhh:mm", -4.37197629882038),
-5.308267697401205),
("monthminute", -5.308267697401205),
("<time-of-day> am|pmtomorrow", -5.308267697401205),
("Thursdayhh:mm", -4.39197696552705),
("August<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("Fridayyear", -4.882801922586371),
("minutemonth", -3.4965075614664802),
("Sundayfrom|since|after <time-of-day>", -5.288267030694535),
-5.308267697401205),
("Fridayyear", -4.9028025892930405),
("minutemonth", -3.5165082281731497),
("Sundayfrom|since|after <time-of-day>", -5.308267697401205),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.882801922586371),
-4.9028025892930405),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
("Aprilyear", -5.288267030694535),
-4.9028025892930405),
("Aprilyear", -5.308267697401205),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.288267030694535),
-5.308267697401205),
("dd/mm<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("<duration> after|before|from <time>December",
-5.288267030694535),
("yesterday<time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("yesterday<time-of-day> am|pm", -5.308267697401205),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.37197629882038),
-4.39197696552705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("<named-month> <day-of-month> (non ordinal)August",
-5.288267030694535),
("until <time-of-day>on <date>", -4.59511985013459),
("at <time-of-day>intersect", -4.882801922586371),
-5.308267697401205),
("until <time-of-day>on <date>", -4.61512051684126),
("at <time-of-day>intersect", -4.9028025892930405),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("dayminute", -2.7625383863862796),
("intersectSeptember", -3.784189633918261),
-5.308267697401205),
("dayminute", -2.7825390530929495),
("intersectSeptember", -3.804190300624931),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("minuteday", -2.3704962986102562),
-5.308267697401205),
("minuteday", -2.3904969653169257),
("absorption of , after named dayintersect",
-5.288267030694535),
("Februaryin|during the <part-of-day>", -5.288267030694535),
("week-endin <named-month>", -5.288267030694535),
("Octoberyear", -5.288267030694535),
("from|since|after <time-of-day>year", -5.288267030694535),
("yearhh:mm", -5.288267030694535),
("hh:mmon <date>", -3.784189633918261),
-5.308267697401205),
("Februaryin|during the <part-of-day>", -5.308267697401205),
("week-endin <named-month>", -5.308267697401205),
("Octoberyear", -5.308267697401205),
("from|since|after <time-of-day>year", -5.308267697401205),
("yearhh:mm", -5.308267697401205),
("hh:mmon <date>", -3.804190300624931),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.288267030694535),
("absorption of , after named daySeptember", -4.37197629882038),
("on <date>September", -4.882801922586371),
("at <time-of-day>on <date>", -4.882801922586371),
("dayweek", -5.288267030694535),
("Thursday<time-of-day> am|pm", -4.882801922586371),
("absorption of , after named dayFebruary", -4.37197629882038),
-5.308267697401205),
("absorption of , after named daySeptember", -4.39197696552705),
("on <date>September", -4.9028025892930405),
("at <time-of-day>on <date>", -4.9028025892930405),
("dayweek", -5.308267697401205),
("Thursday<time-of-day> am|pm", -4.9028025892930405),
("absorption of , after named dayFebruary", -4.39197696552705),
("July<integer> to|till|before <hour-of-day>",
-5.288267030694535),
("tomorrowat <time-of-day>", -5.288267030694535),
-5.308267697401205),
("tomorrowat <time-of-day>", -5.308267697401205),
("<integer> to|till|before <hour-of-day>July",
-5.288267030694535),
("Thursdayfrom|since|after <time-of-day>", -3.6788291182604347),
("tomorrow<time-of-day> am|pm", -5.288267030694535),
("Tuesdayfrom|since|after <time-of-day>", -5.288267030694535),
("yearminute", -5.288267030694535)],
n = 129}}),
-5.308267697401205),
("Thursdayfrom|since|after <time-of-day>", -3.698829784967104),
("tomorrow<time-of-day> am|pm", -5.308267697401205),
("Tuesdayfrom|since|after <time-of-day>", -5.308267697401205),
("yearminute", -5.308267697401205)],
n = 132}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1040,11 +1070,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1229,6 +1261,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1387,11 +1426,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 19}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1443,14 +1484,22 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.2578291093020998, unseen = -3.58351893845611,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 34},
ClassData{prior = -0.3011050927839216,
unseen = -3.7376696182833684,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.10265415406008334),
("intersect 2 numbers", -3.0204248861443626)],
n = 37},
koData =
ClassData{prior = -1.4816045409242156,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 10}}),
ClassData{prior = -1.3470736479666092, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.4353180712578455),
("intersect 2 numbers", -2.1400661634962708),
("powers of tens", -2.1400661634962708),
("compose by multiplication", -2.1400661634962708)],
n = 13}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1466,32 +1515,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1844,6 +1893,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1879,35 +1936,38 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2283,8 +2343,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2316,6 +2376,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("Thursdaydd/mm", -5.2574953720277815),
("dayyear", -4.004732403532413),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("Thursdaydd/mm", -5.278114659230518),
("dayyear", -3.6686767467964168),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("Thursdaydd/mm", -5.2574953720277815),
("dayyear", -4.004732403532413),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("Thursdaydd/mm", -5.278114659230518),
("dayyear", -3.6686767467964168),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("Thursdaydd/mm", -5.2574953720277815),
("dayyear", -4.004732403532413),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("Thursdaydd/mm", -5.278114659230518),
("dayyear", -3.6686767467964168),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("Thursdaydd/mm", -5.2574953720277815),
("dayyear", -4.004732403532413),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("Thursdaydd/mm", -5.278114659230518),
("dayyear", -3.6686767467964168),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("dayyear", -4.004732403532413),
("Thursdaymm/dd", -5.2574953720277815),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("dayyear", -3.6686767467964168),
("Thursdaymm/dd", -5.278114659230518),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1043,11 +1072,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("yesterday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("Thursdaydd/mm", -5.2574953720277815),
("dayyear", -4.004732403532413),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("Thursdaydd/mm", -5.278114659230518),
("dayyear", -3.6686767467964168),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,10 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7765287894989963, unseen = -5.225746673713201,
likelihoods = HashMap.fromList [("", 0.0)], n = 184},
ClassData{prior = -0.7707054149058198, unseen = -5.236441962829949,
likelihoods = HashMap.fromList [("", 0.0)], n = 186},
koData =
ClassData{prior = -0.616186139423817, unseen = -5.384495062789089,
ClassData{prior = -0.621173680934856, unseen = -5.384495062789089,
likelihoods = HashMap.fromList [("", 0.0)], n = 216}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +107,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +148,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +384,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +439,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,248 +626,252 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4957877464014501, unseen = -6.293419278846481,
ClassData{prior = -0.4989911661189879,
unseen = -6.3080984415095305,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.345658990503007),
-4.360365137892702),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.345658990503007),
("hourday", -3.8936738667599493),
("dayhour", -2.765208614942159),
("daymonth", -4.90527477843843),
("monthday", -5.19295685089021),
("monthyear", -3.9889840465642745),
("Tuesdaythe <day-of-month> (ordinal)", -5.598421958998375),
("Christmasyear", -5.598421958998375),
-4.360365137892702),
("hourday", -3.908380014149645),
("dayhour", -2.7799147623318543),
("daymonth", -4.919980925828125),
("monthday", -5.207662998279906),
("monthyear", -4.00369019395397),
("Tuesdaythe <day-of-month> (ordinal)", -5.6131281063880705),
("Easter Sundayyear", -4.919980925828125),
("Christmasyear", -5.6131281063880705),
("from <datetime> - <datetime> (interval)July",
-5.598421958998375),
("houryear", -5.598421958998375),
-5.6131281063880705),
("houryear", -5.6131281063880705),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
-5.6131281063880705),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.90527477843843),
("<time-of-day> am|pmintersect", -4.345658990503007),
-4.919980925828125),
("<time-of-day> am|pmintersect", -4.360365137892702),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.598421958998375),
("Marchyear", -5.598421958998375),
-5.6131281063880705),
("Marchyear", -5.6131281063880705),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.19295685089021),
("intersect<time-of-day> am|pm", -5.598421958998375),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.598421958998375),
("monthhour", -5.19295685089021),
("last <day-of-week> of <time>year", -5.598421958998375),
("todayat <time-of-day>", -5.598421958998375),
("Thursday<time> timezone", -3.8936738667599493),
-5.207662998279906),
("intersect<time-of-day> am|pm", -5.6131281063880705),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.6131281063880705),
("monthhour", -5.207662998279906),
("last <day-of-week> of <time>year", -5.6131281063880705),
("todayat <time-of-day>", -5.6131281063880705),
("Thursday<time> timezone", -3.908380014149645),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
("dayday", -3.58351893845611),
("Thanksgiving Dayyear", -4.499809670330265),
("<time> <part-of-day>at <time-of-day>", -5.598421958998375),
("Tuesdayin <named-month>", -5.598421958998375),
("mm/ddat <time-of-day>", -5.598421958998375),
("tonightat <time-of-day>", -5.598421958998375),
-5.6131281063880705),
("dayday", -3.5982250858458054),
("Thanksgiving Dayyear", -4.5145158177199605),
("<time> <part-of-day>at <time-of-day>", -5.6131281063880705),
("Tuesdayin <named-month>", -5.6131281063880705),
("mm/ddat <time-of-day>", -5.6131281063880705),
("tonightat <time-of-day>", -5.6131281063880705),
("<time-of-day> am|pmabsorption of , after named day",
-4.90527477843843),
("today<time-of-day> am|pm", -5.598421958998375),
("Februarythe <day-of-month> (ordinal)", -5.19295685089021),
("at <time-of-day><time> <part-of-day>", -5.598421958998375),
("mm/dd<time-of-day> am|pm", -5.598421958998375),
("hourhour", -4.345658990503007),
("<time-of-day> am|pmon <date>", -3.58351893845611),
("Wednesdaythis|last|next <cycle>", -5.598421958998375),
-4.919980925828125),
("today<time-of-day> am|pm", -5.6131281063880705),
("Februarythe <day-of-month> (ordinal)", -5.207662998279906),
("at <time-of-day><time> <part-of-day>", -5.6131281063880705),
("mm/dd<time-of-day> am|pm", -5.6131281063880705),
("hourhour", -4.360365137892702),
("<time-of-day> am|pmon <date>", -3.5982250858458054),
("Wednesdaythis|last|next <cycle>", -5.6131281063880705),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.0943445622221),
("dayyear", -3.1560749236291703),
("last weekend of <named-month>year", -5.598421958998375),
-4.109050709611796),
("dayyear", -3.0481787489265337),
("last weekend of <named-month>year", -5.6131281063880705),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.598421958998375),
("Thursdayat <time-of-day>", -5.19295685089021),
("<time-of-day> am|pmtomorrow", -4.90527477843843),
("minutehour", -4.68213122712422),
("Mother's Dayyear", -5.598421958998375),
-5.6131281063880705),
("Thursdayat <time-of-day>", -5.207662998279906),
("<time-of-day> am|pmtomorrow", -4.919980925828125),
("minutehour", -4.696837374513915),
("Mother's Dayyear", -5.6131281063880705),
("at <time-of-day>in|during the <part-of-day>",
-5.19295685089021),
-5.207662998279906),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.8936738667599493),
("for <duration> from <time>December", -5.598421958998375),
("tomorrow<time-of-day> sharp|exactly", -5.598421958998375),
-3.908380014149645),
("for <duration> from <time>December", -5.6131281063880705),
("tomorrow<time-of-day> sharp|exactly", -5.6131281063880705),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.19295685089021),
-5.207662998279906),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.68213122712422),
("Mondayin|during the <part-of-day>", -5.598421958998375),
-4.696837374513915),
("Mondayin|during the <part-of-day>", -5.6131281063880705),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.19295685089021),
("intersectin|during the <part-of-day>", -5.598421958998375),
-5.207662998279906),
("intersectin|during the <part-of-day>", -5.6131281063880705),
("Thursday<datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.345658990503007),
-4.360365137892702),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.90527477843843),
-4.919980925828125),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.68213122712422),
("at <time-of-day>intersect", -5.19295685089021),
-4.696837374513915),
("at <time-of-day>intersect", -5.207662998279906),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.598421958998375),
("dayminute", -2.924273309571846),
-5.6131281063880705),
("dayminute", -2.9389794569615417),
("from <datetime> - <datetime> (interval)on <date>",
-5.19295685089021),
-5.207662998279906),
("<datetime> - <datetime> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.19295685089021),
("<ordinal> <cycle> of <time>year", -5.598421958998375),
("minuteday", -2.132686056198648),
-5.207662998279906),
("<ordinal> <cycle> of <time>year", -5.6131281063880705),
("minuteday", -2.147392203588344),
("absorption of , after named dayintersect",
-5.598421958998375),
("Octoberyear", -4.345658990503007),
-5.6131281063880705),
("Octoberyear", -4.360365137892702),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>absorption of , after named day",
-5.598421958998375),
-5.6131281063880705),
("<day-of-month> (ordinal or number) <named-month>year",
-5.598421958998375),
("year<time-of-day> am|pm", -5.598421958998375),
("Septemberyear", -5.19295685089021),
("at <time-of-day>on <date>", -4.499809670330265),
-5.6131281063880705),
("year<time-of-day> am|pm", -5.6131281063880705),
("Septemberyear", -5.207662998279906),
("at <time-of-day>on <date>", -4.5145158177199605),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.90527477843843),
("Halloweenyear", -5.598421958998375),
("dayweek", -5.598421958998375),
("Thursday<time-of-day> am|pm", -5.598421958998375),
("weekyear", -5.19295685089021),
("hh:mmin|during the <part-of-day>", -4.90527477843843),
("Father's Dayyear", -5.598421958998375),
-4.919980925828125),
("Halloweenyear", -5.6131281063880705),
("dayweek", -5.6131281063880705),
("Thursday<time-of-day> am|pm", -5.6131281063880705),
("weekyear", -5.207662998279906),
("hh:mmin|during the <part-of-day>", -4.919980925828125),
("Father's Dayyear", -5.6131281063880705),
("<cycle> after|before <time><time-of-day> am|pm",
-5.19295685089021),
("February<time> <part-of-day>", -5.598421958998375),
("Martin Luther King's Dayyear", -5.19295685089021),
("tomorrowat <time-of-day>", -4.90527477843843),
("between <time> and <time>on <date>", -4.90527477843843),
("Thursdayfrom|since|after <time-of-day>", -4.90527477843843),
("at <time-of-day>tomorrow", -5.19295685089021),
("tomorrow<time-of-day> am|pm", -5.598421958998375),
-5.207662998279906),
("February<time> <part-of-day>", -5.6131281063880705),
("Martin Luther King's Dayyear", -5.207662998279906),
("tomorrowat <time-of-day>", -4.919980925828125),
("between <time> and <time>on <date>", -4.919980925828125),
("Thursdayfrom|since|after <time-of-day>", -4.919980925828125),
("at <time-of-day>tomorrow", -5.207662998279906),
("tomorrow<time-of-day> am|pm", -5.6131281063880705),
("in|during the <part-of-day>at <time-of-day>",
-5.598421958998375),
("Labor Dayyear", -5.598421958998375),
("Februaryintersect", -5.598421958998375),
("last <cycle> of <time>year", -4.90527477843843),
-5.6131281063880705),
("Labor Dayyear", -5.6131281063880705),
("Februaryintersect", -5.6131281063880705),
("last <cycle> of <time>year", -4.919980925828125),
("<named-month> <day-of-month> (non ordinal)year",
-5.598421958998375),
("yearminute", -5.598421958998375),
("Black Fridayyear", -5.19295685089021)],
n = 201},
-5.6131281063880705),
("yearminute", -5.6131281063880705),
("Black Fridayyear", -5.207662998279906)],
n = 204},
koData =
ClassData{prior = -0.9392802500988537, unseen = -5.983936280687191,
ClassData{prior = -0.9343092373768334, unseen = -6.003887067106539,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.288267030694535),
[("in <named-month>year", -5.308267697401205),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.288267030694535),
("hourday", -5.288267030694535),
-5.308267697401205),
("hourday", -5.308267697401205),
("<named-month> <day-of-month> (non ordinal)July",
-5.288267030694535),
("dayhour", -2.890371757896165),
("daymonth", -3.2088254890146994),
("monthday", -4.882801922586371),
("monthyear", -4.59511985013459),
("intersecthh:mm", -5.288267030694535),
-5.308267697401205),
("dayhour", -2.9103724246028344),
("daymonth", -3.228826155721369),
("monthday", -4.9028025892930405),
("monthyear", -4.61512051684126),
("intersecthh:mm", -5.308267697401205),
("Easter Sundayyear", -5.308267697401205),
("from <datetime> - <datetime> (interval)July",
-5.288267030694535),
("houryear", -5.288267030694535),
-5.308267697401205),
("houryear", -5.308267697401205),
("from <time-of-day> - <time-of-day> (interval)July",
-5.288267030694535),
("until <time-of-day><time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("until <time-of-day><time-of-day> am|pm", -5.308267697401205),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.59511985013459),
("<time-of-day> am|pmintersect", -4.035504062199167),
-4.61512051684126),
("<time-of-day> am|pmintersect", -4.055504728905837),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.37197629882038),
("from|since|after <time-of-day>on <date>", -4.37197629882038),
-4.39197696552705),
("from|since|after <time-of-day>on <date>", -4.39197696552705),
("July<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("absorption of , after named dayJuly", -4.882801922586371),
("monthhour", -5.288267030694535),
("hourmonth", -4.59511985013459),
("todayat <time-of-day>", -5.288267030694535),
("from|since|after <time-of-day>July", -5.288267030694535),
("dayday", -4.882801922586371),
("mm/ddat <time-of-day>", -4.882801922586371),
("<time-of-day> am|pmon <date>", -4.035504062199167),
("dayyear", -4.035504062199167),
("Thursdaymm/dd", -5.288267030694535),
("Thursdayat <time-of-day>", -4.035504062199167),
-5.308267697401205),
("absorption of , after named dayJuly", -4.9028025892930405),
("monthhour", -5.308267697401205),
("hourmonth", -4.61512051684126),
("todayat <time-of-day>", -5.308267697401205),
("from|since|after <time-of-day>July", -5.308267697401205),
("dayday", -4.9028025892930405),
("mm/ddat <time-of-day>", -4.9028025892930405),
("<time-of-day> am|pmon <date>", -4.055504728905837),
("dayyear", -3.698829784967104),
("Thursdaymm/dd", -5.308267697401205),
("Sundayyear", -4.9028025892930405),
("Thursdayat <time-of-day>", -4.055504728905837),
("<integer> to|till|before <hour-of-day>September",
-5.288267030694535),
("monthminute", -5.288267030694535),
("<time-of-day> am|pmtomorrow", -5.288267030694535),
("Thursdayhh:mm", -4.37197629882038),
-5.308267697401205),
("monthminute", -5.308267697401205),
("<time-of-day> am|pmtomorrow", -5.308267697401205),
("Thursdayhh:mm", -4.39197696552705),
("August<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("Fridayyear", -4.882801922586371),
("minutemonth", -3.4965075614664802),
("Sundayfrom|since|after <time-of-day>", -5.288267030694535),
-5.308267697401205),
("Fridayyear", -4.9028025892930405),
("minutemonth", -3.5165082281731497),
("Sundayfrom|since|after <time-of-day>", -5.308267697401205),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.882801922586371),
-4.9028025892930405),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
("Aprilyear", -5.288267030694535),
-4.9028025892930405),
("Aprilyear", -5.308267697401205),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.288267030694535),
-5.308267697401205),
("<duration> after|before|from <time>December",
-5.288267030694535),
("yesterday<time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("yesterday<time-of-day> am|pm", -5.308267697401205),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.37197629882038),
-4.39197696552705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("<named-month> <day-of-month> (non ordinal)August",
-5.288267030694535),
("until <time-of-day>on <date>", -4.59511985013459),
("at <time-of-day>intersect", -4.882801922586371),
-5.308267697401205),
("until <time-of-day>on <date>", -4.61512051684126),
("at <time-of-day>intersect", -4.9028025892930405),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("dayminute", -2.7625383863862796),
("intersectSeptember", -3.784189633918261),
-5.308267697401205),
("dayminute", -2.7825390530929495),
("intersectSeptember", -3.804190300624931),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("minuteday", -2.3704962986102562),
-5.308267697401205),
("minuteday", -2.3904969653169257),
("absorption of , after named dayintersect",
-5.288267030694535),
("Februaryin|during the <part-of-day>", -5.288267030694535),
("week-endin <named-month>", -5.288267030694535),
("Octoberyear", -5.288267030694535),
("from|since|after <time-of-day>year", -5.288267030694535),
("yearhh:mm", -5.288267030694535),
("hh:mmon <date>", -3.784189633918261),
-5.308267697401205),
("Februaryin|during the <part-of-day>", -5.308267697401205),
("week-endin <named-month>", -5.308267697401205),
("Octoberyear", -5.308267697401205),
("from|since|after <time-of-day>year", -5.308267697401205),
("yearhh:mm", -5.308267697401205),
("hh:mmon <date>", -3.804190300624931),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.288267030694535),
("absorption of , after named daySeptember", -4.37197629882038),
("on <date>September", -4.882801922586371),
("at <time-of-day>on <date>", -4.882801922586371),
("dayweek", -5.288267030694535),
("Thursday<time-of-day> am|pm", -4.882801922586371),
("absorption of , after named dayFebruary", -4.37197629882038),
-5.308267697401205),
("absorption of , after named daySeptember", -4.39197696552705),
("on <date>September", -4.9028025892930405),
("at <time-of-day>on <date>", -4.9028025892930405),
("dayweek", -5.308267697401205),
("Thursday<time-of-day> am|pm", -4.9028025892930405),
("absorption of , after named dayFebruary", -4.39197696552705),
("July<integer> to|till|before <hour-of-day>",
-5.288267030694535),
("tomorrowat <time-of-day>", -5.288267030694535),
-5.308267697401205),
("tomorrowat <time-of-day>", -5.308267697401205),
("<integer> to|till|before <hour-of-day>July",
-5.288267030694535),
("Thursdayfrom|since|after <time-of-day>", -3.6788291182604347),
("tomorrow<time-of-day> am|pm", -5.288267030694535),
("Tuesdayfrom|since|after <time-of-day>", -5.288267030694535),
("yearminute", -5.288267030694535)],
n = 129}}),
-5.308267697401205),
("Thursdayfrom|since|after <time-of-day>", -3.698829784967104),
("tomorrow<time-of-day> am|pm", -5.308267697401205),
("Tuesdayfrom|since|after <time-of-day>", -5.308267697401205),
("yearminute", -5.308267697401205)],
n = 132}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1047,11 +1077,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("yesterday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
@ -1229,6 +1261,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1387,11 +1426,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 17}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1443,13 +1484,22 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.23483959107740107, unseen = -3.58351893845611,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 34},
ClassData{prior = -0.2809023854664022,
unseen = -3.7376696182833684,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.10265415406008334),
("intersect 2 numbers", -3.0204248861443626)],
n = 37},
koData =
ClassData{prior = -1.563975538357343, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 9}}),
ClassData{prior = -1.4069136483226263, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.4700036292457356),
("intersect 2 numbers", -2.0794415416798357),
("powers of tens", -2.0794415416798357),
("compose by multiplication", -2.0794415416798357)],
n = 12}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1465,32 +1515,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1843,6 +1893,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1878,35 +1936,38 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2282,8 +2343,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2315,6 +2376,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,10 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7765287894989963, unseen = -5.225746673713201,
likelihoods = HashMap.fromList [("", 0.0)], n = 184},
ClassData{prior = -0.7707054149058198, unseen = -5.236441962829949,
likelihoods = HashMap.fromList [("", 0.0)], n = 186},
koData =
ClassData{prior = -0.616186139423817, unseen = -5.384495062789089,
ClassData{prior = -0.621173680934856, unseen = -5.384495062789089,
likelihoods = HashMap.fromList [("", 0.0)], n = 216}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +107,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +148,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +384,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +439,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,248 +626,252 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4957877464014501, unseen = -6.293419278846481,
ClassData{prior = -0.4989911661189879,
unseen = -6.3080984415095305,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.345658990503007),
-4.360365137892702),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.345658990503007),
("hourday", -3.8936738667599493),
("dayhour", -2.765208614942159),
("daymonth", -4.90527477843843),
("monthday", -5.19295685089021),
("monthyear", -3.9889840465642745),
("Tuesdaythe <day-of-month> (ordinal)", -5.598421958998375),
("Christmasyear", -5.598421958998375),
-4.360365137892702),
("hourday", -3.908380014149645),
("dayhour", -2.7799147623318543),
("daymonth", -4.919980925828125),
("monthday", -5.207662998279906),
("monthyear", -4.00369019395397),
("Tuesdaythe <day-of-month> (ordinal)", -5.6131281063880705),
("Easter Sundayyear", -4.919980925828125),
("Christmasyear", -5.6131281063880705),
("from <datetime> - <datetime> (interval)July",
-5.598421958998375),
("houryear", -5.598421958998375),
-5.6131281063880705),
("houryear", -5.6131281063880705),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
-5.6131281063880705),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.90527477843843),
("<time-of-day> am|pmintersect", -4.345658990503007),
-4.919980925828125),
("<time-of-day> am|pmintersect", -4.360365137892702),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.598421958998375),
("Marchyear", -5.598421958998375),
-5.6131281063880705),
("Marchyear", -5.6131281063880705),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.19295685089021),
("intersect<time-of-day> am|pm", -5.598421958998375),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.598421958998375),
("monthhour", -5.19295685089021),
("last <day-of-week> of <time>year", -5.598421958998375),
("todayat <time-of-day>", -5.598421958998375),
("Thursday<time> timezone", -3.8936738667599493),
-5.207662998279906),
("intersect<time-of-day> am|pm", -5.6131281063880705),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.6131281063880705),
("monthhour", -5.207662998279906),
("last <day-of-week> of <time>year", -5.6131281063880705),
("todayat <time-of-day>", -5.6131281063880705),
("Thursday<time> timezone", -3.908380014149645),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.598421958998375),
("dayday", -3.58351893845611),
("Thanksgiving Dayyear", -4.499809670330265),
("<time> <part-of-day>at <time-of-day>", -5.598421958998375),
("Tuesdayin <named-month>", -5.598421958998375),
("mm/ddat <time-of-day>", -5.598421958998375),
("tonightat <time-of-day>", -5.598421958998375),
-5.6131281063880705),
("dayday", -3.5982250858458054),
("Thanksgiving Dayyear", -4.5145158177199605),
("<time> <part-of-day>at <time-of-day>", -5.6131281063880705),
("Tuesdayin <named-month>", -5.6131281063880705),
("mm/ddat <time-of-day>", -5.6131281063880705),
("tonightat <time-of-day>", -5.6131281063880705),
("<time-of-day> am|pmabsorption of , after named day",
-4.90527477843843),
("today<time-of-day> am|pm", -5.598421958998375),
("Februarythe <day-of-month> (ordinal)", -5.19295685089021),
("at <time-of-day><time> <part-of-day>", -5.598421958998375),
("mm/dd<time-of-day> am|pm", -5.598421958998375),
("hourhour", -4.345658990503007),
("<time-of-day> am|pmon <date>", -3.58351893845611),
("Wednesdaythis|last|next <cycle>", -5.598421958998375),
-4.919980925828125),
("today<time-of-day> am|pm", -5.6131281063880705),
("Februarythe <day-of-month> (ordinal)", -5.207662998279906),
("at <time-of-day><time> <part-of-day>", -5.6131281063880705),
("mm/dd<time-of-day> am|pm", -5.6131281063880705),
("hourhour", -4.360365137892702),
("<time-of-day> am|pmon <date>", -3.5982250858458054),
("Wednesdaythis|last|next <cycle>", -5.6131281063880705),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.0943445622221),
("dayyear", -3.1560749236291703),
("last weekend of <named-month>year", -5.598421958998375),
-4.109050709611796),
("dayyear", -3.0481787489265337),
("last weekend of <named-month>year", -5.6131281063880705),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.598421958998375),
("Thursdayat <time-of-day>", -5.19295685089021),
("<time-of-day> am|pmtomorrow", -4.90527477843843),
("minutehour", -4.68213122712422),
("Mother's Dayyear", -5.598421958998375),
-5.6131281063880705),
("Thursdayat <time-of-day>", -5.207662998279906),
("<time-of-day> am|pmtomorrow", -4.919980925828125),
("minutehour", -4.696837374513915),
("Mother's Dayyear", -5.6131281063880705),
("at <time-of-day>in|during the <part-of-day>",
-5.19295685089021),
-5.207662998279906),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.8936738667599493),
("for <duration> from <time>December", -5.598421958998375),
("tomorrow<time-of-day> sharp|exactly", -5.598421958998375),
-3.908380014149645),
("for <duration> from <time>December", -5.6131281063880705),
("tomorrow<time-of-day> sharp|exactly", -5.6131281063880705),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.19295685089021),
-5.207662998279906),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.68213122712422),
("Mondayin|during the <part-of-day>", -5.598421958998375),
-4.696837374513915),
("Mondayin|during the <part-of-day>", -5.6131281063880705),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.19295685089021),
("intersectin|during the <part-of-day>", -5.598421958998375),
-5.207662998279906),
("intersectin|during the <part-of-day>", -5.6131281063880705),
("Thursday<datetime> - <datetime> (interval)",
-4.68213122712422),
-4.696837374513915),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.345658990503007),
-4.360365137892702),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.90527477843843),
-4.919980925828125),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.68213122712422),
("at <time-of-day>intersect", -5.19295685089021),
-4.696837374513915),
("at <time-of-day>intersect", -5.207662998279906),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.598421958998375),
("dayminute", -2.924273309571846),
-5.6131281063880705),
("dayminute", -2.9389794569615417),
("from <datetime> - <datetime> (interval)on <date>",
-5.19295685089021),
-5.207662998279906),
("<datetime> - <datetime> (interval)tomorrow",
-5.598421958998375),
-5.6131281063880705),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.19295685089021),
("<ordinal> <cycle> of <time>year", -5.598421958998375),
("minuteday", -2.132686056198648),
-5.207662998279906),
("<ordinal> <cycle> of <time>year", -5.6131281063880705),
("minuteday", -2.147392203588344),
("absorption of , after named dayintersect",
-5.598421958998375),
("Octoberyear", -4.345658990503007),
-5.6131281063880705),
("Octoberyear", -4.360365137892702),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.598421958998375),
-5.6131281063880705),
("at <time-of-day>absorption of , after named day",
-5.598421958998375),
-5.6131281063880705),
("<day-of-month> (ordinal or number) <named-month>year",
-5.598421958998375),
("year<time-of-day> am|pm", -5.598421958998375),
("Septemberyear", -5.19295685089021),
("at <time-of-day>on <date>", -4.499809670330265),
-5.6131281063880705),
("year<time-of-day> am|pm", -5.6131281063880705),
("Septemberyear", -5.207662998279906),
("at <time-of-day>on <date>", -4.5145158177199605),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.90527477843843),
("Halloweenyear", -5.598421958998375),
("dayweek", -5.598421958998375),
("Thursday<time-of-day> am|pm", -5.598421958998375),
("weekyear", -5.19295685089021),
("hh:mmin|during the <part-of-day>", -4.90527477843843),
("Father's Dayyear", -5.598421958998375),
-4.919980925828125),
("Halloweenyear", -5.6131281063880705),
("dayweek", -5.6131281063880705),
("Thursday<time-of-day> am|pm", -5.6131281063880705),
("weekyear", -5.207662998279906),
("hh:mmin|during the <part-of-day>", -4.919980925828125),
("Father's Dayyear", -5.6131281063880705),
("<cycle> after|before <time><time-of-day> am|pm",
-5.19295685089021),
("February<time> <part-of-day>", -5.598421958998375),
("Martin Luther King's Dayyear", -5.19295685089021),
("tomorrowat <time-of-day>", -4.90527477843843),
("between <time> and <time>on <date>", -4.90527477843843),
("Thursdayfrom|since|after <time-of-day>", -4.90527477843843),
("at <time-of-day>tomorrow", -5.19295685089021),
("tomorrow<time-of-day> am|pm", -5.598421958998375),
-5.207662998279906),
("February<time> <part-of-day>", -5.6131281063880705),
("Martin Luther King's Dayyear", -5.207662998279906),
("tomorrowat <time-of-day>", -4.919980925828125),
("between <time> and <time>on <date>", -4.919980925828125),
("Thursdayfrom|since|after <time-of-day>", -4.919980925828125),
("at <time-of-day>tomorrow", -5.207662998279906),
("tomorrow<time-of-day> am|pm", -5.6131281063880705),
("in|during the <part-of-day>at <time-of-day>",
-5.598421958998375),
("Labor Dayyear", -5.598421958998375),
("Februaryintersect", -5.598421958998375),
("last <cycle> of <time>year", -4.90527477843843),
-5.6131281063880705),
("Labor Dayyear", -5.6131281063880705),
("Februaryintersect", -5.6131281063880705),
("last <cycle> of <time>year", -4.919980925828125),
("<named-month> <day-of-month> (non ordinal)year",
-5.598421958998375),
("yearminute", -5.598421958998375),
("Black Fridayyear", -5.19295685089021)],
n = 201},
-5.6131281063880705),
("yearminute", -5.6131281063880705),
("Black Fridayyear", -5.207662998279906)],
n = 204},
koData =
ClassData{prior = -0.9392802500988537, unseen = -5.983936280687191,
ClassData{prior = -0.9343092373768334, unseen = -6.003887067106539,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.288267030694535),
[("in <named-month>year", -5.308267697401205),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.288267030694535),
("hourday", -5.288267030694535),
-5.308267697401205),
("hourday", -5.308267697401205),
("<named-month> <day-of-month> (non ordinal)July",
-5.288267030694535),
("dayhour", -2.890371757896165),
("daymonth", -3.2088254890146994),
("monthday", -4.882801922586371),
("monthyear", -4.59511985013459),
("intersecthh:mm", -5.288267030694535),
-5.308267697401205),
("dayhour", -2.9103724246028344),
("daymonth", -3.228826155721369),
("monthday", -4.9028025892930405),
("monthyear", -4.61512051684126),
("intersecthh:mm", -5.308267697401205),
("Easter Sundayyear", -5.308267697401205),
("from <datetime> - <datetime> (interval)July",
-5.288267030694535),
("houryear", -5.288267030694535),
-5.308267697401205),
("houryear", -5.308267697401205),
("from <time-of-day> - <time-of-day> (interval)July",
-5.288267030694535),
("until <time-of-day><time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("until <time-of-day><time-of-day> am|pm", -5.308267697401205),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.59511985013459),
("<time-of-day> am|pmintersect", -4.035504062199167),
-4.61512051684126),
("<time-of-day> am|pmintersect", -4.055504728905837),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.37197629882038),
("from|since|after <time-of-day>on <date>", -4.37197629882038),
-4.39197696552705),
("from|since|after <time-of-day>on <date>", -4.39197696552705),
("July<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("absorption of , after named dayJuly", -4.882801922586371),
("monthhour", -5.288267030694535),
("hourmonth", -4.59511985013459),
("todayat <time-of-day>", -5.288267030694535),
("from|since|after <time-of-day>July", -5.288267030694535),
("dayday", -4.882801922586371),
("mm/ddat <time-of-day>", -4.882801922586371),
("<time-of-day> am|pmon <date>", -4.035504062199167),
("dayyear", -4.035504062199167),
("Thursdaymm/dd", -5.288267030694535),
("Thursdayat <time-of-day>", -4.035504062199167),
-5.308267697401205),
("absorption of , after named dayJuly", -4.9028025892930405),
("monthhour", -5.308267697401205),
("hourmonth", -4.61512051684126),
("todayat <time-of-day>", -5.308267697401205),
("from|since|after <time-of-day>July", -5.308267697401205),
("dayday", -4.9028025892930405),
("mm/ddat <time-of-day>", -4.9028025892930405),
("<time-of-day> am|pmon <date>", -4.055504728905837),
("dayyear", -3.698829784967104),
("Thursdaymm/dd", -5.308267697401205),
("Sundayyear", -4.9028025892930405),
("Thursdayat <time-of-day>", -4.055504728905837),
("<integer> to|till|before <hour-of-day>September",
-5.288267030694535),
("monthminute", -5.288267030694535),
("<time-of-day> am|pmtomorrow", -5.288267030694535),
("Thursdayhh:mm", -4.37197629882038),
-5.308267697401205),
("monthminute", -5.308267697401205),
("<time-of-day> am|pmtomorrow", -5.308267697401205),
("Thursdayhh:mm", -4.39197696552705),
("August<day-of-month> (ordinal or number) <named-month>",
-5.288267030694535),
("Fridayyear", -4.882801922586371),
("minutemonth", -3.4965075614664802),
("Sundayfrom|since|after <time-of-day>", -5.288267030694535),
-5.308267697401205),
("Fridayyear", -4.9028025892930405),
("minutemonth", -3.5165082281731497),
("Sundayfrom|since|after <time-of-day>", -5.308267697401205),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.882801922586371),
-4.9028025892930405),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
("Aprilyear", -5.288267030694535),
-4.9028025892930405),
("Aprilyear", -5.308267697401205),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.288267030694535),
-5.308267697401205),
("<duration> after|before|from <time>December",
-5.288267030694535),
("yesterday<time-of-day> am|pm", -5.288267030694535),
-5.308267697401205),
("yesterday<time-of-day> am|pm", -5.308267697401205),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.37197629882038),
-4.39197696552705),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.882801922586371),
-4.9028025892930405),
("<named-month> <day-of-month> (non ordinal)August",
-5.288267030694535),
("until <time-of-day>on <date>", -4.59511985013459),
("at <time-of-day>intersect", -4.882801922586371),
-5.308267697401205),
("until <time-of-day>on <date>", -4.61512051684126),
("at <time-of-day>intersect", -4.9028025892930405),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("dayminute", -2.7625383863862796),
("intersectSeptember", -3.784189633918261),
-5.308267697401205),
("dayminute", -2.7825390530929495),
("intersectSeptember", -3.804190300624931),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.288267030694535),
("minuteday", -2.3704962986102562),
-5.308267697401205),
("minuteday", -2.3904969653169257),
("absorption of , after named dayintersect",
-5.288267030694535),
("Februaryin|during the <part-of-day>", -5.288267030694535),
("week-endin <named-month>", -5.288267030694535),
("Octoberyear", -5.288267030694535),
("from|since|after <time-of-day>year", -5.288267030694535),
("yearhh:mm", -5.288267030694535),
("hh:mmon <date>", -3.784189633918261),
-5.308267697401205),
("Februaryin|during the <part-of-day>", -5.308267697401205),
("week-endin <named-month>", -5.308267697401205),
("Octoberyear", -5.308267697401205),
("from|since|after <time-of-day>year", -5.308267697401205),
("yearhh:mm", -5.308267697401205),
("hh:mmon <date>", -3.804190300624931),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.288267030694535),
("absorption of , after named daySeptember", -4.37197629882038),
("on <date>September", -4.882801922586371),
("at <time-of-day>on <date>", -4.882801922586371),
("dayweek", -5.288267030694535),
("Thursday<time-of-day> am|pm", -4.882801922586371),
("absorption of , after named dayFebruary", -4.37197629882038),
-5.308267697401205),
("absorption of , after named daySeptember", -4.39197696552705),
("on <date>September", -4.9028025892930405),
("at <time-of-day>on <date>", -4.9028025892930405),
("dayweek", -5.308267697401205),
("Thursday<time-of-day> am|pm", -4.9028025892930405),
("absorption of , after named dayFebruary", -4.39197696552705),
("July<integer> to|till|before <hour-of-day>",
-5.288267030694535),
("tomorrowat <time-of-day>", -5.288267030694535),
-5.308267697401205),
("tomorrowat <time-of-day>", -5.308267697401205),
("<integer> to|till|before <hour-of-day>July",
-5.288267030694535),
("Thursdayfrom|since|after <time-of-day>", -3.6788291182604347),
("tomorrow<time-of-day> am|pm", -5.288267030694535),
("Tuesdayfrom|since|after <time-of-day>", -5.288267030694535),
("yearminute", -5.288267030694535)],
n = 129}}),
-5.308267697401205),
("Thursdayfrom|since|after <time-of-day>", -3.698829784967104),
("tomorrow<time-of-day> am|pm", -5.308267697401205),
("Tuesdayfrom|since|after <time-of-day>", -5.308267697401205),
("yearminute", -5.308267697401205)],
n = 132}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1047,11 +1077,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("yesterday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
@ -1229,6 +1261,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1387,11 +1426,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 17}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1443,13 +1484,22 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.23483959107740107, unseen = -3.58351893845611,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 34},
ClassData{prior = -0.2809023854664022,
unseen = -3.7376696182833684,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.10265415406008334),
("intersect 2 numbers", -3.0204248861443626)],
n = 37},
koData =
ClassData{prior = -1.563975538357343, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 9}}),
ClassData{prior = -1.4069136483226263, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.4700036292457356),
("intersect 2 numbers", -2.0794415416798357),
("powers of tens", -2.0794415416798357),
("compose by multiplication", -2.0794415416798357)],
n = 12}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1465,32 +1515,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1843,6 +1893,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1878,35 +1936,38 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2282,8 +2343,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2315,6 +2376,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

View File

@ -60,10 +60,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7234108381997723, unseen = -5.198497031265826,
likelihoods = HashMap.fromList [("", 0.0)], n = 179},
ClassData{prior = -0.7177050313416093, unseen = -5.209486152841421,
likelihoods = HashMap.fromList [("", 0.0)], n = 181},
koData =
ClassData{prior = -0.663772571880041, unseen = -5.2574953720277815,
ClassData{prior = -0.6691779904469489,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -107,22 +108,31 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after|before <time>",
Classifier{okData =
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day (grain)tomorrow", -1.6094379124341003),
("dayday", -1.0986122886681098),
("day (grain)yesterday", -1.6094379124341003)],
[("day (grain)tomorrow", -1.6739764335716716),
("dayday", -1.1631508098056809),
("day (grain)yesterday", -1.6739764335716716)],
n = 4},
koData =
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
ClassData{prior = -0.6931471805599453, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("dayhour", -1.466337068793427),
("year (grain)Christmas", -1.8718021769015913),
("day (grain)intersect", -1.466337068793427),
("yearday", -1.8718021769015913)],
n = 3}}),
[("dayhour", -1.6739764335716716),
("year (grain)Christmas", -2.0794415416798357),
("dayday", -2.0794415416798357),
("day (grain)intersect", -1.6739764335716716),
("day (grain)Easter Sunday", -2.0794415416798357),
("yearday", -2.0794415416798357)],
n = 4}}),
("Easter Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Martin Luther King's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -139,6 +149,22 @@ classifiers
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("intersect 2 numbers",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("compose by multiplicationinteger (0..19)",
-0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList
[("powers of tensinteger (0..19)", -0.40546510810816444)],
n = 1}}),
("mm/yyyy",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
@ -359,11 +385,11 @@ classifiers
n = 4}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
ClassData{prior = -0.12516314295400605,
unseen = -3.8501476017100584,
likelihoods = HashMap.fromList [("", 0.0)], n = 45},
koData =
ClassData{prior = -2.0794415416798357,
ClassData{prior = -2.1400661634962708,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("between <time-of-day> and <time-of-day> (interval)",
@ -414,48 +440,49 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("from|since|after <time-of-day>",
Classifier{okData =
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
ClassData{prior = -1.5198257537444133, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("July", -3.3141860046725258),
("time-of-day (latent)", -2.3978952727983707),
("<time-of-day> am|pm", -2.3978952727983707),
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
("month", -2.908720896564361), ("minute", -2.3978952727983707),
("August", -3.3141860046725258)],
[("July", -3.332204510175204),
("time-of-day (latent)", -2.4159137783010487),
("<time-of-day> am|pm", -2.4159137783010487),
("hh:mm", -2.4159137783010487), ("hour", -1.8281271133989299),
("month", -2.9267394020670396), ("minute", -2.4159137783010487),
("August", -3.332204510175204)],
n = 14},
koData =
ClassData{prior = -0.25131442828090605,
unseen = -4.836281906951478,
ClassData{prior = -0.24686007793152578,
unseen = -4.859812404361672,
likelihoods =
HashMap.fromList
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
("week", -4.135166556742356),
[("<integer> to|till|before <hour-of-day>", -3.7534179752515073),
("week", -4.1588830833596715),
("<day-of-month> (ordinal or number) <named-month>",
-4.135166556742356),
("today", -4.135166556742356),
("intersect", -2.7488721956224653),
("second", -4.135166556742356), ("now", -3.4420193761824103),
("tomorrow", -3.7297014486341915),
("this|last|next <cycle>", -4.135166556742356),
("day", -1.995100393246085),
("time-of-day (latent)", -4.135166556742356),
("<time-of-day> am|pm", -3.7297014486341915),
("nograin", -3.4420193761824103),
-4.1588830833596715),
("today", -4.1588830833596715),
("intersect", -2.772588722239781),
("second", -4.1588830833596715), ("now", -3.4657359027997265),
("tomorrow", -3.7534179752515073),
("this|last|next <cycle>", -4.1588830833596715),
("day", -1.9616585060234524),
("time-of-day (latent)", -4.1588830833596715),
("<time-of-day> am|pm", -3.7534179752515073),
("nograin", -3.4657359027997265),
("<named-month>|<named-day> <day-of-month> (ordinal)",
-4.135166556742356),
("Christmas", -3.4420193761824103),
("hour", -2.8824035882469876),
("<datetime> - <datetime> (interval)", -2.7488721956224653),
-4.1588830833596715),
("Easter Sunday", -4.1588830833596715),
("Christmas", -3.4657359027997265),
("hour", -2.906120114864304),
("<datetime> - <datetime> (interval)", -2.772588722239781),
("<time-of-day> - <time-of-day> (interval)",
-2.430418464503931),
-2.4541349911212467),
("<named-month> <day-of-month> (non ordinal)",
-3.7297014486341915),
("minute", -1.6928195213731514),
("right now", -4.135166556742356),
("<month> dd-dd (interval)", -3.4420193761824103),
("dd-dd <month> (interval)", -3.7297014486341915)],
n = 49}}),
-3.7534179752515073),
("minute", -1.7165360479904674),
("right now", -4.1588830833596715),
("<month> dd-dd (interval)", -3.4657359027997265),
("dd-dd <month> (interval)", -3.7534179752515073)],
n = 50}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -600,244 +627,246 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49733294372151654,
unseen = -6.259581464064923,
ClassData{prior = -0.500621453591749, unseen = -6.274762021241939,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.311757438827326),
-4.326966857490854),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.311757438827326),
("hourday", -3.859772315084268),
("dayhour", -2.7313070632664775),
("daymonth", -4.871373226762748),
("monthday", -5.159055299214529),
("monthyear", -3.955082494888593),
("Tuesdaythe <day-of-month> (ordinal)", -5.564520407322694),
("Christmasyear", -5.564520407322694),
-4.326966857490854),
("hourday", -3.874981733747797),
("dayhour", -2.7465164819300063),
("daymonth", -4.886582645426277),
("monthday", -5.174264717878058),
("monthyear", -3.970291913552122),
("Tuesdaythe <day-of-month> (ordinal)", -5.579729825986222),
("Easter Sundayyear", -4.886582645426277),
("Christmasyear", -5.579729825986222),
("from <datetime> - <datetime> (interval)July",
-5.564520407322694),
("houryear", -5.564520407322694),
-5.579729825986222),
("houryear", -5.579729825986222),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
-5.579729825986222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.871373226762748),
("<time-of-day> am|pmintersect", -4.311757438827326),
-4.886582645426277),
("<time-of-day> am|pmintersect", -4.326966857490854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.564520407322694),
("Marchyear", -5.564520407322694),
-5.579729825986222),
("Marchyear", -5.579729825986222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.159055299214529),
("intersect<time-of-day> am|pm", -5.564520407322694),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.564520407322694),
("monthhour", -5.159055299214529),
("last <day-of-week> of <time>year", -5.564520407322694),
("todayat <time-of-day>", -5.564520407322694),
("Thursday<time> timezone", -3.859772315084268),
-5.174264717878058),
("intersect<time-of-day> am|pm", -5.579729825986222),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.579729825986222),
("monthhour", -5.174264717878058),
("last <day-of-week> of <time>year", -5.579729825986222),
("todayat <time-of-day>", -5.579729825986222),
("Thursday<time> timezone", -3.874981733747797),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.564520407322694),
("dayday", -3.5496173867804286),
("<time> <part-of-day>at <time-of-day>", -5.564520407322694),
("Tuesdayin <named-month>", -5.564520407322694),
("tonightat <time-of-day>", -5.564520407322694),
-5.579729825986222),
("dayday", -3.5648268054439574),
("<time> <part-of-day>at <time-of-day>", -5.579729825986222),
("Tuesdayin <named-month>", -5.579729825986222),
("tonightat <time-of-day>", -5.579729825986222),
("<time-of-day> am|pmabsorption of , after named day",
-4.871373226762748),
("today<time-of-day> am|pm", -5.564520407322694),
("Februarythe <day-of-month> (ordinal)", -5.159055299214529),
("at <time-of-day><time> <part-of-day>", -5.564520407322694),
("hourhour", -4.311757438827326),
("<time-of-day> am|pmon <date>", -3.5496173867804286),
("Wednesdaythis|last|next <cycle>", -5.564520407322694),
-4.886582645426277),
("today<time-of-day> am|pm", -5.579729825986222),
("Februarythe <day-of-month> (ordinal)", -5.174264717878058),
("at <time-of-day><time> <part-of-day>", -5.579729825986222),
("hourhour", -4.326966857490854),
("<time-of-day> am|pmon <date>", -3.5648268054439574),
("Wednesdaythis|last|next <cycle>", -5.579729825986222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.060443010546419),
("dayyear", -3.367295829986474),
("last weekend of <named-month>year", -5.564520407322694),
-4.075652429209948),
("dayyear", -3.2283545688227444),
("last weekend of <named-month>year", -5.579729825986222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.564520407322694),
("Thursdayat <time-of-day>", -5.159055299214529),
("<time-of-day> am|pmtomorrow", -4.871373226762748),
("minutehour", -4.648229675448539),
("Mother's Dayyear", -5.564520407322694),
-5.579729825986222),
("Thursdayat <time-of-day>", -5.174264717878058),
("<time-of-day> am|pmtomorrow", -4.886582645426277),
("minutehour", -4.663439094112067),
("Mother's Dayyear", -5.579729825986222),
("at <time-of-day>in|during the <part-of-day>",
-5.159055299214529),
-5.174264717878058),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.859772315084268),
("for <duration> from <time>December", -5.564520407322694),
("tomorrow<time-of-day> sharp|exactly", -5.564520407322694),
-3.874981733747797),
("for <duration> from <time>December", -5.579729825986222),
("tomorrow<time-of-day> sharp|exactly", -5.579729825986222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.159055299214529),
-5.174264717878058),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.648229675448539),
("Mondayin|during the <part-of-day>", -5.564520407322694),
-4.663439094112067),
("Mondayin|during the <part-of-day>", -5.579729825986222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.159055299214529),
("intersectin|during the <part-of-day>", -5.564520407322694),
-5.174264717878058),
("intersectin|during the <part-of-day>", -5.579729825986222),
("Thursday<datetime> - <datetime> (interval)",
-4.648229675448539),
-4.663439094112067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.311757438827326),
-4.326966857490854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.871373226762748),
-4.886582645426277),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.648229675448539),
("at <time-of-day>intersect", -5.159055299214529),
-4.663439094112067),
("at <time-of-day>intersect", -5.174264717878058),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.564520407322694),
("dayminute", -2.9618307218783095),
-5.579729825986222),
("dayminute", -2.9770401405418383),
("from <datetime> - <datetime> (interval)on <date>",
-5.159055299214529),
-5.174264717878058),
("<datetime> - <datetime> (interval)tomorrow",
-5.564520407322694),
-5.579729825986222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.159055299214529),
("<ordinal> <cycle> of <time>year", -5.564520407322694),
("minuteday", -2.0987845045229667),
-5.174264717878058),
("<ordinal> <cycle> of <time>year", -5.579729825986222),
("minuteday", -2.1139939231864955),
("absorption of , after named dayintersect",
-5.564520407322694),
("Octoberyear", -4.311757438827326),
-5.579729825986222),
("Octoberyear", -4.326966857490854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.564520407322694),
-5.579729825986222),
("at <time-of-day>absorption of , after named day",
-5.564520407322694),
-5.579729825986222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.564520407322694),
("year<time-of-day> am|pm", -5.564520407322694),
("Septemberyear", -5.159055299214529),
("at <time-of-day>on <date>", -4.465908118654584),
-5.579729825986222),
("year<time-of-day> am|pm", -5.579729825986222),
("Septemberyear", -5.174264717878058),
("at <time-of-day>on <date>", -4.481117537318113),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.871373226762748),
("Halloweenyear", -5.564520407322694),
("dayweek", -5.564520407322694),
("Thursday<time-of-day> am|pm", -5.564520407322694),
("weekyear", -5.159055299214529),
("hh:mmin|during the <part-of-day>", -4.871373226762748),
("Father's Dayyear", -5.564520407322694),
-4.886582645426277),
("Halloweenyear", -5.579729825986222),
("dayweek", -5.579729825986222),
("Thursday<time-of-day> am|pm", -5.579729825986222),
("weekyear", -5.174264717878058),
("hh:mmin|during the <part-of-day>", -4.886582645426277),
("Father's Dayyear", -5.579729825986222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.159055299214529),
("February<time> <part-of-day>", -5.564520407322694),
("Martin Luther King's Dayyear", -5.159055299214529),
("tomorrowat <time-of-day>", -4.871373226762748),
("between <time> and <time>on <date>", -4.871373226762748),
("Thursdayfrom|since|after <time-of-day>", -4.871373226762748),
("at <time-of-day>tomorrow", -5.159055299214529),
("tomorrow<time-of-day> am|pm", -5.564520407322694),
-5.174264717878058),
("February<time> <part-of-day>", -5.579729825986222),
("Martin Luther King's Dayyear", -5.174264717878058),
("tomorrowat <time-of-day>", -4.886582645426277),
("between <time> and <time>on <date>", -4.886582645426277),
("Thursdayfrom|since|after <time-of-day>", -4.886582645426277),
("at <time-of-day>tomorrow", -5.174264717878058),
("tomorrow<time-of-day> am|pm", -5.579729825986222),
("in|during the <part-of-day>at <time-of-day>",
-5.564520407322694),
("Labor Dayyear", -5.564520407322694),
("Februaryintersect", -5.564520407322694),
("last <cycle> of <time>year", -4.871373226762748),
-5.579729825986222),
("Labor Dayyear", -5.579729825986222),
("Februaryintersect", -5.579729825986222),
("last <cycle> of <time>year", -4.886582645426277),
("<named-month> <day-of-month> (non ordinal)year",
-5.564520407322694),
("yearminute", -5.564520407322694),
("Black Fridayyear", -5.159055299214529)],
n = 194},
-5.579729825986222),
("yearminute", -5.579729825986222),
("Black Fridayyear", -5.174264717878058)],
n = 197},
koData =
ClassData{prior = -0.9368773654825435, unseen = -5.953243334287785,
ClassData{prior = -0.9317949184101203, unseen = -5.973809611869261,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.2574953720277815),
[("in <named-month>year", -5.278114659230518),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.2574953720277815),
("hourday", -5.2574953720277815),
-5.278114659230518),
("hourday", -5.278114659230518),
("<named-month> <day-of-month> (non ordinal)July",
-5.2574953720277815),
("dayhour", -3.0062035734212866),
("daymonth", -3.1780538303479458),
("monthday", -4.852030263919617),
("monthyear", -4.564348191467836),
("intersecthh:mm", -5.2574953720277815),
-5.278114659230518),
("dayhour", -3.026822860624022),
("daymonth", -3.1986731175506815),
("monthday", -4.872649551122353),
("monthyear", -4.584967478670572),
("intersecthh:mm", -5.278114659230518),
("Easter Sundayyear", -5.278114659230518),
("from <datetime> - <datetime> (interval)July",
-5.2574953720277815),
("houryear", -5.2574953720277815),
-5.278114659230518),
("houryear", -5.278114659230518),
("from <time-of-day> - <time-of-day> (interval)July",
-5.2574953720277815),
("until <time-of-day><time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("until <time-of-day><time-of-day> am|pm", -5.278114659230518),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.564348191467836),
("<time-of-day> am|pmintersect", -4.004732403532413),
-4.584967478670572),
("<time-of-day> am|pmintersect", -4.02535169073515),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.341204640153626),
("from|since|after <time-of-day>on <date>", -4.341204640153626),
-4.361823927356362),
("from|since|after <time-of-day>on <date>", -4.361823927356362),
("July<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("absorption of , after named dayJuly", -4.852030263919617),
("monthhour", -5.2574953720277815),
("hourmonth", -4.564348191467836),
("todayat <time-of-day>", -5.2574953720277815),
("from|since|after <time-of-day>July", -5.2574953720277815),
("dayday", -4.852030263919617),
("<time-of-day> am|pmon <date>", -4.004732403532413),
("dayyear", -4.004732403532413),
("Thursdaymm/dd", -5.2574953720277815),
("Thursdayat <time-of-day>", -4.004732403532413),
-5.278114659230518),
("absorption of , after named dayJuly", -4.872649551122353),
("monthhour", -5.278114659230518),
("hourmonth", -4.584967478670572),
("todayat <time-of-day>", -5.278114659230518),
("from|since|after <time-of-day>July", -5.278114659230518),
("dayday", -4.872649551122353),
("<time-of-day> am|pmon <date>", -4.02535169073515),
("dayyear", -3.6686767467964168),
("Thursdaymm/dd", -5.278114659230518),
("Sundayyear", -4.872649551122353),
("Thursdayat <time-of-day>", -4.02535169073515),
("<integer> to|till|before <hour-of-day>September",
-5.2574953720277815),
("monthminute", -5.2574953720277815),
("<time-of-day> am|pmtomorrow", -5.2574953720277815),
("Thursdayhh:mm", -4.341204640153626),
-5.278114659230518),
("monthminute", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -5.278114659230518),
("Thursdayhh:mm", -4.361823927356362),
("August<day-of-month> (ordinal or number) <named-month>",
-5.2574953720277815),
("Fridayyear", -4.852030263919617),
("minutemonth", -3.4657359027997265),
("Sundayfrom|since|after <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("Fridayyear", -4.872649551122353),
("minutemonth", -3.4863551900024623),
("Sundayfrom|since|after <time-of-day>", -5.278114659230518),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.852030263919617),
-4.872649551122353),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
("Aprilyear", -5.2574953720277815),
-4.872649551122353),
("Aprilyear", -5.278114659230518),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.2574953720277815),
-5.278114659230518),
("<duration> after|before|from <time>December",
-5.2574953720277815),
("yesterday<time-of-day> am|pm", -5.2574953720277815),
-5.278114659230518),
("yesterday<time-of-day> am|pm", -5.278114659230518),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.341204640153626),
-4.361823927356362),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.852030263919617),
-4.872649551122353),
("<named-month> <day-of-month> (non ordinal)August",
-5.2574953720277815),
("until <time-of-day>on <date>", -4.564348191467836),
("at <time-of-day>intersect", -4.852030263919617),
-5.278114659230518),
("until <time-of-day>on <date>", -4.584967478670572),
("at <time-of-day>intersect", -4.872649551122353),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("dayminute", -2.772588722239781),
("intersectSeptember", -3.7534179752515073),
-5.278114659230518),
("dayminute", -2.793208009442517),
("intersectSeptember", -3.774037262454243),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.2574953720277815),
("minuteday", -2.3397246399435025),
-5.278114659230518),
("minuteday", -2.3603439271462383),
("absorption of , after named dayintersect",
-5.2574953720277815),
("Februaryin|during the <part-of-day>", -5.2574953720277815),
("week-endin <named-month>", -5.2574953720277815),
("Octoberyear", -5.2574953720277815),
("from|since|after <time-of-day>year", -5.2574953720277815),
("yearhh:mm", -5.2574953720277815),
("hh:mmon <date>", -3.7534179752515073),
-5.278114659230518),
("Februaryin|during the <part-of-day>", -5.278114659230518),
("week-endin <named-month>", -5.278114659230518),
("Octoberyear", -5.278114659230518),
("from|since|after <time-of-day>year", -5.278114659230518),
("yearhh:mm", -5.278114659230518),
("hh:mmon <date>", -3.774037262454243),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.2574953720277815),
-5.278114659230518),
("absorption of , after named daySeptember",
-4.341204640153626),
("on <date>September", -4.852030263919617),
("at <time-of-day>on <date>", -4.852030263919617),
("dayweek", -5.2574953720277815),
("Thursday<time-of-day> am|pm", -4.852030263919617),
("absorption of , after named dayFebruary", -4.341204640153626),
-4.361823927356362),
("on <date>September", -4.872649551122353),
("at <time-of-day>on <date>", -4.872649551122353),
("dayweek", -5.278114659230518),
("Thursday<time-of-day> am|pm", -4.872649551122353),
("absorption of , after named dayFebruary", -4.361823927356362),
("July<integer> to|till|before <hour-of-day>",
-5.2574953720277815),
("tomorrowat <time-of-day>", -5.2574953720277815),
-5.278114659230518),
("tomorrowat <time-of-day>", -5.278114659230518),
("<integer> to|till|before <hour-of-day>July",
-5.2574953720277815),
("Thursdayfrom|since|after <time-of-day>", -3.648057459593681),
("tomorrow<time-of-day> am|pm", -5.2574953720277815),
("Tuesdayfrom|since|after <time-of-day>", -5.2574953720277815),
("yearminute", -5.2574953720277815)],
n = 125}}),
-5.278114659230518),
("Thursdayfrom|since|after <time-of-day>", -3.6686767467964168),
("tomorrow<time-of-day> am|pm", -5.278114659230518),
("Tuesdayfrom|since|after <time-of-day>", -5.278114659230518),
("yearminute", -5.278114659230518)],
n = 128}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1036,11 +1065,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Monday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
ClassData{prior = -8.004270767353637e-2,
unseen = -2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.5649493574615367,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("dd/mm/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -1225,6 +1256,13 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("powers of tens",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Friday",
Classifier{okData =
ClassData{prior = -0.3677247801253174,
@ -1383,11 +1421,13 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
ClassData{prior = -0.11778303565638351,
unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
ClassData{prior = -2.1972245773362196,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1438,15 +1478,22 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.21622310846963594,
unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 29},
ClassData{prior = -0.2719337154836418,
unseen = -3.6109179126442243,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11778303565638351),
("intersect 2 numbers", -2.890371757896165)],
n = 32},
koData =
ClassData{prior = -1.6376087894007967,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 7}}),
ClassData{prior = -1.4350845252893227, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5596157879354228),
("intersect 2 numbers", -1.9459101490553135),
("powers of tens", -1.9459101490553135),
("compose by multiplication", -1.9459101490553135)],
n = 10}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
@ -1462,32 +1509,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -0.1479201300766222,
unseen = -5.0875963352323845,
ClassData{prior = -0.14595391262307983,
unseen = -5.099866427824199,
likelihoods =
HashMap.fromList
[("week", -2.4423470353692043),
("integer (0..19)year (grain)", -3.289644895756408),
("integer (numeric)day (grain)", -2.6835090921860925),
("integer (0..19)second (grain) ", -3.6951100038645723),
("integer (0..19)hour (grain)", -3.001962823304627),
("second", -3.289644895756408),
("integer (numeric)second (grain) ", -3.982792076316353),
("integer (numeric)year (grain)", -3.6951100038645723),
("day", -2.4423470353692043), ("year", -2.8841797876482436),
("integer (numeric)week (grain)", -3.001962823304627),
("integer (0..19)month (grain)", -3.4719664525503626),
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
("integer (numeric)minute (grain)", -3.1354942159291497),
("integer (0..19)minute (grain)", -3.001962823304627),
("integer (numeric)month (grain)", -3.982792076316353),
("minute", -2.4423470353692043),
("integer (numeric)hour (grain)", -3.4719664525503626),
("integer (0..19)day (grain)", -3.6951100038645723),
("integer (0..19)week (grain)", -3.1354942159291497)],
n = 69},
[("week", -2.4546928711915035),
("integer (0..19)year (grain)", -3.3019907315787074),
("integer (numeric)day (grain)", -2.6958549280083917),
("integer (0..19)second (grain) ", -3.7074558396868715),
("integer (0..19)hour (grain)", -3.0143086591269266),
("second", -3.3019907315787074),
("integer (numeric)second (grain) ", -3.9951379121386528),
("integer (numeric)year (grain)", -3.7074558396868715),
("day", -2.3856999997045523), ("year", -2.8965256234705428),
("integer (numeric)week (grain)", -3.0143086591269266),
("integer (0..19)month (grain)", -3.484312288372662),
("hour", -2.608843551018762), ("month", -3.147840051751449),
("integer (numeric)minute (grain)", -3.147840051751449),
("integer (0..19)minute (grain)", -3.0143086591269266),
("integer (numeric)month (grain)", -3.9951379121386528),
("minute", -2.4546928711915035),
("integer (numeric)hour (grain)", -3.484312288372662),
("integer (0..19)day (grain)", -3.484312288372662),
("integer (0..19)week (grain)", -3.147840051751449)],
n = 70},
koData =
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
ClassData{prior = -1.9965538818740682, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
@ -1835,6 +1882,14 @@ classifiers
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("Easter Sunday",
Classifier{okData =
ClassData{prior = -0.1823215567939546,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Christmas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
@ -1863,35 +1918,38 @@ classifiers
n = 10}}),
("<duration> after|before|from <time>",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.4339872044851463,
ClassData{prior = -0.3184537311185346,
unseen = -3.5263605246161616,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>now", -2.70805020110221),
("a <unit-of-duration>Christmas", -2.70805020110221),
("<integer> <unit-of-duration>today", -2.70805020110221),
("daysecond", -2.70805020110221),
("a <unit-of-duration>right now", -2.70805020110221),
("minutenograin", -2.70805020110221),
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
("secondnograin", -2.70805020110221),
("yearday", -2.0149030205422647),
("daynograin", -2.70805020110221),
("<integer> <unit-of-duration>now", -2.3025850929940455)],
n = 7},
[("a <unit-of-duration>now", -2.803360380906535),
("a <unit-of-duration>Christmas", -2.803360380906535),
("dayday", -2.803360380906535),
("<integer> <unit-of-duration>today", -2.803360380906535),
("daysecond", -2.803360380906535),
("a <unit-of-duration>right now", -2.803360380906535),
("minutenograin", -2.803360380906535),
("<integer> <unit-of-duration>Christmas", -2.803360380906535),
("<integer> <unit-of-duration>Easter Sunday",
-2.803360380906535),
("secondnograin", -2.803360380906535),
("yearday", -2.1102132003465894),
("daynograin", -2.803360380906535),
("<integer> <unit-of-duration>now", -2.3978952727983707)],
n = 8},
koData =
ClassData{prior = -1.2039728043259361,
unseen = -3.1354942159291497,
ClassData{prior = -1.2992829841302609,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("dayhour", -2.3978952727983707),
[("dayhour", -2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal)",
-2.3978952727983707),
("dayday", -1.9924301646902063),
-2.4423470353692043),
("dayday", -2.03688192726104),
("<integer> <unit-of-duration>time-of-day (latent)",
-2.3978952727983707),
-2.4423470353692043),
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
-2.3978952727983707)],
-2.4423470353692043)],
n = 3}}),
("Independence Day",
Classifier{okData =
@ -2263,8 +2321,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -2296,6 +2354,15 @@ classifiers
("<integer> <unit-of-duration>time-of-day (latent)",
-1.252762968495368)],
n = 1}}),
("compose by multiplication",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (0..19)powers of tens", 0.0)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("between <time> and <time>",
Classifier{okData =
ClassData{prior = -1.0986122886681098,

142
Duckling/Time/Computed.hs Normal file
View File

@ -0,0 +1,142 @@
-- Copyright (c) 2016-present, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
module Duckling.Time.Computed
( easterSunday
) where
import Data.Maybe
import Prelude
import qualified Data.Time as Time
import Duckling.Time.Helpers (timeComputed)
import Duckling.Time.Types (TimeData(..), TimeObject(..), timedata')
import qualified Duckling.TimeGrain.Types as TG
toTimeObjectM :: (Integer, Int, Int) -> Maybe TimeObject
toTimeObjectM (year, month, day) = do
day <- Time.fromGregorianValid year month day
let start = Time.UTCTime day 0
return TimeObject
{ start = start
, grain = TG.Day
, end = Nothing
}
computedDays :: [TimeObject] -> TimeData
computedDays xs = timedata'
{ timePred = timeComputed xs
, timeGrain = TG.Day
}
easterSunday :: TimeData
easterSunday = computedDays easterSunday'
easterSunday' :: [TimeObject]
easterSunday' = mapMaybe toTimeObjectM
[ (1950, 4, 9)
, (1951, 3, 25)
, (1952, 4, 13)
, (1953, 4, 5)
, (1954, 4, 18)
, (1955, 4, 10)
, (1956, 4, 1)
, (1957, 4, 21)
, (1958, 4, 6)
, (1959, 3, 29)
, (1960, 4, 17)
, (1961, 4, 2)
, (1962, 4, 22)
, (1963, 4, 14)
, (1964, 3, 29)
, (1965, 4, 18)
, (1966, 4, 10)
, (1967, 3, 26)
, (1968, 4, 14)
, (1969, 4, 6)
, (1970, 3, 29)
, (1971, 4, 11)
, (1972, 4, 2)
, (1973, 4, 22)
, (1974, 4, 14)
, (1975, 3, 30)
, (1976, 4, 18)
, (1977, 4, 10)
, (1978, 3, 26)
, (1979, 4, 15)
, (1980, 4, 6)
, (1981, 4, 19)
, (1982, 4, 11)
, (1983, 4, 3)
, (1984, 4, 22)
, (1985, 4, 7)
, (1986, 3, 30)
, (1987, 4, 19)
, (1988, 4, 3)
, (1989, 3, 26)
, (1990, 4, 15)
, (1991, 3, 31)
, (1992, 4, 19)
, (1993, 4, 11)
, (1994, 4, 3)
, (1995, 4, 16)
, (1996, 4, 7)
, (1997, 3, 30)
, (1998, 4, 12)
, (1999, 4, 4)
, (2000, 4, 23)
, (2001, 4, 15)
, (2002, 3, 31)
, (2003, 4, 20)
, (2004, 4, 11)
, (2005, 3, 27)
, (2006, 4, 16)
, (2007, 4, 8)
, (2008, 3, 23)
, (2009, 4, 12)
, (2010, 4, 4)
, (2011, 4, 24)
, (2012, 4, 8)
, (2013, 3, 31)
, (2014, 4, 20)
, (2015, 4, 5)
, (2016, 3, 27)
, (2017, 4, 16)
, (2018, 4, 1)
, (2019, 4, 21)
, (2020, 4, 12)
, (2021, 4, 4)
, (2022, 4, 17)
, (2023, 4, 9)
, (2024, 3, 31)
, (2025, 4, 20)
, (2026, 4, 5)
, (2027, 3, 28)
, (2028, 4, 16)
, (2029, 4, 1)
, (2030, 4, 21)
, (2031, 4, 13)
, (2032, 3, 28)
, (2033, 4, 17)
, (2034, 4, 9)
, (2035, 3, 25)
, (2036, 4, 13)
, (2037, 4, 5)
, (2038, 4, 25)
, (2039, 4, 10)
, (2040, 4, 1)
, (2041, 4, 21)
, (2042, 4, 6)
, (2043, 3, 29)
, (2044, 4, 17)
, (2045, 4, 9)
, (2046, 3, 25)
, (2047, 4, 14)
, (2048, 4, 5)
, (2049, 4, 18)
, (2050, 4, 10)
]

View File

@ -662,6 +662,20 @@ allExamples = concat
[ "MLK day of last year"
, "MLK day 2012"
]
, examples (datetime (2013, 3, 31, 0, 0, 0) Day)
[ "easter"
, "easter 2013"
]
, examples (datetime (2013, 4, 1, 0, 0, 0) Day)
[ "easter mon"
]
, examples (datetime (2010, 4, 4, 0, 0, 0) Day)
[ "easter 2010"
, "Easter Sunday two thousand ten"
]
, examples (datetime (2013, 4, 3, 0, 0, 0) Day)
[ "three days after Easter"
]
, examples (datetimeInterval ((2013, 2, 12, 18, 0, 0), (2013, 2, 13, 0, 0, 0)) Hour)
[ "this evening"
, "today evening"

View File

@ -27,6 +27,7 @@ import Duckling.Numeral.Helpers (parseInt)
import Duckling.Numeral.Types (NumeralData (..))
import Duckling.Ordinal.Types (OrdinalData (..))
import Duckling.Regex.Types
import Duckling.Time.Computed (easterSunday)
import Duckling.Time.Helpers
import Duckling.Time.Types (TimeData (..))
import Duckling.Types
@ -1253,6 +1254,13 @@ ruleUSHolidays = mkRuleHolidays
)
]
ruleComputedHolidays :: [Rule]
ruleComputedHolidays = mkRuleHolidays
[ ( "Easter Sunday", "easter(\\s+sun(day)?)?", easterSunday)
, ( "Easter Monday", "easter\\s+mon(day)?"
, cycleNthAfter False TG.Day 1 easterSunday
)
]
ruleCycleThisLastNext :: Rule
ruleCycleThisLastNext = Rule
@ -1661,3 +1669,4 @@ rules =
++ ruleMonths
++ ruleSeasons
++ ruleUSHolidays
++ ruleComputedHolidays

View File

@ -25,7 +25,7 @@ module Duckling.Time.Helpers
, predNth, predNthAfter, second, timeOfDayAMPM, weekend, withDirection, year
, yearMonthDay, tt
-- Other
, getIntValue
, getIntValue, timeComputed
-- Rule constructors
, mkRuleInstants, mkRuleDaysOfWeek, mkRuleMonths, mkRuleSeasons
, mkRuleHolidays
@ -77,6 +77,11 @@ timeNegPeriod (DurationData v g) = DurationData
-- -----------------------------------------------------------------
-- Time predicates
timeComputed :: [TTime.TimeObject] -> TTime.Predicate
timeComputed xs = mkSeriesPredicate series
where
series t _ = span (flip TTime.timeBefore t) xs
timeCycle :: TG.Grain -> TTime.Predicate
timeCycle grain = mkSeriesPredicate series
where

View File

@ -543,6 +543,7 @@ library
, Duckling.Time.ZH.MO.Rules
, Duckling.Time.ZH.TW.Corpus
, Duckling.Time.ZH.TW.Rules
, Duckling.Time.Computed
, Duckling.Time.Corpus
, Duckling.Time.Helpers
, Duckling.Time.Types