Time/EN: Chinese New Year

Summary: Added computed Chinese New Year.

Reviewed By: chinmay87

Differential Revision: D7492868

fbshipit-source-id: 203f6645dd39adb3ae3a0e97d99c79a1e10a3d93
This commit is contained in:
Julien Odent 2018-04-03 16:26:16 -07:00 committed by Facebook Github Bot
parent 04f215febb
commit 7b25f5c564
16 changed files with 2948 additions and 2728 deletions

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("Thursdaydd/mm", -5.3471075307174685),
("dayyear", -3.2070413672211977),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("Thursdaydd/mm", -5.356586274672012),
("dayyear", -3.159361697335793),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("Thursdaydd/mm", -5.3471075307174685),
("dayyear", -3.2070413672211977),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("Thursdaydd/mm", -5.356586274672012),
("dayyear", -3.159361697335793),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7167889436169858, unseen = -5.351858133476067,
likelihoods = HashMap.fromList [("", 0.0)], n = 209},
ClassData{prior = -0.7143493882105483, unseen = -5.356586274672012,
likelihoods = HashMap.fromList [("", 0.0)], n = 210},
koData =
ClassData{prior = -0.670051465765296, unseen = -5.3981627015177525,
ClassData{prior = -0.6723851891115161,
unseen = -5.3981627015177525,
likelihoods = HashMap.fromList [("", 0.0)], n = 219}}),
("<duration> hence|ago",
Classifier{okData =
@ -664,274 +665,275 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4754236967150748, unseen = -6.428105272684596,
ClassData{prior = -0.476476143751353, unseen = -6.434546518787453,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.480578308402378),
("Lentyear", -5.733341276897745),
-4.487029943683866),
("Lentyear", -5.739792912179234),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.480578308402378),
("hourday", -4.028593184659321),
("dayhour", -2.842969519001581),
("National Patriots' Dayyear", -5.0401940963378005),
("daymonth", -5.0401940963378005),
("monthday", -5.327876168789581),
("monthyear", -4.123903364463645),
("Tuesdaythe <day-of-month> (ordinal)", -5.733341276897745),
("Easter Sundayyear", -5.0401940963378005),
("Christmasyear", -5.327876168789581),
-4.487029943683866),
("hourday", -4.035044819940809),
("dayhour", -2.8494211542830694),
("National Patriots' Dayyear", -5.0466457316192885),
("daymonth", -5.0466457316192885),
("monthday", -5.334327804071069),
("monthyear", -4.130354999745133),
("Tuesdaythe <day-of-month> (ordinal)", -5.739792912179234),
("Easter Sundayyear", -5.0466457316192885),
("Christmasyear", -5.334327804071069),
("from <datetime> - <datetime> (interval)July",
-5.733341276897745),
("houryear", -5.327876168789581),
-5.739792912179234),
("houryear", -5.334327804071069),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.733341276897745),
("Christmas<time-of-day> am|pm", -5.733341276897745),
-5.739792912179234),
("Christmas<time-of-day> am|pm", -5.739792912179234),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.0401940963378005),
("<time-of-day> am|pmintersect", -4.480578308402378),
-5.0466457316192885),
("<time-of-day> am|pmintersect", -4.487029943683866),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.733341276897745),
("Marchyear", -5.733341276897745),
-5.739792912179234),
("Marchyear", -5.739792912179234),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.327876168789581),
("intersect<time-of-day> am|pm", -5.733341276897745),
("Clean Mondayyear", -5.327876168789581),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.733341276897745),
("monthhour", -5.327876168789581),
("last <day-of-week> of <time>year", -5.733341276897745),
("todayat <time-of-day>", -5.733341276897745),
("Thursday<time> timezone", -4.028593184659321),
-5.334327804071069),
("intersect<time-of-day> am|pm", -5.739792912179234),
("Clean Mondayyear", -5.334327804071069),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.739792912179234),
("monthhour", -5.334327804071069),
("last <day-of-week> of <time>year", -5.739792912179234),
("todayat <time-of-day>", -5.739792912179234),
("Thursday<time> timezone", -4.035044819940809),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.733341276897745),
("Palm SundaySunday", -5.327876168789581),
("dayday", -3.536116699561526),
("Thanksgiving Dayyear", -4.634728988229636),
("<time> <part-of-day>at <time-of-day>", -5.733341276897745),
("Tuesdayin <named-month>", -5.733341276897745),
("mm/ddat <time-of-day>", -5.733341276897745),
("tonightat <time-of-day>", -5.733341276897745),
-5.739792912179234),
("Palm SundaySunday", -5.334327804071069),
("dayday", -3.542568334843015),
("Thanksgiving Dayyear", -4.641180623511124),
("<time> <part-of-day>at <time-of-day>", -5.739792912179234),
("Tuesdayin <named-month>", -5.739792912179234),
("mm/ddat <time-of-day>", -5.739792912179234),
("tonightat <time-of-day>", -5.739792912179234),
("<time-of-day> am|pmabsorption of , after named day",
-5.0401940963378005),
("today<time-of-day> am|pm", -5.733341276897745),
("Februarythe <day-of-month> (ordinal)", -5.327876168789581),
("at <time-of-day><time> <part-of-day>", -5.733341276897745),
("mm/dd<time-of-day> am|pm", -5.733341276897745),
("hourhour", -4.480578308402378),
("<time-of-day> am|pmon <date>", -3.7184382563554808),
("Wednesdaythis|last|next <cycle>", -5.733341276897745),
-5.0466457316192885),
("today<time-of-day> am|pm", -5.739792912179234),
("Februarythe <day-of-month> (ordinal)", -5.334327804071069),
("at <time-of-day><time> <part-of-day>", -5.739792912179234),
("mm/dd<time-of-day> am|pm", -5.739792912179234),
("hourhour", -4.487029943683866),
("<time-of-day> am|pmon <date>", -3.7248898916369693),
("Wednesdaythis|last|next <cycle>", -5.739792912179234),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.229263880121471),
("dayyear", -2.5978470609685957),
("last weekend of <named-month>year", -5.733341276897745),
-4.23571551540296),
("dayyear", -2.582792491029121),
("last weekend of <named-month>year", -5.739792912179234),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.733341276897745),
("Sundayyear", -5.733341276897745),
("Thursdayat <time-of-day>", -5.327876168789581),
("<time-of-day> am|pmtomorrow", -5.0401940963378005),
("minutehour", -4.817050545023591),
("Mother's Dayyear", -5.733341276897745),
("Victoria Dayyear", -5.327876168789581),
-5.739792912179234),
("Sundayyear", -5.739792912179234),
("Chinese New Yearyear", -5.739792912179234),
("Thursdayat <time-of-day>", -5.334327804071069),
("<time-of-day> am|pmtomorrow", -5.0466457316192885),
("minutehour", -4.823502180305079),
("Mother's Dayyear", -5.739792912179234),
("Victoria Dayyear", -5.334327804071069),
("at <time-of-day>in|during the <part-of-day>",
-5.327876168789581),
-5.334327804071069),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.028593184659321),
("for <duration> from <time>December", -5.733341276897745),
("tomorrow<time-of-day> sharp|exactly", -5.733341276897745),
-4.035044819940809),
("for <duration> from <time>December", -5.739792912179234),
("tomorrow<time-of-day> sharp|exactly", -5.739792912179234),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.817050545023591),
-4.823502180305079),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.327876168789581),
-5.334327804071069),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.817050545023591),
("Mondayin|during the <part-of-day>", -5.733341276897745),
("Shrove Tuesdayyear", -5.733341276897745),
("<part-of-day> of <time>year", -5.733341276897745),
-4.823502180305079),
("Mondayin|during the <part-of-day>", -5.739792912179234),
("Shrove Tuesdayyear", -5.739792912179234),
("<part-of-day> of <time>year", -5.739792912179234),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.327876168789581),
("Labour Dayyear", -5.733341276897745),
("intersectin|during the <part-of-day>", -5.733341276897745),
("Christmasat <time-of-day>", -5.733341276897745),
-5.334327804071069),
("Labour Dayyear", -5.739792912179234),
("intersectin|during the <part-of-day>", -5.739792912179234),
("Christmasat <time-of-day>", -5.739792912179234),
("Thursday<datetime> - <datetime> (interval)",
-4.817050545023591),
-4.823502180305079),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.733341276897745),
-5.739792912179234),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.480578308402378),
-4.487029943683866),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.0401940963378005),
-5.0466457316192885),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.817050545023591),
("at <time-of-day>intersect", -5.327876168789581),
-4.823502180305079),
("at <time-of-day>intersect", -5.334327804071069),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.733341276897745),
-5.739792912179234),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.733341276897745),
("dayminute", -3.0591926274712167),
("Orthodox Easter Sundayyear", -5.733341276897745),
-5.739792912179234),
("dayminute", -3.0656442627527056),
("Orthodox Easter Sundayyear", -5.739792912179234),
("from <datetime> - <datetime> (interval)on <date>",
-5.327876168789581),
("intersectyear", -5.733341276897745),
-5.334327804071069),
("intersectyear", -5.739792912179234),
("<datetime> - <datetime> (interval)tomorrow",
-5.733341276897745),
-5.739792912179234),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.327876168789581),
("<ordinal> <cycle> of <time>year", -5.733341276897745),
("minuteday", -2.267605374098019),
-5.334327804071069),
("<ordinal> <cycle> of <time>year", -5.739792912179234),
("minuteday", -2.2740570093795074),
("absorption of , after named dayintersect",
-5.733341276897745),
("Family Dayyear", -4.817050545023591),
("Octoberyear", -4.480578308402378),
-5.739792912179234),
("Family Dayyear", -4.823502180305079),
("Octoberyear", -4.487029943683866),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.733341276897745),
-5.739792912179234),
("at <time-of-day>absorption of , after named day",
-5.733341276897745),
-5.739792912179234),
("<day-of-month> (ordinal or number) <named-month>year",
-5.733341276897745),
("year<time-of-day> am|pm", -5.733341276897745),
("Septemberyear", -5.327876168789581),
("at <time-of-day>on <date>", -4.634728988229636),
-5.739792912179234),
("year<time-of-day> am|pm", -5.739792912179234),
("Septemberyear", -5.334327804071069),
("at <time-of-day>on <date>", -4.641180623511124),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.0401940963378005),
("Halloweenyear", -5.733341276897745),
("dayweek", -5.733341276897745),
("Lazarus Saturdayyear", -5.733341276897745),
("Thursday<time-of-day> am|pm", -5.733341276897745),
("weekyear", -5.327876168789581),
("hh:mmin|during the <part-of-day>", -5.0401940963378005),
("Father's Dayyear", -5.733341276897745),
-5.0466457316192885),
("Halloweenyear", -5.739792912179234),
("dayweek", -5.739792912179234),
("Lazarus Saturdayyear", -5.739792912179234),
("Thursday<time-of-day> am|pm", -5.739792912179234),
("weekyear", -5.334327804071069),
("hh:mmin|during the <part-of-day>", -5.0466457316192885),
("Father's Dayyear", -5.739792912179234),
("<cycle> after|before <time><time-of-day> am|pm",
-5.327876168789581),
("February<time> <part-of-day>", -5.733341276897745),
("Martin Luther King's Dayyear", -5.327876168789581),
("tomorrowat <time-of-day>", -5.0401940963378005),
("between <time> and <time>on <date>", -5.0401940963378005),
("Thursdayfrom|since|after <time-of-day>", -5.0401940963378005),
("at <time-of-day>tomorrow", -5.327876168789581),
("tomorrow<time-of-day> am|pm", -5.733341276897745),
("Pentecostyear", -5.733341276897745),
-5.334327804071069),
("February<time> <part-of-day>", -5.739792912179234),
("Martin Luther King's Dayyear", -5.334327804071069),
("tomorrowat <time-of-day>", -5.0466457316192885),
("between <time> and <time>on <date>", -5.0466457316192885),
("Thursdayfrom|since|after <time-of-day>", -5.0466457316192885),
("at <time-of-day>tomorrow", -5.334327804071069),
("tomorrow<time-of-day> am|pm", -5.739792912179234),
("Pentecostyear", -5.739792912179234),
("in|during the <part-of-day>at <time-of-day>",
-5.733341276897745),
("Palm Sundayintersect", -5.733341276897745),
("Great Lentyear", -5.733341276897745),
("Februaryintersect", -5.733341276897745),
("last <cycle> of <time>year", -5.0401940963378005),
-5.739792912179234),
("Palm Sundayintersect", -5.739792912179234),
("Great Lentyear", -5.739792912179234),
("Februaryintersect", -5.739792912179234),
("last <cycle> of <time>year", -5.0466457316192885),
("<named-month> <day-of-month> (non ordinal)year",
-5.733341276897745),
("yearminute", -5.733341276897745),
("Black Fridayyear", -5.327876168789581)],
n = 230},
-5.739792912179234),
("yearminute", -5.739792912179234),
("Black Fridayyear", -5.334327804071069)],
n = 231},
koData =
ClassData{prior = -0.9718605830289658,
unseen = -6.0844994130751715,
ClassData{prior = -0.9701339638949783, unseen = -6.093569770045136,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.389071729816501),
[("in <named-month>year", -5.3981627015177525),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.389071729816501),
("hourday", -5.389071729816501),
-5.3981627015177525),
("hourday", -5.3981627015177525),
("<named-month> <day-of-month> (non ordinal)July",
-5.389071729816501),
("dayhour", -2.9467246944472967),
("daymonth", -3.3096301881366648),
("monthday", -4.983606621708336),
("monthyear", -4.695924549256556),
("intersecthh:mm", -5.389071729816501),
("Easter Sundayyear", -4.983606621708336),
-5.3981627015177525),
("New Year's Dayyear", -5.3981627015177525),
("dayhour", -2.955815666148548),
("daymonth", -3.3187211598379167),
("monthday", -4.992697593409589),
("monthyear", -4.705015520957807),
("intersecthh:mm", -5.3981627015177525),
("Easter Sundayyear", -4.992697593409589),
("from <datetime> - <datetime> (interval)July",
-5.389071729816501),
("houryear", -5.389071729816501),
-5.3981627015177525),
("houryear", -5.3981627015177525),
("from <time-of-day> - <time-of-day> (interval)July",
-5.389071729816501),
("until <time-of-day><time-of-day> am|pm", -5.389071729816501),
-5.3981627015177525),
("until <time-of-day><time-of-day> am|pm", -5.3981627015177525),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.695924549256556),
("<time-of-day> am|pmintersect", -4.136308761321133),
-4.705015520957807),
("<time-of-day> am|pmintersect", -4.145399733022385),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.472780997942346),
("Clean Mondayyear", -5.389071729816501),
("from|since|after <time-of-day>on <date>", -4.472780997942346),
-4.481871969643597),
("Clean Mondayyear", -5.3981627015177525),
("from|since|after <time-of-day>on <date>", -4.481871969643597),
("July<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("absorption of , after named dayJuly", -4.983606621708336),
("monthhour", -5.389071729816501),
("hourmonth", -4.695924549256556),
("todayat <time-of-day>", -5.389071729816501),
("from|since|after <time-of-day>July", -5.389071729816501),
("dayday", -4.983606621708336),
("mm/ddat <time-of-day>", -4.983606621708336),
("<time-of-day> am|pmon <date>", -4.136308761321133),
("dayyear", -3.24900556632023),
("Thursdaymm/dd", -5.389071729816501),
("Sundayyear", -4.695924549256556),
("Thursdayat <time-of-day>", -4.136308761321133),
-5.3981627015177525),
("absorption of , after named dayJuly", -4.992697593409589),
("monthhour", -5.3981627015177525),
("hourmonth", -4.705015520957807),
("todayat <time-of-day>", -5.3981627015177525),
("from|since|after <time-of-day>July", -5.3981627015177525),
("dayday", -4.992697593409589),
("mm/ddat <time-of-day>", -4.992697593409589),
("<time-of-day> am|pmon <date>", -4.145399733022385),
("dayyear", -3.2009381241815333),
("Thursdaymm/dd", -5.3981627015177525),
("Sundayyear", -4.705015520957807),
("Thursdayat <time-of-day>", -4.145399733022385),
("<integer> to|till|before <hour-of-day>September",
-5.389071729816501),
("monthminute", -5.389071729816501),
("<time-of-day> am|pmtomorrow", -5.389071729816501),
("Thursdayhh:mm", -4.472780997942346),
-5.3981627015177525),
("monthminute", -5.3981627015177525),
("<time-of-day> am|pmtomorrow", -5.3981627015177525),
("Thursdayhh:mm", -4.481871969643597),
("August<day-of-month> (ordinal or number) <named-month>",
-5.389071729816501),
("Fridayyear", -4.983606621708336),
("minutemonth", -3.597312260588446),
("Sundayfrom|since|after <time-of-day>", -5.389071729816501),
-5.3981627015177525),
("Fridayyear", -4.992697593409589),
("minutemonth", -3.606403232289698),
("Sundayfrom|since|after <time-of-day>", -5.3981627015177525),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.983606621708336),
-4.992697593409589),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
("Aprilyear", -5.389071729816501),
-4.992697593409589),
("Aprilyear", -5.3981627015177525),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-4.992697593409589),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.389071729816501),
("Christmasat <time-of-day>", -5.389071729816501),
-5.3981627015177525),
("Christmasat <time-of-day>", -5.3981627015177525),
("<duration> after|before|from <time>December",
-5.389071729816501),
("yesterday<time-of-day> am|pm", -5.389071729816501),
-5.3981627015177525),
("yesterday<time-of-day> am|pm", -5.3981627015177525),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.472780997942346),
-4.481871969643597),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.983606621708336),
-4.992697593409589),
("<named-month> <day-of-month> (non ordinal)August",
-5.389071729816501),
("until <time-of-day>on <date>", -4.695924549256556),
("Mondayyear", -4.695924549256556),
("Saturdayyear", -5.389071729816501),
("at <time-of-day>intersect", -4.983606621708336),
-5.3981627015177525),
("until <time-of-day>on <date>", -4.705015520957807),
("Mondayyear", -4.705015520957807),
("Saturdayyear", -5.3981627015177525),
("at <time-of-day>intersect", -4.992697593409589),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("dayminute", -2.8633430855082453),
("intersectSeptember", -3.884994333040227),
-5.3981627015177525),
("dayminute", -2.8724340572094973),
("intersectSeptember", -3.8940853047414787),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.389071729816501),
("minuteday", -2.4713009977322216),
-5.3981627015177525),
("minuteday", -2.480391969433474),
("absorption of , after named dayintersect",
-5.389071729816501),
("Februaryin|during the <part-of-day>", -5.389071729816501),
("week-endin <named-month>", -5.389071729816501),
("Octoberyear", -5.389071729816501),
("from|since|after <time-of-day>year", -5.389071729816501),
("yearhh:mm", -5.389071729816501),
("hh:mmon <date>", -3.884994333040227),
-5.3981627015177525),
("Februaryin|during the <part-of-day>", -5.3981627015177525),
("week-endin <named-month>", -5.3981627015177525),
("Octoberyear", -5.3981627015177525),
("from|since|after <time-of-day>year", -5.3981627015177525),
("yearhh:mm", -5.3981627015177525),
("hh:mmon <date>", -3.8940853047414787),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.389071729816501),
-5.3981627015177525),
("absorption of , after named daySeptember",
-4.472780997942346),
("on <date>September", -4.983606621708336),
("at <time-of-day>on <date>", -4.983606621708336),
("dayweek", -5.389071729816501),
("Thursday<time-of-day> am|pm", -4.983606621708336),
("absorption of , after named dayFebruary", -4.472780997942346),
-4.481871969643597),
("on <date>September", -4.992697593409589),
("at <time-of-day>on <date>", -4.992697593409589),
("dayweek", -5.3981627015177525),
("Thursday<time-of-day> am|pm", -4.992697593409589),
("absorption of , after named dayFebruary", -4.481871969643597),
("July<integer> to|till|before <hour-of-day>",
-5.389071729816501),
("tomorrowat <time-of-day>", -5.389071729816501),
-5.3981627015177525),
("tomorrowat <time-of-day>", -5.3981627015177525),
("<integer> to|till|before <hour-of-day>July",
-5.389071729816501),
("Thursdayfrom|since|after <time-of-day>", -3.7796338173824005),
("tomorrow<time-of-day> am|pm", -5.389071729816501),
("Tuesdayfrom|since|after <time-of-day>", -5.389071729816501),
("yearminute", -5.389071729816501)],
n = 140}}),
-5.3981627015177525),
("Thursdayfrom|since|after <time-of-day>", -3.7887247890836524),
("tomorrow<time-of-day> am|pm", -5.3981627015177525),
("Tuesdayfrom|since|after <time-of-day>", -5.3981627015177525),
("yearminute", -5.3981627015177525)],
n = 141}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1540,6 +1542,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1597,14 +1606,15 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.2363887780642304, unseen = -4.174387269895637,
ClassData{prior = -0.23293155768037255,
unseen = -4.189654742026425,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.13456394539524e-2),
("intersect 2 numbers", -3.0602707946915624)],
n = 60},
[("integer (numeric)", -8.004270767353637e-2),
("intersect 2 numbers", -3.0757749812275272)],
n = 61},
koData =
ClassData{prior = -1.55814461804655, unseen = -3.044522437723423,
ClassData{prior = -1.5712166996139025, unseen = -3.044522437723423,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5978370007556204),
@ -2259,13 +2269,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,11 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7435780341868373,
unseen = -5.3230099791384085,
likelihoods = HashMap.fromList [("", 0.0)], n = 203},
ClassData{prior = -0.7410032017375804, unseen = -5.327876168789581,
likelihoods = HashMap.fromList [("", 0.0)], n = 204},
koData =
ClassData{prior = -0.6451379613735847, unseen = -5.420534999272286,
ClassData{prior = -0.647477143726757, unseen = -5.420534999272286,
likelihoods = HashMap.fromList [("", 0.0)], n = 224}}),
("<duration> hence|ago",
Classifier{okData =
@ -651,269 +650,274 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4937157961995304, unseen = -6.405228458030842,
ClassData{prior = -0.49469624183610705,
unseen = -6.411818267709897,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.457664048879502),
("Lentyear", -5.71042701737487),
-4.464264732910854),
("Lentyear", -5.717027701406222),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.457664048879502),
("hourday", -4.005678925136444),
("dayhour", -2.820055259478705),
("daymonth", -5.017279836814924),
("monthday", -5.304961909266705),
("monthyear", -4.100989104940769),
("Tuesdaythe <day-of-month> (ordinal)", -5.71042701737487),
("Easter Sundayyear", -5.017279836814924),
("Christmasyear", -5.304961909266705),
-4.464264732910854),
("hourday", -4.012279609167797),
("dayhour", -2.826655943510057),
("daymonth", -5.0238805208462765),
("monthday", -5.311562593298057),
("monthyear", -4.107589788972121),
("Tuesdaythe <day-of-month> (ordinal)", -5.717027701406222),
("Easter Sundayyear", -5.0238805208462765),
("Christmasyear", -5.311562593298057),
("from <datetime> - <datetime> (interval)July",
-5.71042701737487),
("houryear", -5.304961909266705),
-5.717027701406222),
("houryear", -5.311562593298057),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.71042701737487),
("Christmas<time-of-day> am|pm", -5.71042701737487),
-5.717027701406222),
("Christmas<time-of-day> am|pm", -5.717027701406222),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.017279836814924),
("<time-of-day> am|pmintersect", -4.457664048879502),
-5.0238805208462765),
("<time-of-day> am|pmintersect", -4.464264732910854),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.71042701737487),
("Marchyear", -5.71042701737487),
-5.717027701406222),
("Marchyear", -5.717027701406222),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.304961909266705),
("intersect<time-of-day> am|pm", -5.71042701737487),
("Clean Mondayyear", -5.304961909266705),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.71042701737487),
("monthhour", -5.304961909266705),
("last <day-of-week> of <time>year", -5.71042701737487),
("todayat <time-of-day>", -5.71042701737487),
("Thursday<time> timezone", -4.005678925136444),
("dd/mm<time-of-day> am|pm", -5.71042701737487),
("this <time>hh(:mm) - <time-of-day> am|pm", -5.71042701737487),
("Palm SundaySunday", -5.304961909266705),
("dayday", -3.51320244003865),
("Thanksgiving Dayyear", -4.61181472870676),
("dd/mmat <time-of-day>", -5.71042701737487),
("<time> <part-of-day>at <time-of-day>", -5.71042701737487),
("Tuesdayin <named-month>", -5.71042701737487),
("tonightat <time-of-day>", -5.71042701737487),
-5.311562593298057),
("intersect<time-of-day> am|pm", -5.717027701406222),
("Clean Mondayyear", -5.311562593298057),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.717027701406222),
("monthhour", -5.311562593298057),
("last <day-of-week> of <time>year", -5.717027701406222),
("todayat <time-of-day>", -5.717027701406222),
("Thursday<time> timezone", -4.012279609167797),
("dd/mm<time-of-day> am|pm", -5.717027701406222),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.717027701406222),
("Palm SundaySunday", -5.311562593298057),
("dayday", -3.5198031240700023),
("Thanksgiving Dayyear", -4.618415412738112),
("dd/mmat <time-of-day>", -5.717027701406222),
("<time> <part-of-day>at <time-of-day>", -5.717027701406222),
("Tuesdayin <named-month>", -5.717027701406222),
("tonightat <time-of-day>", -5.717027701406222),
("<time-of-day> am|pmabsorption of , after named day",
-5.017279836814924),
("today<time-of-day> am|pm", -5.71042701737487),
("Februarythe <day-of-month> (ordinal)", -5.304961909266705),
("at <time-of-day><time> <part-of-day>", -5.71042701737487),
("hourhour", -4.457664048879502),
("<time-of-day> am|pmon <date>", -3.695523996832605),
("Wednesdaythis|last|next <cycle>", -5.71042701737487),
-5.0238805208462765),
("today<time-of-day> am|pm", -5.717027701406222),
("Februarythe <day-of-month> (ordinal)", -5.311562593298057),
("at <time-of-day><time> <part-of-day>", -5.717027701406222),
("hourhour", -4.464264732910854),
("<time-of-day> am|pmon <date>", -3.7021246808639567),
("Wednesdaythis|last|next <cycle>", -5.717027701406222),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.206349620598596),
("dayyear", -2.7146947438208784),
("last weekend of <named-month>year", -5.71042701737487),
-4.212950304629947),
("dayyear", -2.6966028152618593),
("last weekend of <named-month>year", -5.717027701406222),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.71042701737487),
("Sundayyear", -5.71042701737487),
("Thursdayat <time-of-day>", -5.304961909266705),
("<time-of-day> am|pmtomorrow", -5.017279836814924),
("August Bank Holidayyear", -5.017279836814924),
("minutehour", -4.794136285500715),
-5.717027701406222),
("Sundayyear", -5.717027701406222),
("Chinese New Yearyear", -5.717027701406222),
("Thursdayat <time-of-day>", -5.311562593298057),
("<time-of-day> am|pmtomorrow", -5.0238805208462765),
("August Bank Holidayyear", -5.0238805208462765),
("minutehour", -4.800736969532067),
("at <time-of-day>in|during the <part-of-day>",
-5.304961909266705),
-5.311562593298057),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.005678925136444),
("for <duration> from <time>December", -5.71042701737487),
("tomorrow<time-of-day> sharp|exactly", -5.71042701737487),
-4.012279609167797),
("for <duration> from <time>December", -5.717027701406222),
("tomorrow<time-of-day> sharp|exactly", -5.717027701406222),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.794136285500715),
-4.800736969532067),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.304961909266705),
-5.311562593298057),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.794136285500715),
("Mondayin|during the <part-of-day>", -5.71042701737487),
("Shrove Tuesdayyear", -5.71042701737487),
("<part-of-day> of <time>year", -5.71042701737487),
-4.800736969532067),
("Mondayin|during the <part-of-day>", -5.717027701406222),
("Shrove Tuesdayyear", -5.717027701406222),
("<part-of-day> of <time>year", -5.717027701406222),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.304961909266705),
("intersectin|during the <part-of-day>", -5.71042701737487),
("Christmasat <time-of-day>", -5.71042701737487),
-5.311562593298057),
("intersectin|during the <part-of-day>", -5.717027701406222),
("Christmasat <time-of-day>", -5.717027701406222),
("Thursday<datetime> - <datetime> (interval)",
-4.794136285500715),
-4.800736969532067),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.71042701737487),
-5.717027701406222),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.457664048879502),
-4.464264732910854),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.017279836814924),
-5.0238805208462765),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.794136285500715),
("at <time-of-day>intersect", -5.304961909266705),
-4.800736969532067),
("at <time-of-day>intersect", -5.311562593298057),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.71042701737487),
-5.717027701406222),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.71042701737487),
("dayminute", -3.036278367948341),
("Mothering Sundayyear", -5.304961909266705),
("Orthodox Easter Sundayyear", -5.71042701737487),
-5.717027701406222),
("dayminute", -3.042879051979693),
("Mothering Sundayyear", -5.311562593298057),
("Orthodox Easter Sundayyear", -5.717027701406222),
("from <datetime> - <datetime> (interval)on <date>",
-5.304961909266705),
("intersectyear", -5.71042701737487),
-5.311562593298057),
("intersectyear", -5.717027701406222),
("<datetime> - <datetime> (interval)tomorrow",
-5.71042701737487),
-5.717027701406222),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.304961909266705),
("<ordinal> <cycle> of <time>year", -5.71042701737487),
("minuteday", -2.244691114575143),
("absorption of , after named dayintersect", -5.71042701737487),
("Octoberyear", -4.457664048879502),
-5.311562593298057),
("<ordinal> <cycle> of <time>year", -5.717027701406222),
("minuteday", -2.2512917986064953),
("absorption of , after named dayintersect",
-5.717027701406222),
("Octoberyear", -4.464264732910854),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.71042701737487),
-5.717027701406222),
("at <time-of-day>absorption of , after named day",
-5.71042701737487),
-5.717027701406222),
("<day-of-month> (ordinal or number) <named-month>year",
-5.71042701737487),
("year<time-of-day> am|pm", -5.71042701737487),
("Septemberyear", -5.304961909266705),
("at <time-of-day>on <date>", -4.61181472870676),
-5.717027701406222),
("year<time-of-day> am|pm", -5.717027701406222),
("Septemberyear", -5.311562593298057),
("at <time-of-day>on <date>", -4.618415412738112),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.017279836814924),
("Halloweenyear", -5.71042701737487),
("dayweek", -5.71042701737487),
("Lazarus Saturdayyear", -5.71042701737487),
("Thursday<time-of-day> am|pm", -5.71042701737487),
("weekyear", -5.304961909266705),
("hh:mmin|during the <part-of-day>", -5.017279836814924),
("Father's Dayyear", -5.71042701737487),
-5.0238805208462765),
("Halloweenyear", -5.717027701406222),
("dayweek", -5.717027701406222),
("Lazarus Saturdayyear", -5.717027701406222),
("Thursday<time-of-day> am|pm", -5.717027701406222),
("weekyear", -5.311562593298057),
("hh:mmin|during the <part-of-day>", -5.0238805208462765),
("Father's Dayyear", -5.717027701406222),
("<cycle> after|before <time><time-of-day> am|pm",
-5.304961909266705),
("February<time> <part-of-day>", -5.71042701737487),
("Martin Luther King's Dayyear", -5.304961909266705),
("tomorrowat <time-of-day>", -5.017279836814924),
("between <time> and <time>on <date>", -5.017279836814924),
("Thursdayfrom|since|after <time-of-day>", -5.017279836814924),
("at <time-of-day>tomorrow", -5.304961909266705),
("tomorrow<time-of-day> am|pm", -5.71042701737487),
("Pentecostyear", -5.71042701737487),
-5.311562593298057),
("February<time> <part-of-day>", -5.717027701406222),
("Martin Luther King's Dayyear", -5.311562593298057),
("tomorrowat <time-of-day>", -5.0238805208462765),
("between <time> and <time>on <date>", -5.0238805208462765),
("Thursdayfrom|since|after <time-of-day>", -5.0238805208462765),
("at <time-of-day>tomorrow", -5.311562593298057),
("tomorrow<time-of-day> am|pm", -5.717027701406222),
("Pentecostyear", -5.717027701406222),
("in|during the <part-of-day>at <time-of-day>",
-5.71042701737487),
("Palm Sundayintersect", -5.71042701737487),
("Great Lentyear", -5.71042701737487),
("Februaryintersect", -5.71042701737487),
("last <cycle> of <time>year", -5.017279836814924),
-5.717027701406222),
("Palm Sundayintersect", -5.717027701406222),
("Great Lentyear", -5.717027701406222),
("Februaryintersect", -5.717027701406222),
("last <cycle> of <time>year", -5.0238805208462765),
("<named-month> <day-of-month> (non ordinal)year",
-5.71042701737487),
("yearminute", -5.71042701737487),
("Black Fridayyear", -5.304961909266705)],
n = 224},
-5.717027701406222),
("yearminute", -5.717027701406222),
("Black Fridayyear", -5.311562593298057)],
n = 225},
koData =
ClassData{prior = -0.942517217794663, unseen = -6.093569770045136,
ClassData{prior = -0.9409833444645266, unseen = -6.102558594613569,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3981627015177525),
[("in <named-month>year", -5.407171771460119),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3981627015177525),
("hourday", -5.3981627015177525),
-5.407171771460119),
("hourday", -5.407171771460119),
("<named-month> <day-of-month> (non ordinal)July",
-5.3981627015177525),
("dayhour", -2.955815666148548),
("daymonth", -3.3187211598379167),
("monthday", -4.992697593409589),
("monthyear", -4.705015520957807),
("intersecthh:mm", -5.3981627015177525),
("Easter Sundayyear", -4.992697593409589),
-5.407171771460119),
("New Year's Dayyear", -5.407171771460119),
("dayhour", -2.964824736090914),
("daymonth", -3.3277302297802827),
("monthday", -5.001706663351954),
("monthyear", -4.7140245909001735),
("intersecthh:mm", -5.407171771460119),
("Easter Sundayyear", -5.001706663351954),
("from <datetime> - <datetime> (interval)July",
-5.3981627015177525),
("houryear", -5.3981627015177525),
-5.407171771460119),
("houryear", -5.407171771460119),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3981627015177525),
("until <time-of-day><time-of-day> am|pm", -5.3981627015177525),
-5.407171771460119),
("until <time-of-day><time-of-day> am|pm", -5.407171771460119),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.705015520957807),
("<time-of-day> am|pmintersect", -4.145399733022385),
-4.7140245909001735),
("<time-of-day> am|pmintersect", -4.154408802964751),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.481871969643597),
("Clean Mondayyear", -5.3981627015177525),
("from|since|after <time-of-day>on <date>", -4.481871969643597),
-4.490881039585964),
("Clean Mondayyear", -5.407171771460119),
("from|since|after <time-of-day>on <date>", -4.490881039585964),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3981627015177525),
("absorption of , after named dayJuly", -4.992697593409589),
("monthhour", -5.3981627015177525),
("hourmonth", -4.705015520957807),
("todayat <time-of-day>", -5.3981627015177525),
("from|since|after <time-of-day>July", -5.3981627015177525),
("dayday", -4.992697593409589),
("dd/mmat <time-of-day>", -4.992697593409589),
("<time-of-day> am|pmon <date>", -4.145399733022385),
("Thursdaydd/mm", -5.3981627015177525),
("dayyear", -3.095577608523707),
("Sundayyear", -4.705015520957807),
("Thursdayat <time-of-day>", -4.145399733022385),
-5.407171771460119),
("absorption of , after named dayJuly", -5.001706663351954),
("monthhour", -5.407171771460119),
("hourmonth", -4.7140245909001735),
("todayat <time-of-day>", -5.407171771460119),
("from|since|after <time-of-day>July", -5.407171771460119),
("dayday", -5.001706663351954),
("dd/mmat <time-of-day>", -5.001706663351954),
("<time-of-day> am|pmon <date>", -4.154408802964751),
("Thursdaydd/mm", -5.407171771460119),
("dayyear", -3.0557965142966412),
("Sundayyear", -4.7140245909001735),
("Thursdayat <time-of-day>", -4.154408802964751),
("<integer> to|till|before <hour-of-day>September",
-5.3981627015177525),
("monthminute", -5.3981627015177525),
("<time-of-day> am|pmtomorrow", -5.3981627015177525),
("Thursdayhh:mm", -4.481871969643597),
-5.407171771460119),
("monthminute", -5.407171771460119),
("<time-of-day> am|pmtomorrow", -5.407171771460119),
("Thursdayhh:mm", -4.490881039585964),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3981627015177525),
("Fridayyear", -4.992697593409589),
("minutemonth", -3.606403232289698),
("Sundayfrom|since|after <time-of-day>", -5.3981627015177525),
-5.407171771460119),
("Fridayyear", -5.001706663351954),
("minutemonth", -3.615412302232064),
("Sundayfrom|since|after <time-of-day>", -5.407171771460119),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.992697593409589),
-5.001706663351954),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.992697593409589),
("Aprilyear", -5.3981627015177525),
-5.001706663351954),
("Aprilyear", -5.407171771460119),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3981627015177525),
-5.407171771460119),
("dd/mm<time-of-day> - <time-of-day> (interval)",
-4.992697593409589),
("Christmasat <time-of-day>", -5.3981627015177525),
-5.001706663351954),
("Christmasat <time-of-day>", -5.407171771460119),
("<duration> after|before|from <time>December",
-5.3981627015177525),
("yesterday<time-of-day> am|pm", -5.3981627015177525),
-5.407171771460119),
("yesterday<time-of-day> am|pm", -5.407171771460119),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.481871969643597),
-4.490881039585964),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.992697593409589),
("Bank Holidayyear", -4.705015520957807),
-5.001706663351954),
("Bank Holidayyear", -4.7140245909001735),
("<named-month> <day-of-month> (non ordinal)August",
-5.3981627015177525),
("until <time-of-day>on <date>", -4.705015520957807),
("Mondayyear", -4.705015520957807),
("Saturdayyear", -5.3981627015177525),
("at <time-of-day>intersect", -4.992697593409589),
-5.407171771460119),
("until <time-of-day>on <date>", -4.7140245909001735),
("Mondayyear", -4.7140245909001735),
("Saturdayyear", -5.407171771460119),
("at <time-of-day>intersect", -5.001706663351954),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3981627015177525),
("dayminute", -2.8724340572094973),
("intersectSeptember", -3.8940853047414787),
-5.407171771460119),
("dayminute", -2.8814431271518632),
("intersectSeptember", -3.9030943746838447),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3981627015177525),
("minuteday", -2.480391969433474),
-5.407171771460119),
("minuteday", -2.4894010393758395),
("absorption of , after named dayintersect",
-5.3981627015177525),
("Februaryin|during the <part-of-day>", -5.3981627015177525),
("week-endin <named-month>", -5.3981627015177525),
("Octoberyear", -5.3981627015177525),
("from|since|after <time-of-day>year", -5.3981627015177525),
("yearhh:mm", -5.3981627015177525),
("hh:mmon <date>", -3.8940853047414787),
-5.407171771460119),
("Februaryin|during the <part-of-day>", -5.407171771460119),
("week-endin <named-month>", -5.407171771460119),
("Octoberyear", -5.407171771460119),
("from|since|after <time-of-day>year", -5.407171771460119),
("yearhh:mm", -5.407171771460119),
("hh:mmon <date>", -3.9030943746838447),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3981627015177525),
-5.407171771460119),
("absorption of , after named daySeptember",
-4.481871969643597),
("on <date>September", -4.992697593409589),
("at <time-of-day>on <date>", -4.992697593409589),
("dayweek", -5.3981627015177525),
("Thursday<time-of-day> am|pm", -4.992697593409589),
("absorption of , after named dayFebruary", -4.481871969643597),
-4.490881039585964),
("on <date>September", -5.001706663351954),
("at <time-of-day>on <date>", -5.001706663351954),
("dayweek", -5.407171771460119),
("Thursday<time-of-day> am|pm", -5.001706663351954),
("absorption of , after named dayFebruary", -4.490881039585964),
("July<integer> to|till|before <hour-of-day>",
-5.3981627015177525),
("tomorrowat <time-of-day>", -5.3981627015177525),
-5.407171771460119),
("tomorrowat <time-of-day>", -5.407171771460119),
("<integer> to|till|before <hour-of-day>July",
-5.3981627015177525),
("Thursdayfrom|since|after <time-of-day>", -3.7887247890836524),
("tomorrow<time-of-day> am|pm", -5.3981627015177525),
("Tuesdayfrom|since|after <time-of-day>", -5.3981627015177525),
("yearminute", -5.3981627015177525)],
n = 143}}),
-5.407171771460119),
("Thursdayfrom|since|after <time-of-day>", -3.7977338590260183),
("tomorrow<time-of-day> am|pm", -5.407171771460119),
("Tuesdayfrom|since|after <time-of-day>", -5.407171771460119),
("yearminute", -5.407171771460119)],
n = 144}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1497,6 +1501,13 @@ classifiers
koData =
ClassData{prior = -1.252762968495368, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1554,14 +1565,14 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.27369583047704105, unseen = -4.07753744390572,
ClassData{prior = -0.26933293378358447, unseen = -4.0943445622221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -9.015109699429745e-2),
("intersect 2 numbers", -2.9618307218783095)],
n = 54},
[("integer (numeric)", -8.855339734144506e-2),
("intersect 2 numbers", -2.9789251552376097)],
n = 55},
koData =
ClassData{prior = -1.4294665329850993,
ClassData{prior = -1.4434527749598391,
unseen = -3.0910424533583156,
likelihoods =
HashMap.fromList
@ -2213,13 +2224,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("Thursdaydd/mm", -5.3471075307174685),
("dayyear", -3.2070413672211977),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("Thursdaydd/mm", -5.356586274672012),
("dayyear", -3.159361697335793),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("Thursdaydd/mm", -5.3471075307174685),
("dayyear", -3.2070413672211977),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("Thursdaydd/mm", -5.356586274672012),
("dayyear", -3.159361697335793),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("Thursdaydd/mm", -5.3471075307174685),
("dayyear", -3.2070413672211977),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("Thursdaydd/mm", -5.356586274672012),
("dayyear", -3.159361697335793),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("Thursdaydd/mm", -5.3471075307174685),
("dayyear", -3.2070413672211977),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("Thursdaydd/mm", -5.356586274672012),
("dayyear", -3.159361697335793),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("dayyear", -3.2070413672211977),
("Thursdaymm/dd", -5.3471075307174685),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("dayyear", -3.159361697335793),
("Thursdaymm/dd", -5.356586274672012),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("Thursdaydd/mm", -5.3471075307174685),
("dayyear", -3.2070413672211977),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("Thursdaydd/mm", -5.356586274672012),
("dayyear", -3.159361697335793),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -69,10 +69,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7267234760935496, unseen = -5.332718793265369,
likelihoods = HashMap.fromList [("", 0.0)], n = 205},
ClassData{prior = -0.7242130001348358, unseen = -5.337538079701318,
likelihoods = HashMap.fromList [("", 0.0)], n = 206},
koData =
ClassData{prior = -0.660661725415457, unseen = -5.3981627015177525,
ClassData{prior = -0.6630174391079161,
unseen = -5.3981627015177525,
likelihoods = HashMap.fromList [("", 0.0)], n = 219}}),
("<duration> hence|ago",
Classifier{okData =
@ -664,271 +665,277 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4875479388966451, unseen = -6.416732282512326,
ClassData{prior = -0.48855298815686754,
unseen = -6.423246963533519,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.469186810116282),
("Lentyear", -5.72194977861165),
-4.475712118751204),
("Lentyear", -5.728475087246572),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.469186810116282),
("hourday", -4.017201686373225),
("dayhour", -2.8315780207154853),
("daymonth", -5.028802598051705),
("monthday", -5.316484670503486),
("monthyear", -4.11251186617755),
("Tuesdaythe <day-of-month> (ordinal)", -5.72194977861165),
("Easter Sundayyear", -5.028802598051705),
("Christmasyear", -5.316484670503486),
-4.475712118751204),
("hourday", -4.023726995008147),
("dayhour", -2.8381033293504077),
("daymonth", -5.035327906686628),
("monthday", -5.3230099791384085),
("monthyear", -4.119037174812472),
("Tuesdaythe <day-of-month> (ordinal)", -5.728475087246572),
("Easter Sundayyear", -5.035327906686628),
("Christmasyear", -5.3230099791384085),
("from <datetime> - <datetime> (interval)July",
-5.72194977861165),
("houryear", -5.316484670503486),
-5.728475087246572),
("houryear", -5.3230099791384085),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.72194977861165),
("Christmas<time-of-day> am|pm", -5.72194977861165),
-5.728475087246572),
("Christmas<time-of-day> am|pm", -5.728475087246572),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-5.028802598051705),
("<time-of-day> am|pmintersect", -4.469186810116282),
-5.035327906686628),
("<time-of-day> am|pmintersect", -4.475712118751204),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.72194977861165),
("Marchyear", -5.72194977861165),
-5.728475087246572),
("Marchyear", -5.728475087246572),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.316484670503486),
("intersect<time-of-day> am|pm", -5.72194977861165),
("Clean Mondayyear", -5.316484670503486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.72194977861165),
("monthhour", -5.316484670503486),
("last <day-of-week> of <time>year", -5.72194977861165),
("todayat <time-of-day>", -5.72194977861165),
("Thursday<time> timezone", -4.017201686373225),
("this <time>hh(:mm) - <time-of-day> am|pm", -5.72194977861165),
("Palm SundaySunday", -5.316484670503486),
("dayday", -3.5247252012754307),
("Thanksgiving Dayyear", -4.62333748994354),
("<time> <part-of-day>at <time-of-day>", -5.72194977861165),
("Tuesdayin <named-month>", -5.72194977861165),
("mm/ddat <time-of-day>", -5.72194977861165),
("tonightat <time-of-day>", -5.72194977861165),
-5.3230099791384085),
("intersect<time-of-day> am|pm", -5.728475087246572),
("Clean Mondayyear", -5.3230099791384085),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.728475087246572),
("monthhour", -5.3230099791384085),
("last <day-of-week> of <time>year", -5.728475087246572),
("todayat <time-of-day>", -5.728475087246572),
("Thursday<time> timezone", -4.023726995008147),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.728475087246572),
("Palm SundaySunday", -5.3230099791384085),
("dayday", -3.531250509910353),
("Thanksgiving Dayyear", -4.629862798578463),
("<time> <part-of-day>at <time-of-day>", -5.728475087246572),
("Tuesdayin <named-month>", -5.728475087246572),
("mm/ddat <time-of-day>", -5.728475087246572),
("tonightat <time-of-day>", -5.728475087246572),
("<time-of-day> am|pmabsorption of , after named day",
-5.028802598051705),
("today<time-of-day> am|pm", -5.72194977861165),
("Februarythe <day-of-month> (ordinal)", -5.316484670503486),
("at <time-of-day><time> <part-of-day>", -5.72194977861165),
("mm/dd<time-of-day> am|pm", -5.72194977861165),
("hourhour", -4.469186810116282),
("<time-of-day> am|pmon <date>", -3.707046758069385),
("Wednesdaythis|last|next <cycle>", -5.72194977861165),
-5.035327906686628),
("today<time-of-day> am|pm", -5.728475087246572),
("Februarythe <day-of-month> (ordinal)", -5.3230099791384085),
("at <time-of-day><time> <part-of-day>", -5.728475087246572),
("mm/dd<time-of-day> am|pm", -5.728475087246572),
("hourhour", -4.475712118751204),
("<time-of-day> am|pmon <date>", -3.713572066704308),
("Wednesdaythis|last|next <cycle>", -5.728475087246572),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.217872381835376),
("dayyear", -2.677427340888227),
("last weekend of <named-month>year", -5.72194977861165),
-4.2243976904702984),
("dayyear", -2.6604221521129556),
("last weekend of <named-month>year", -5.728475087246572),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.72194977861165),
("Sundayyear", -5.72194977861165),
("Thursdayat <time-of-day>", -5.316484670503486),
("<time-of-day> am|pmtomorrow", -5.028802598051705),
("minutehour", -4.805659046737495),
("Mother's Dayyear", -5.72194977861165),
-5.728475087246572),
("Sundayyear", -5.728475087246572),
("Chinese New Yearyear", -5.728475087246572),
("Thursdayat <time-of-day>", -5.3230099791384085),
("<time-of-day> am|pmtomorrow", -5.035327906686628),
("minutehour", -4.812184355372417),
("Mother's Dayyear", -5.728475087246572),
("at <time-of-day>in|during the <part-of-day>",
-5.316484670503486),
-5.3230099791384085),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-4.017201686373225),
("for <duration> from <time>December", -5.72194977861165),
("tomorrow<time-of-day> sharp|exactly", -5.72194977861165),
-4.023726995008147),
("for <duration> from <time>December", -5.728475087246572),
("tomorrow<time-of-day> sharp|exactly", -5.728475087246572),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.805659046737495),
-4.812184355372417),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.316484670503486),
-5.3230099791384085),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.805659046737495),
("Mondayin|during the <part-of-day>", -5.72194977861165),
("Shrove Tuesdayyear", -5.72194977861165),
("<part-of-day> of <time>year", -5.72194977861165),
-4.812184355372417),
("Mondayin|during the <part-of-day>", -5.728475087246572),
("Shrove Tuesdayyear", -5.728475087246572),
("<part-of-day> of <time>year", -5.728475087246572),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.316484670503486),
("National Grandparents Dayyear", -5.72194977861165),
("intersectin|during the <part-of-day>", -5.72194977861165),
("Christmasat <time-of-day>", -5.72194977861165),
-5.3230099791384085),
("National Grandparents Dayyear", -5.728475087246572),
("intersectin|during the <part-of-day>", -5.728475087246572),
("Christmasat <time-of-day>", -5.728475087246572),
("Thursday<datetime> - <datetime> (interval)",
-4.805659046737495),
-4.812184355372417),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.72194977861165),
-5.728475087246572),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.469186810116282),
-4.475712118751204),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-5.028802598051705),
-5.035327906686628),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.805659046737495),
("at <time-of-day>intersect", -5.316484670503486),
-4.812184355372417),
("at <time-of-day>intersect", -5.3230099791384085),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.72194977861165),
-5.728475087246572),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.72194977861165),
("dayminute", -3.0478011291851215),
("Orthodox Easter Sundayyear", -5.72194977861165),
-5.728475087246572),
("dayminute", -3.054326437820044),
("Orthodox Easter Sundayyear", -5.728475087246572),
("from <datetime> - <datetime> (interval)on <date>",
-5.316484670503486),
("intersectyear", -5.72194977861165),
-5.3230099791384085),
("intersectyear", -5.728475087246572),
("<datetime> - <datetime> (interval)tomorrow",
-5.72194977861165),
-5.728475087246572),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.316484670503486),
("<ordinal> <cycle> of <time>year", -5.72194977861165),
("minuteday", -2.2562138758119232),
("absorption of , after named dayintersect", -5.72194977861165),
("Octoberyear", -4.469186810116282),
-5.3230099791384085),
("<ordinal> <cycle> of <time>year", -5.728475087246572),
("minuteday", -2.262739184446846),
("absorption of , after named dayintersect",
-5.728475087246572),
("Octoberyear", -4.475712118751204),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.72194977861165),
-5.728475087246572),
("at <time-of-day>absorption of , after named day",
-5.72194977861165),
-5.728475087246572),
("<day-of-month> (ordinal or number) <named-month>year",
-5.72194977861165),
("year<time-of-day> am|pm", -5.72194977861165),
("Cyber Mondayyear", -5.316484670503486),
("Septemberyear", -5.316484670503486),
("at <time-of-day>on <date>", -4.62333748994354),
-5.728475087246572),
("year<time-of-day> am|pm", -5.728475087246572),
("Cyber Mondayyear", -5.3230099791384085),
("Septemberyear", -5.3230099791384085),
("at <time-of-day>on <date>", -4.629862798578463),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-5.028802598051705),
("Halloweenyear", -5.72194977861165),
("dayweek", -5.72194977861165),
("Lazarus Saturdayyear", -5.72194977861165),
("Thursday<time-of-day> am|pm", -5.72194977861165),
("weekyear", -5.316484670503486),
("hh:mmin|during the <part-of-day>", -5.028802598051705),
("Father's Dayyear", -5.72194977861165),
-5.035327906686628),
("Halloweenyear", -5.728475087246572),
("dayweek", -5.728475087246572),
("Lazarus Saturdayyear", -5.728475087246572),
("Thursday<time-of-day> am|pm", -5.728475087246572),
("weekyear", -5.3230099791384085),
("hh:mmin|during the <part-of-day>", -5.035327906686628),
("Father's Dayyear", -5.728475087246572),
("<cycle> after|before <time><time-of-day> am|pm",
-5.316484670503486),
("February<time> <part-of-day>", -5.72194977861165),
("Martin Luther King's Dayyear", -5.316484670503486),
("Military Spouse Dayyear", -5.72194977861165),
("tomorrowat <time-of-day>", -5.028802598051705),
("between <time> and <time>on <date>", -5.028802598051705),
("Thursdayfrom|since|after <time-of-day>", -5.028802598051705),
("at <time-of-day>tomorrow", -5.316484670503486),
("tomorrow<time-of-day> am|pm", -5.72194977861165),
("Pentecostyear", -5.72194977861165),
-5.3230099791384085),
("February<time> <part-of-day>", -5.728475087246572),
("Martin Luther King's Dayyear", -5.3230099791384085),
("Military Spouse Dayyear", -5.728475087246572),
("tomorrowat <time-of-day>", -5.035327906686628),
("between <time> and <time>on <date>", -5.035327906686628),
("Thursdayfrom|since|after <time-of-day>", -5.035327906686628),
("at <time-of-day>tomorrow", -5.3230099791384085),
("tomorrow<time-of-day> am|pm", -5.728475087246572),
("Pentecostyear", -5.728475087246572),
("in|during the <part-of-day>at <time-of-day>",
-5.72194977861165),
("Palm Sundayintersect", -5.72194977861165),
("Labor Dayyear", -5.72194977861165),
("Great Lentyear", -5.72194977861165),
("Februaryintersect", -5.72194977861165),
("last <cycle> of <time>year", -5.028802598051705),
-5.728475087246572),
("Palm Sundayintersect", -5.728475087246572),
("Labor Dayyear", -5.728475087246572),
("Great Lentyear", -5.728475087246572),
("Februaryintersect", -5.728475087246572),
("last <cycle> of <time>year", -5.035327906686628),
("<named-month> <day-of-month> (non ordinal)year",
-5.72194977861165),
("President's Dayyear", -5.72194977861165),
("yearminute", -5.72194977861165),
("Black Fridayyear", -5.316484670503486)],
n = 226},
-5.728475087246572),
("President's Dayyear", -5.728475087246572),
("yearminute", -5.728475087246572),
("Black Fridayyear", -5.3230099791384085)],
n = 227},
koData =
ClassData{prior = -0.9522558805676702, unseen = -6.095824562432225,
ClassData{prior = -0.9506583753783628, unseen = -6.104793232414985,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.40042258948519),
[("in <named-month>year", -5.409411414053624),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.40042258948519),
("hourday", -5.40042258948519),
-5.409411414053624),
("hourday", -5.409411414053624),
("<named-month> <day-of-month> (non ordinal)July",
-5.40042258948519),
("dayhour", -2.958075554115986),
("daymonth", -3.3209810478053545),
("monthday", -4.994957481377026),
("monthyear", -4.707275408925245),
("intersecthh:mm", -5.40042258948519),
("Easter Sundayyear", -4.994957481377026),
-5.409411414053624),
("New Year's Dayyear", -5.409411414053624),
("dayhour", -2.967064378684419),
("daymonth", -3.3299698723737876),
("monthday", -5.003946305945459),
("monthyear", -4.716264233493678),
("intersecthh:mm", -5.409411414053624),
("Easter Sundayyear", -5.003946305945459),
("from <datetime> - <datetime> (interval)July",
-5.40042258948519),
("houryear", -5.40042258948519),
-5.409411414053624),
("houryear", -5.409411414053624),
("from <time-of-day> - <time-of-day> (interval)July",
-5.40042258948519),
("until <time-of-day><time-of-day> am|pm", -5.40042258948519),
-5.409411414053624),
("until <time-of-day><time-of-day> am|pm", -5.409411414053624),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.707275408925245),
("<time-of-day> am|pmintersect", -4.147659620989822),
-4.716264233493678),
("<time-of-day> am|pmintersect", -4.156648445558256),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.484131857611035),
("Clean Mondayyear", -5.40042258948519),
("from|since|after <time-of-day>on <date>", -4.484131857611035),
-4.493120682179469),
("Clean Mondayyear", -5.409411414053624),
("from|since|after <time-of-day>on <date>", -4.493120682179469),
("July<day-of-month> (ordinal or number) <named-month>",
-5.40042258948519),
("absorption of , after named dayJuly", -4.994957481377026),
("monthhour", -5.40042258948519),
("hourmonth", -4.707275408925245),
("todayat <time-of-day>", -5.40042258948519),
("from|since|after <time-of-day>July", -5.40042258948519),
("dayday", -4.994957481377026),
("mm/ddat <time-of-day>", -4.994957481377026),
("<time-of-day> am|pmon <date>", -4.147659620989822),
("dayyear", -3.149130790878695),
("Thursdaymm/dd", -5.40042258948519),
("Sundayyear", -4.707275408925245),
("Thursdayat <time-of-day>", -4.147659620989822),
-5.409411414053624),
("absorption of , after named dayJuly", -5.003946305945459),
("monthhour", -5.409411414053624),
("hourmonth", -4.716264233493678),
("todayat <time-of-day>", -5.409411414053624),
("from|since|after <time-of-day>July", -5.409411414053624),
("dayday", -5.003946305945459),
("mm/ddat <time-of-day>", -5.003946305945459),
("<time-of-day> am|pmon <date>", -4.156648445558256),
("dayyear", -3.106826321059578),
("Thursdaymm/dd", -5.409411414053624),
("Sundayyear", -4.716264233493678),
("Thursdayat <time-of-day>", -4.156648445558256),
("<integer> to|till|before <hour-of-day>September",
-5.40042258948519),
("monthminute", -5.40042258948519),
("<time-of-day> am|pmtomorrow", -5.40042258948519),
("Thursdayhh:mm", -4.484131857611035),
-5.409411414053624),
("monthminute", -5.409411414053624),
("<time-of-day> am|pmtomorrow", -5.409411414053624),
("Thursdayhh:mm", -4.493120682179469),
("August<day-of-month> (ordinal or number) <named-month>",
-5.40042258948519),
("Fridayyear", -4.994957481377026),
("minutemonth", -3.6086631202571353),
("Sundayfrom|since|after <time-of-day>", -5.40042258948519),
-5.409411414053624),
("Fridayyear", -5.003946305945459),
("minutemonth", -3.6176519448255684),
("Sundayfrom|since|after <time-of-day>", -5.409411414053624),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.994957481377026),
-5.003946305945459),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.994957481377026),
("Aprilyear", -5.40042258948519),
-5.003946305945459),
("Aprilyear", -5.409411414053624),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-4.994957481377026),
-5.003946305945459),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.40042258948519),
("Christmasat <time-of-day>", -5.40042258948519),
-5.409411414053624),
("Christmasat <time-of-day>", -5.409411414053624),
("<duration> after|before|from <time>December",
-5.40042258948519),
("yesterday<time-of-day> am|pm", -5.40042258948519),
-5.409411414053624),
("yesterday<time-of-day> am|pm", -5.409411414053624),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.484131857611035),
-4.493120682179469),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.994957481377026),
-5.003946305945459),
("<named-month> <day-of-month> (non ordinal)August",
-5.40042258948519),
("until <time-of-day>on <date>", -4.707275408925245),
("Mondayyear", -4.30181030081708),
("Saturdayyear", -5.40042258948519),
("at <time-of-day>intersect", -4.994957481377026),
-5.409411414053624),
("until <time-of-day>on <date>", -4.716264233493678),
("Mondayyear", -4.310799125385514),
("Saturdayyear", -5.409411414053624),
("at <time-of-day>intersect", -5.003946305945459),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.40042258948519),
("dayminute", -2.874693945176935),
("intersectSeptember", -3.896345192708916),
-5.409411414053624),
("dayminute", -2.883682769745368),
("intersectSeptember", -3.9053340172773496),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.40042258948519),
("minuteday", -2.4826518574009113),
("absorption of , after named dayintersect", -5.40042258948519),
("Februaryin|during the <part-of-day>", -5.40042258948519),
("week-endin <named-month>", -5.40042258948519),
("Octoberyear", -5.40042258948519),
("from|since|after <time-of-day>year", -5.40042258948519),
("yearhh:mm", -5.40042258948519),
("hh:mmon <date>", -3.896345192708916),
-5.409411414053624),
("minuteday", -2.4916406819693444),
("absorption of , after named dayintersect",
-5.409411414053624),
("Februaryin|during the <part-of-day>", -5.409411414053624),
("week-endin <named-month>", -5.409411414053624),
("Octoberyear", -5.409411414053624),
("from|since|after <time-of-day>year", -5.409411414053624),
("yearhh:mm", -5.409411414053624),
("hh:mmon <date>", -3.9053340172773496),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.40042258948519),
-5.409411414053624),
("absorption of , after named daySeptember",
-4.484131857611035),
("on <date>September", -4.994957481377026),
("at <time-of-day>on <date>", -4.994957481377026),
("dayweek", -5.40042258948519),
("Thursday<time-of-day> am|pm", -4.994957481377026),
("absorption of , after named dayFebruary", -4.484131857611035),
-4.493120682179469),
("on <date>September", -5.003946305945459),
("at <time-of-day>on <date>", -5.003946305945459),
("dayweek", -5.409411414053624),
("Thursday<time-of-day> am|pm", -5.003946305945459),
("absorption of , after named dayFebruary", -4.493120682179469),
("July<integer> to|till|before <hour-of-day>",
-5.40042258948519),
("tomorrowat <time-of-day>", -5.40042258948519),
-5.409411414053624),
("tomorrowat <time-of-day>", -5.409411414053624),
("<integer> to|till|before <hour-of-day>July",
-5.40042258948519),
("Thursdayfrom|since|after <time-of-day>", -3.7909846770510898),
("tomorrow<time-of-day> am|pm", -5.40042258948519),
("Tuesdayfrom|since|after <time-of-day>", -5.40042258948519),
("yearminute", -5.40042258948519)],
n = 142}}),
-5.409411414053624),
("Thursdayfrom|since|after <time-of-day>", -3.7999735016195233),
("tomorrow<time-of-day> am|pm", -5.409411414053624),
("Tuesdayfrom|since|after <time-of-day>", -5.409411414053624),
("yearminute", -5.409411414053624)],
n = 143}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1526,6 +1533,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1583,15 +1597,15 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.25131442828090605,
unseen = -4.110873864173311,
ClassData{prior = -0.24740817331384096,
unseen = -4.127134385045092,
likelihoods =
HashMap.fromList
[("integer (numeric)", -8.701137698962981e-2),
("intersect 2 numbers", -2.995732273553991)],
n = 56},
[("integer (numeric)", -8.5522173438162e-2),
("intersect 2 numbers", -3.012261575505202)],
n = 57},
koData =
ClassData{prior = -1.5040773967762742, unseen = -3.044522437723423,
ClassData{prior = -1.51787071890861, unseen = -3.044522437723423,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.5978370007556204),
@ -2261,13 +2275,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,10 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.7402438642230443, unseen = -5.293304824724492,
likelihoods = HashMap.fromList [("", 0.0)], n = 197},
ClassData{prior = -0.7375989431307791, unseen = -5.298317366548036,
likelihoods = HashMap.fromList [("", 0.0)], n = 198},
koData =
ClassData{prior = -0.6481691852768677, unseen = -5.384495062789089,
ClassData{prior = -0.6505875661411494, unseen = -5.384495062789089,
likelihoods = HashMap.fromList [("", 0.0)], n = 216}}),
("<duration> hence|ago",
Classifier{okData =
@ -643,267 +643,268 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.49603792361161136,
unseen = -6.3784261836515865,
ClassData{prior = -0.49703230163365497,
unseen = -6.385194398997726,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.430816798843313),
("Lentyear", -5.683579767338681),
-4.437596485828692),
("Lentyear", -5.69035945432406),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.430816798843313),
("hourday", -3.9788316751002566),
("dayhour", -2.793208009442517),
("daymonth", -4.990432586778736),
("monthday", -5.278114659230518),
("monthyear", -4.074141854904581),
("Tuesdaythe <day-of-month> (ordinal)", -5.683579767338681),
("Easter Sundayyear", -4.990432586778736),
("Christmasyear", -5.278114659230518),
-4.437596485828692),
("hourday", -3.9856113620856353),
("dayhour", -2.7999876964278956),
("daymonth", -4.997212273764115),
("monthday", -5.284894346215896),
("monthyear", -4.08092154188996),
("Tuesdaythe <day-of-month> (ordinal)", -5.69035945432406),
("Easter Sundayyear", -4.997212273764115),
("Christmasyear", -5.284894346215896),
("from <datetime> - <datetime> (interval)July",
-5.683579767338681),
("houryear", -5.278114659230518),
-5.69035945432406),
("houryear", -5.284894346215896),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.683579767338681),
("Christmas<time-of-day> am|pm", -5.683579767338681),
-5.69035945432406),
("Christmas<time-of-day> am|pm", -5.69035945432406),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.990432586778736),
("<time-of-day> am|pmintersect", -4.430816798843313),
-4.997212273764115),
("<time-of-day> am|pmintersect", -4.437596485828692),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.683579767338681),
("Marchyear", -5.683579767338681),
-5.69035945432406),
("Marchyear", -5.69035945432406),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.278114659230518),
("intersect<time-of-day> am|pm", -5.683579767338681),
("Clean Mondayyear", -5.278114659230518),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.683579767338681),
("monthhour", -5.278114659230518),
("last <day-of-week> of <time>year", -5.683579767338681),
("todayat <time-of-day>", -5.683579767338681),
("Thursday<time> timezone", -3.9788316751002566),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.683579767338681),
("Palm SundaySunday", -5.278114659230518),
("dayday", -3.4863551900024623),
("Thanksgiving Dayyear", -4.584967478670572),
("<time> <part-of-day>at <time-of-day>", -5.683579767338681),
("Tuesdayin <named-month>", -5.683579767338681),
("mm/ddat <time-of-day>", -5.683579767338681),
("tonightat <time-of-day>", -5.683579767338681),
-5.284894346215896),
("intersect<time-of-day> am|pm", -5.69035945432406),
("Clean Mondayyear", -5.284894346215896),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.69035945432406),
("monthhour", -5.284894346215896),
("last <day-of-week> of <time>year", -5.69035945432406),
("todayat <time-of-day>", -5.69035945432406),
("Thursday<time> timezone", -3.9856113620856353),
("this <time>hh(:mm) - <time-of-day> am|pm", -5.69035945432406),
("Palm SundaySunday", -5.284894346215896),
("dayday", -3.493134876987841),
("Thanksgiving Dayyear", -4.591747165655951),
("<time> <part-of-day>at <time-of-day>", -5.69035945432406),
("Tuesdayin <named-month>", -5.69035945432406),
("mm/ddat <time-of-day>", -5.69035945432406),
("tonightat <time-of-day>", -5.69035945432406),
("<time-of-day> am|pmabsorption of , after named day",
-4.990432586778736),
("today<time-of-day> am|pm", -5.683579767338681),
("Februarythe <day-of-month> (ordinal)", -5.278114659230518),
("at <time-of-day><time> <part-of-day>", -5.683579767338681),
("mm/dd<time-of-day> am|pm", -5.683579767338681),
("hourhour", -4.430816798843313),
("<time-of-day> am|pmon <date>", -3.6686767467964168),
("Wednesdaythis|last|next <cycle>", -5.683579767338681),
-4.997212273764115),
("today<time-of-day> am|pm", -5.69035945432406),
("Februarythe <day-of-month> (ordinal)", -5.284894346215896),
("at <time-of-day><time> <part-of-day>", -5.69035945432406),
("mm/dd<time-of-day> am|pm", -5.69035945432406),
("hourhour", -4.437596485828692),
("<time-of-day> am|pmon <date>", -3.6754564337817954),
("Wednesdaythis|last|next <cycle>", -5.69035945432406),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.179502370562408),
("dayyear", -2.8503664232824657),
("last weekend of <named-month>year", -5.683579767338681),
-4.186282057547786),
("dayyear", -2.828158573394592),
("last weekend of <named-month>year", -5.69035945432406),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.683579767338681),
("Sundayyear", -5.683579767338681),
("Thursdayat <time-of-day>", -5.278114659230518),
("<time-of-day> am|pmtomorrow", -4.990432586778736),
("minutehour", -4.767289035464526),
-5.69035945432406),
("Sundayyear", -5.69035945432406),
("Chinese New Yearyear", -5.69035945432406),
("Thursdayat <time-of-day>", -5.284894346215896),
("<time-of-day> am|pmtomorrow", -4.997212273764115),
("minutehour", -4.774068722449905),
("at <time-of-day>in|during the <part-of-day>",
-5.278114659230518),
-5.284894346215896),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.9788316751002566),
("for <duration> from <time>December", -5.683579767338681),
("tomorrow<time-of-day> sharp|exactly", -5.683579767338681),
-3.9856113620856353),
("for <duration> from <time>December", -5.69035945432406),
("tomorrow<time-of-day> sharp|exactly", -5.69035945432406),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.767289035464526),
-4.774068722449905),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.278114659230518),
-5.284894346215896),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.767289035464526),
("Mondayin|during the <part-of-day>", -5.683579767338681),
("Shrove Tuesdayyear", -5.683579767338681),
("<part-of-day> of <time>year", -5.683579767338681),
-4.774068722449905),
("Mondayin|during the <part-of-day>", -5.69035945432406),
("Shrove Tuesdayyear", -5.69035945432406),
("<part-of-day> of <time>year", -5.69035945432406),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.278114659230518),
("intersectin|during the <part-of-day>", -5.683579767338681),
("Christmasat <time-of-day>", -5.683579767338681),
-5.284894346215896),
("intersectin|during the <part-of-day>", -5.69035945432406),
("Christmasat <time-of-day>", -5.69035945432406),
("Thursday<datetime> - <datetime> (interval)",
-4.767289035464526),
-4.774068722449905),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.683579767338681),
-5.69035945432406),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.430816798843313),
-4.437596485828692),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.990432586778736),
-4.997212273764115),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.767289035464526),
("at <time-of-day>intersect", -5.278114659230518),
-4.774068722449905),
("at <time-of-day>intersect", -5.284894346215896),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.683579767338681),
-5.69035945432406),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.683579767338681),
("dayminute", -3.009431117912153),
("Orthodox Easter Sundayyear", -5.683579767338681),
-5.69035945432406),
("dayminute", -3.016210804897532),
("Orthodox Easter Sundayyear", -5.69035945432406),
("from <datetime> - <datetime> (interval)on <date>",
-5.278114659230518),
("intersectyear", -5.683579767338681),
-5.284894346215896),
("intersectyear", -5.69035945432406),
("<datetime> - <datetime> (interval)tomorrow",
-5.683579767338681),
-5.69035945432406),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.278114659230518),
("<ordinal> <cycle> of <time>year", -5.683579767338681),
("minuteday", -2.2178438645389553),
("absorption of , after named dayintersect",
-5.683579767338681),
("Octoberyear", -4.430816798843313),
-5.284894346215896),
("<ordinal> <cycle> of <time>year", -5.69035945432406),
("minuteday", -2.2246235515243336),
("absorption of , after named dayintersect", -5.69035945432406),
("Octoberyear", -4.437596485828692),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.683579767338681),
-5.69035945432406),
("at <time-of-day>absorption of , after named day",
-5.683579767338681),
-5.69035945432406),
("<day-of-month> (ordinal or number) <named-month>year",
-5.683579767338681),
("year<time-of-day> am|pm", -5.683579767338681),
("Septemberyear", -5.278114659230518),
("at <time-of-day>on <date>", -4.584967478670572),
-5.69035945432406),
("year<time-of-day> am|pm", -5.69035945432406),
("Septemberyear", -5.284894346215896),
("at <time-of-day>on <date>", -4.591747165655951),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.990432586778736),
("Halloweenyear", -5.683579767338681),
("dayweek", -5.683579767338681),
("Lazarus Saturdayyear", -5.683579767338681),
("Thursday<time-of-day> am|pm", -5.683579767338681),
("weekyear", -5.278114659230518),
("hh:mmin|during the <part-of-day>", -4.990432586778736),
-4.997212273764115),
("Halloweenyear", -5.69035945432406),
("dayweek", -5.69035945432406),
("Lazarus Saturdayyear", -5.69035945432406),
("Thursday<time-of-day> am|pm", -5.69035945432406),
("weekyear", -5.284894346215896),
("hh:mmin|during the <part-of-day>", -4.997212273764115),
("<cycle> after|before <time><time-of-day> am|pm",
-5.278114659230518),
("February<time> <part-of-day>", -5.683579767338681),
("Martin Luther King's Dayyear", -5.278114659230518),
("tomorrowat <time-of-day>", -4.990432586778736),
("between <time> and <time>on <date>", -4.990432586778736),
("Thursdayfrom|since|after <time-of-day>", -4.990432586778736),
("at <time-of-day>tomorrow", -5.278114659230518),
("tomorrow<time-of-day> am|pm", -5.683579767338681),
("Pentecostyear", -5.683579767338681),
-5.284894346215896),
("February<time> <part-of-day>", -5.69035945432406),
("Martin Luther King's Dayyear", -5.284894346215896),
("tomorrowat <time-of-day>", -4.997212273764115),
("between <time> and <time>on <date>", -4.997212273764115),
("Thursdayfrom|since|after <time-of-day>", -4.997212273764115),
("at <time-of-day>tomorrow", -5.284894346215896),
("tomorrow<time-of-day> am|pm", -5.69035945432406),
("Pentecostyear", -5.69035945432406),
("in|during the <part-of-day>at <time-of-day>",
-5.683579767338681),
("Palm Sundayintersect", -5.683579767338681),
("Great Lentyear", -5.683579767338681),
("Februaryintersect", -5.683579767338681),
("last <cycle> of <time>year", -4.990432586778736),
-5.69035945432406),
("Palm Sundayintersect", -5.69035945432406),
("Great Lentyear", -5.69035945432406),
("Februaryintersect", -5.69035945432406),
("last <cycle> of <time>year", -4.997212273764115),
("<named-month> <day-of-month> (non ordinal)year",
-5.683579767338681),
("yearminute", -5.683579767338681),
("Black Fridayyear", -5.278114659230518)],
n = 218},
-5.69035945432406),
("yearminute", -5.69035945432406),
("Black Fridayyear", -5.284894346215896)],
n = 219},
koData =
ClassData{prior = -0.938890563791396, unseen = -6.07073772800249,
ClassData{prior = -0.9373441410719874, unseen = -6.07993319509559,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.375278407684165),
[("in <named-month>year", -5.384495062789089),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.375278407684165),
("hourday", -5.375278407684165),
-5.384495062789089),
("hourday", -5.384495062789089),
("<named-month> <day-of-month> (non ordinal)July",
-5.375278407684165),
("dayhour", -2.9329313723149606),
("daymonth", -3.295836866004329),
("monthday", -4.969813299576001),
("monthyear", -4.68213122712422),
("intersecthh:mm", -5.375278407684165),
("Easter Sundayyear", -4.969813299576001),
-5.384495062789089),
("New Year's Dayyear", -5.384495062789089),
("dayhour", -2.9421480274198846),
("daymonth", -3.305053521109253),
("monthday", -4.979029954680924),
("monthyear", -4.6913478822291435),
("intersecthh:mm", -5.384495062789089),
("Easter Sundayyear", -4.979029954680924),
("from <datetime> - <datetime> (interval)July",
-5.375278407684165),
("houryear", -5.375278407684165),
-5.384495062789089),
("houryear", -5.384495062789089),
("from <time-of-day> - <time-of-day> (interval)July",
-5.375278407684165),
("until <time-of-day><time-of-day> am|pm", -5.375278407684165),
-5.384495062789089),
("until <time-of-day><time-of-day> am|pm", -5.384495062789089),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.68213122712422),
("<time-of-day> am|pmintersect", -4.122515439188797),
-4.6913478822291435),
("<time-of-day> am|pmintersect", -4.131732094293721),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.45898767581001),
("Clean Mondayyear", -5.375278407684165),
("from|since|after <time-of-day>on <date>", -4.45898767581001),
-4.468204330914934),
("Clean Mondayyear", -5.384495062789089),
("from|since|after <time-of-day>on <date>", -4.468204330914934),
("July<day-of-month> (ordinal or number) <named-month>",
-5.375278407684165),
("absorption of , after named dayJuly", -4.969813299576001),
("monthhour", -5.375278407684165),
("hourmonth", -4.68213122712422),
("todayat <time-of-day>", -5.375278407684165),
("from|since|after <time-of-day>July", -5.375278407684165),
("dayday", -4.969813299576001),
("mm/ddat <time-of-day>", -4.969813299576001),
("<time-of-day> am|pmon <date>", -4.122515439188797),
("dayyear", -3.235212244187894),
("Thursdaymm/dd", -5.375278407684165),
("Sundayyear", -4.68213122712422),
("Thursdayat <time-of-day>", -4.122515439188797),
-5.384495062789089),
("absorption of , after named dayJuly", -4.979029954680924),
("monthhour", -5.384495062789089),
("hourmonth", -4.6913478822291435),
("todayat <time-of-day>", -5.384495062789089),
("from|since|after <time-of-day>July", -5.384495062789089),
("dayday", -4.979029954680924),
("mm/ddat <time-of-day>", -4.979029954680924),
("<time-of-day> am|pmon <date>", -4.131732094293721),
("dayyear", -3.1872704854528697),
("Thursdaymm/dd", -5.384495062789089),
("Sundayyear", -4.6913478822291435),
("Thursdayat <time-of-day>", -4.131732094293721),
("<integer> to|till|before <hour-of-day>September",
-5.375278407684165),
("monthminute", -5.375278407684165),
("<time-of-day> am|pmtomorrow", -5.375278407684165),
("Thursdayhh:mm", -4.45898767581001),
-5.384495062789089),
("monthminute", -5.384495062789089),
("<time-of-day> am|pmtomorrow", -5.384495062789089),
("Thursdayhh:mm", -4.468204330914934),
("August<day-of-month> (ordinal or number) <named-month>",
-5.375278407684165),
("Fridayyear", -4.969813299576001),
("minutemonth", -3.58351893845611),
("Sundayfrom|since|after <time-of-day>", -5.375278407684165),
-5.384495062789089),
("Fridayyear", -4.979029954680924),
("minutemonth", -3.592735593561034),
("Sundayfrom|since|after <time-of-day>", -5.384495062789089),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.969813299576001),
-4.979029954680924),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.969813299576001),
("Aprilyear", -5.375278407684165),
-4.979029954680924),
("Aprilyear", -5.384495062789089),
("mm/dd<time-of-day> - <time-of-day> (interval)",
-4.969813299576001),
-4.979029954680924),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.375278407684165),
("Christmasat <time-of-day>", -5.375278407684165),
-5.384495062789089),
("Christmasat <time-of-day>", -5.384495062789089),
("<duration> after|before|from <time>December",
-5.375278407684165),
("yesterday<time-of-day> am|pm", -5.375278407684165),
-5.384495062789089),
("yesterday<time-of-day> am|pm", -5.384495062789089),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.45898767581001),
-4.468204330914934),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.969813299576001),
-4.979029954680924),
("<named-month> <day-of-month> (non ordinal)August",
-5.375278407684165),
("until <time-of-day>on <date>", -4.68213122712422),
("Mondayyear", -4.68213122712422),
("Saturdayyear", -5.375278407684165),
("at <time-of-day>intersect", -4.969813299576001),
-5.384495062789089),
("until <time-of-day>on <date>", -4.6913478822291435),
("Mondayyear", -4.6913478822291435),
("Saturdayyear", -5.384495062789089),
("at <time-of-day>intersect", -4.979029954680924),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.375278407684165),
("dayminute", -2.8495497633759097),
("intersectSeptember", -3.871201010907891),
-5.384495062789089),
("dayminute", -2.8587664184808337),
("intersectSeptember", -3.8804176660128147),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.375278407684165),
("minuteday", -2.457507675599886),
-5.384495062789089),
("minuteday", -2.46672433070481),
("absorption of , after named dayintersect",
-5.375278407684165),
("Februaryin|during the <part-of-day>", -5.375278407684165),
("week-endin <named-month>", -5.375278407684165),
("Octoberyear", -5.375278407684165),
("from|since|after <time-of-day>year", -5.375278407684165),
("yearhh:mm", -5.375278407684165),
("hh:mmon <date>", -3.871201010907891),
-5.384495062789089),
("Februaryin|during the <part-of-day>", -5.384495062789089),
("week-endin <named-month>", -5.384495062789089),
("Octoberyear", -5.384495062789089),
("from|since|after <time-of-day>year", -5.384495062789089),
("yearhh:mm", -5.384495062789089),
("hh:mmon <date>", -3.8804176660128147),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.375278407684165),
("absorption of , after named daySeptember", -4.45898767581001),
("on <date>September", -4.969813299576001),
("at <time-of-day>on <date>", -4.969813299576001),
("dayweek", -5.375278407684165),
("Thursday<time-of-day> am|pm", -4.969813299576001),
("absorption of , after named dayFebruary", -4.45898767581001),
-5.384495062789089),
("absorption of , after named daySeptember",
-4.468204330914934),
("on <date>September", -4.979029954680924),
("at <time-of-day>on <date>", -4.979029954680924),
("dayweek", -5.384495062789089),
("Thursday<time-of-day> am|pm", -4.979029954680924),
("absorption of , after named dayFebruary", -4.468204330914934),
("July<integer> to|till|before <hour-of-day>",
-5.375278407684165),
("tomorrowat <time-of-day>", -5.375278407684165),
-5.384495062789089),
("tomorrowat <time-of-day>", -5.384495062789089),
("<integer> to|till|before <hour-of-day>July",
-5.375278407684165),
("Thursdayfrom|since|after <time-of-day>", -3.765840495250065),
("tomorrow<time-of-day> am|pm", -5.375278407684165),
("Tuesdayfrom|since|after <time-of-day>", -5.375278407684165),
("yearminute", -5.375278407684165)],
n = 140}}),
-5.384495062789089),
("Thursdayfrom|since|after <time-of-day>", -3.775057150354989),
("tomorrow<time-of-day> am|pm", -5.384495062789089),
("Tuesdayfrom|since|after <time-of-day>", -5.384495062789089),
("yearminute", -5.384495062789089)],
n = 141}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1465,6 +1466,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1522,14 +1530,15 @@ classifiers
n = 47}}),
("year",
Classifier{okData =
ClassData{prior = -0.2719337154836418, unseen = -3.970291913552122,
ClassData{prior = -0.26706278524904525,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.10109611687136875),
("intersect 2 numbers", -2.8526314299133175)],
n = 48},
[("integer (numeric)", -9.909090264423089e-2),
("intersect 2 numbers", -2.871679624884012)],
n = 49},
koData =
ClassData{prior = -1.4350845252893227, unseen = -2.995732273553991,
ClassData{prior = -1.4508328822574619, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.6418538861723948),
@ -2171,13 +2180,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -62,10 +62,11 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.6879252365787937, unseen = -5.267858159063328,
likelihoods = HashMap.fromList [("", 0.0)], n = 192},
ClassData{prior = -0.6853448002757605, unseen = -5.272999558563747,
likelihoods = HashMap.fromList [("", 0.0)], n = 193},
koData =
ClassData{prior = -0.698396536446089, unseen = -5.2574953720277815,
ClassData{prior = -0.7010109170201599,
unseen = -5.2574953720277815,
likelihoods = HashMap.fromList [("", 0.0)], n = 190}}),
("<duration> hence|ago",
Classifier{okData =
@ -641,262 +642,263 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.4974666464707927,
unseen = -6.3473892096560105,
ClassData{prior = -0.4984856475304147, unseen = -6.354370040797351,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
-4.399726211773283),
("Lentyear", -5.652489180268651),
-4.406719247264253),
("Lentyear", -5.659482215759621),
("<time-of-day> - <time-of-day> (interval)on <date>",
-4.399726211773283),
("hourday", -3.947741088030225),
("dayhour", -2.762117422372486),
("daymonth", -4.959341999708705),
("monthday", -5.247024072160486),
("monthyear", -4.04305126783455),
("Tuesdaythe <day-of-month> (ordinal)", -5.652489180268651),
("Easter Sundayyear", -4.959341999708705),
("Christmasyear", -5.247024072160486),
-4.406719247264253),
("hourday", -3.954734123521196),
("dayhour", -2.7691104578634564),
("daymonth", -4.966335035199676),
("monthday", -5.254017107651457),
("monthyear", -4.050044303325521),
("Tuesdaythe <day-of-month> (ordinal)", -5.659482215759621),
("Easter Sundayyear", -4.966335035199676),
("Christmasyear", -5.254017107651457),
("from <datetime> - <datetime> (interval)July",
-5.652489180268651),
("houryear", -5.247024072160486),
-5.659482215759621),
("houryear", -5.254017107651457),
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Christmas<time-of-day> am|pm", -5.652489180268651),
-5.659482215759621),
("Christmas<time-of-day> am|pm", -5.659482215759621),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.959341999708705),
("<time-of-day> am|pmintersect", -4.399726211773283),
-4.966335035199676),
("<time-of-day> am|pmintersect", -4.406719247264253),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-5.652489180268651),
("Marchyear", -5.652489180268651),
-5.659482215759621),
("Marchyear", -5.659482215759621),
("<named-month>|<named-day> <day-of-month> (ordinal)year",
-5.247024072160486),
("intersect<time-of-day> am|pm", -5.652489180268651),
("Clean Mondayyear", -5.247024072160486),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.652489180268651),
("monthhour", -5.247024072160486),
("last <day-of-week> of <time>year", -5.652489180268651),
("todayat <time-of-day>", -5.652489180268651),
("Thursday<time> timezone", -3.947741088030225),
-5.254017107651457),
("intersect<time-of-day> am|pm", -5.659482215759621),
("Clean Mondayyear", -5.254017107651457),
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.659482215759621),
("monthhour", -5.254017107651457),
("last <day-of-week> of <time>year", -5.659482215759621),
("todayat <time-of-day>", -5.659482215759621),
("Thursday<time> timezone", -3.954734123521196),
("this <time>hh(:mm) - <time-of-day> am|pm",
-5.652489180268651),
("Palm SundaySunday", -5.247024072160486),
("dayday", -3.455264602932431),
("<time> <part-of-day>at <time-of-day>", -5.652489180268651),
("Tuesdayin <named-month>", -5.652489180268651),
("tonightat <time-of-day>", -5.652489180268651),
-5.659482215759621),
("Palm SundaySunday", -5.254017107651457),
("dayday", -3.462257638423402),
("<time> <part-of-day>at <time-of-day>", -5.659482215759621),
("Tuesdayin <named-month>", -5.659482215759621),
("tonightat <time-of-day>", -5.659482215759621),
("<time-of-day> am|pmabsorption of , after named day",
-4.959341999708705),
("today<time-of-day> am|pm", -5.652489180268651),
("Februarythe <day-of-month> (ordinal)", -5.247024072160486),
("at <time-of-day><time> <part-of-day>", -5.652489180268651),
("hourhour", -4.399726211773283),
("<time-of-day> am|pmon <date>", -3.6375861597263857),
("Wednesdaythis|last|next <cycle>", -5.652489180268651),
-4.966335035199676),
("today<time-of-day> am|pm", -5.659482215759621),
("Februarythe <day-of-month> (ordinal)", -5.254017107651457),
("at <time-of-day><time> <part-of-day>", -5.659482215759621),
("hourhour", -4.406719247264253),
("<time-of-day> am|pmon <date>", -3.6445791952173563),
("Wednesdaythis|last|next <cycle>", -5.659482215759621),
("intersect<named-month> <day-of-month> (non ordinal)",
-4.148411783492376),
("dayyear", -2.978340530842122),
("last weekend of <named-month>year", -5.652489180268651),
-4.155404818983347),
("dayyear", -2.951432014657411),
("last weekend of <named-month>year", -5.659482215759621),
("<time-of-day> o'clockin|during the <part-of-day>",
-5.652489180268651),
("Sundayyear", -5.652489180268651),
("Thursdayat <time-of-day>", -5.247024072160486),
("<time-of-day> am|pmtomorrow", -4.959341999708705),
("minutehour", -4.736198448394496),
-5.659482215759621),
("Sundayyear", -5.659482215759621),
("Chinese New Yearyear", -5.659482215759621),
("Thursdayat <time-of-day>", -5.254017107651457),
("<time-of-day> am|pmtomorrow", -4.966335035199676),
("minutehour", -4.743191483885466),
("at <time-of-day>in|during the <part-of-day>",
-5.247024072160486),
-5.254017107651457),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
-3.947741088030225),
("for <duration> from <time>December", -5.652489180268651),
("tomorrow<time-of-day> sharp|exactly", -5.652489180268651),
-3.954734123521196),
("for <duration> from <time>December", -5.659482215759621),
("tomorrow<time-of-day> sharp|exactly", -5.659482215759621),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("on <date><named-month> <day-of-month> (non ordinal)",
-5.247024072160486),
-5.254017107651457),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.736198448394496),
("Mondayin|during the <part-of-day>", -5.652489180268651),
("Shrove Tuesdayyear", -5.652489180268651),
("<part-of-day> of <time>year", -5.652489180268651),
-4.743191483885466),
("Mondayin|during the <part-of-day>", -5.659482215759621),
("Shrove Tuesdayyear", -5.659482215759621),
("<part-of-day> of <time>year", -5.659482215759621),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.247024072160486),
("intersectin|during the <part-of-day>", -5.652489180268651),
("Christmasat <time-of-day>", -5.652489180268651),
-5.254017107651457),
("intersectin|during the <part-of-day>", -5.659482215759621),
("Christmasat <time-of-day>", -5.659482215759621),
("Thursday<datetime> - <datetime> (interval)",
-4.736198448394496),
-4.743191483885466),
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.399726211773283),
-4.406719247264253),
("from <time-of-day> - <time-of-day> (interval)on <date>",
-4.959341999708705),
-4.966335035199676),
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
-4.736198448394496),
("at <time-of-day>intersect", -5.247024072160486),
-4.743191483885466),
("at <time-of-day>intersect", -5.254017107651457),
("<time-of-day> - <time-of-day> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.652489180268651),
("dayminute", -3.0497994948242666),
("Orthodox Easter Sundayyear", -5.652489180268651),
-5.659482215759621),
("dayminute", -3.0567925303152372),
("Orthodox Easter Sundayyear", -5.659482215759621),
("from <datetime> - <datetime> (interval)on <date>",
-5.247024072160486),
("intersectyear", -5.652489180268651),
-5.254017107651457),
("intersectyear", -5.659482215759621),
("<datetime> - <datetime> (interval)tomorrow",
-5.652489180268651),
-5.659482215759621),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.247024072160486),
("<ordinal> <cycle> of <time>year", -5.652489180268651),
("minuteday", -2.186753277468924),
-5.254017107651457),
("<ordinal> <cycle> of <time>year", -5.659482215759621),
("minuteday", -2.1937463129598944),
("absorption of , after named dayintersect",
-5.652489180268651),
("Octoberyear", -4.399726211773283),
-5.659482215759621),
("Octoberyear", -4.406719247264253),
("the <day-of-month> (ordinal)in|during the <part-of-day>",
-5.652489180268651),
-5.659482215759621),
("at <time-of-day>absorption of , after named day",
-5.652489180268651),
-5.659482215759621),
("<day-of-month> (ordinal or number) <named-month>year",
-5.652489180268651),
("year<time-of-day> am|pm", -5.652489180268651),
("Septemberyear", -5.247024072160486),
("at <time-of-day>on <date>", -4.553876891600541),
-5.659482215759621),
("year<time-of-day> am|pm", -5.659482215759621),
("Septemberyear", -5.254017107651457),
("at <time-of-day>on <date>", -4.560869927091511),
("between <time-of-day> and <time-of-day> (interval)on <date>",
-4.959341999708705),
("Halloweenyear", -5.652489180268651),
("dayweek", -5.652489180268651),
("Lazarus Saturdayyear", -5.652489180268651),
("Thursday<time-of-day> am|pm", -5.652489180268651),
("weekyear", -5.247024072160486),
("hh:mmin|during the <part-of-day>", -4.959341999708705),
-4.966335035199676),
("Halloweenyear", -5.659482215759621),
("dayweek", -5.659482215759621),
("Lazarus Saturdayyear", -5.659482215759621),
("Thursday<time-of-day> am|pm", -5.659482215759621),
("weekyear", -5.254017107651457),
("hh:mmin|during the <part-of-day>", -4.966335035199676),
("<cycle> after|before <time><time-of-day> am|pm",
-5.247024072160486),
("February<time> <part-of-day>", -5.652489180268651),
("Martin Luther King's Dayyear", -5.247024072160486),
("tomorrowat <time-of-day>", -4.959341999708705),
("between <time> and <time>on <date>", -4.959341999708705),
("Thursdayfrom|since|after <time-of-day>", -4.959341999708705),
("at <time-of-day>tomorrow", -5.247024072160486),
("tomorrow<time-of-day> am|pm", -5.652489180268651),
("Pentecostyear", -5.652489180268651),
-5.254017107651457),
("February<time> <part-of-day>", -5.659482215759621),
("Martin Luther King's Dayyear", -5.254017107651457),
("tomorrowat <time-of-day>", -4.966335035199676),
("between <time> and <time>on <date>", -4.966335035199676),
("Thursdayfrom|since|after <time-of-day>", -4.966335035199676),
("at <time-of-day>tomorrow", -5.254017107651457),
("tomorrow<time-of-day> am|pm", -5.659482215759621),
("Pentecostyear", -5.659482215759621),
("in|during the <part-of-day>at <time-of-day>",
-5.652489180268651),
("Palm Sundayintersect", -5.652489180268651),
("Great Lentyear", -5.652489180268651),
("Februaryintersect", -5.652489180268651),
("last <cycle> of <time>year", -4.959341999708705),
-5.659482215759621),
("Palm Sundayintersect", -5.659482215759621),
("Great Lentyear", -5.659482215759621),
("Februaryintersect", -5.659482215759621),
("last <cycle> of <time>year", -4.966335035199676),
("<named-month> <day-of-month> (non ordinal)year",
-5.652489180268651),
("yearminute", -5.652489180268651),
("Black Fridayyear", -5.247024072160486)],
n = 211},
-5.659482215759621),
("yearminute", -5.659482215759621),
("Black Fridayyear", -5.254017107651457)],
n = 212},
koData =
ClassData{prior = -0.9366698942108072, unseen = -6.042632833682381,
ClassData{prior = -0.9350909963743023, unseen = -6.052089168924417,
likelihoods =
HashMap.fromList
[("in <named-month>year", -5.3471075307174685),
[("in <named-month>year", -5.356586274672012),
("<time-of-day> - <time-of-day> (interval)on <date>",
-5.3471075307174685),
("hourday", -5.3471075307174685),
-5.356586274672012),
("hourday", -5.356586274672012),
("<named-month> <day-of-month> (non ordinal)July",
-5.3471075307174685),
("dayhour", -3.044522437723423),
("daymonth", -3.2676659890376327),
("monthday", -4.941642422609305),
("monthyear", -4.653960350157523),
("intersecthh:mm", -5.3471075307174685),
("Easter Sundayyear", -4.941642422609305),
-5.356586274672012),
("New Year's Dayyear", -5.356586274672012),
("dayhour", -3.054001181677967),
("daymonth", -3.2771447329921766),
("monthday", -4.951121166563848),
("monthyear", -4.663439094112067),
("intersecthh:mm", -5.356586274672012),
("Easter Sundayyear", -4.951121166563848),
("from <datetime> - <datetime> (interval)July",
-5.3471075307174685),
("houryear", -5.3471075307174685),
-5.356586274672012),
("houryear", -5.356586274672012),
("from <time-of-day> - <time-of-day> (interval)July",
-5.3471075307174685),
("until <time-of-day><time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("until <time-of-day><time-of-day> am|pm", -5.356586274672012),
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
-4.653960350157523),
("<time-of-day> am|pmintersect", -4.0943445622221),
-4.663439094112067),
("<time-of-day> am|pmintersect", -4.103823306176644),
("intersect by \",\", \"of\", \"from\", \"'s\"year",
-4.430816798843313),
("Clean Mondayyear", -5.3471075307174685),
("from|since|after <time-of-day>on <date>", -4.430816798843313),
-4.440295542797857),
("Clean Mondayyear", -5.356586274672012),
("from|since|after <time-of-day>on <date>", -4.440295542797857),
("July<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("absorption of , after named dayJuly", -4.941642422609305),
("monthhour", -5.3471075307174685),
("hourmonth", -4.653960350157523),
("todayat <time-of-day>", -5.3471075307174685),
("from|since|after <time-of-day>July", -5.3471075307174685),
("dayday", -4.941642422609305),
("<time-of-day> am|pmon <date>", -4.0943445622221),
("dayyear", -3.2070413672211977),
("Thursdaymm/dd", -5.3471075307174685),
("Sundayyear", -4.653960350157523),
("Thursdayat <time-of-day>", -4.0943445622221),
-5.356586274672012),
("absorption of , after named dayJuly", -4.951121166563848),
("monthhour", -5.356586274672012),
("hourmonth", -4.663439094112067),
("todayat <time-of-day>", -5.356586274672012),
("from|since|after <time-of-day>July", -5.356586274672012),
("dayday", -4.951121166563848),
("<time-of-day> am|pmon <date>", -4.103823306176644),
("dayyear", -3.159361697335793),
("Thursdaymm/dd", -5.356586274672012),
("Sundayyear", -4.663439094112067),
("Thursdayat <time-of-day>", -4.103823306176644),
("<integer> to|till|before <hour-of-day>September",
-5.3471075307174685),
("monthminute", -5.3471075307174685),
("<time-of-day> am|pmtomorrow", -5.3471075307174685),
("Thursdayhh:mm", -4.430816798843313),
-5.356586274672012),
("monthminute", -5.356586274672012),
("<time-of-day> am|pmtomorrow", -5.356586274672012),
("Thursdayhh:mm", -4.440295542797857),
("August<day-of-month> (ordinal or number) <named-month>",
-5.3471075307174685),
("Fridayyear", -4.941642422609305),
("minutemonth", -3.5553480614894135),
("Sundayfrom|since|after <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Fridayyear", -4.951121166563848),
("minutemonth", -3.5648268054439574),
("Sundayfrom|since|after <time-of-day>", -5.356586274672012),
("Thursdayfrom <datetime> - <datetime> (interval)",
-4.941642422609305),
-4.951121166563848),
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
("Aprilyear", -5.3471075307174685),
-4.951121166563848),
("Aprilyear", -5.356586274672012),
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
-5.3471075307174685),
("Christmasat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("Christmasat <time-of-day>", -5.356586274672012),
("<duration> after|before|from <time>December",
-5.3471075307174685),
("yesterday<time-of-day> am|pm", -5.3471075307174685),
-5.356586274672012),
("yesterday<time-of-day> am|pm", -5.356586274672012),
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
-4.430816798843313),
-4.440295542797857),
("Thursday<time-of-day> - <time-of-day> (interval)",
-4.941642422609305),
-4.951121166563848),
("<named-month> <day-of-month> (non ordinal)August",
-5.3471075307174685),
("until <time-of-day>on <date>", -4.653960350157523),
("Mondayyear", -4.653960350157523),
("Saturdayyear", -5.3471075307174685),
("at <time-of-day>intersect", -4.941642422609305),
-5.356586274672012),
("until <time-of-day>on <date>", -4.663439094112067),
("Mondayyear", -4.663439094112067),
("Saturdayyear", -5.356586274672012),
("at <time-of-day>intersect", -4.951121166563848),
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("dayminute", -2.8622008809294686),
("intersectSeptember", -3.8430301339411947),
-5.356586274672012),
("dayminute", -2.871679624884012),
("intersectSeptember", -3.8525088778957386),
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
-5.3471075307174685),
("minuteday", -2.4293367986331895),
-5.356586274672012),
("minuteday", -2.4388155425877334),
("absorption of , after named dayintersect",
-5.3471075307174685),
("Februaryin|during the <part-of-day>", -5.3471075307174685),
("week-endin <named-month>", -5.3471075307174685),
("Octoberyear", -5.3471075307174685),
("from|since|after <time-of-day>year", -5.3471075307174685),
("yearhh:mm", -5.3471075307174685),
("hh:mmon <date>", -3.8430301339411947),
-5.356586274672012),
("Februaryin|during the <part-of-day>", -5.356586274672012),
("week-endin <named-month>", -5.356586274672012),
("Octoberyear", -5.356586274672012),
("from|since|after <time-of-day>year", -5.356586274672012),
("yearhh:mm", -5.356586274672012),
("hh:mmon <date>", -3.8525088778957386),
("from|since|after <time-of-day><time-of-day> am|pm",
-5.3471075307174685),
-5.356586274672012),
("absorption of , after named daySeptember",
-4.430816798843313),
("on <date>September", -4.941642422609305),
("at <time-of-day>on <date>", -4.941642422609305),
("dayweek", -5.3471075307174685),
("Thursday<time-of-day> am|pm", -4.941642422609305),
("absorption of , after named dayFebruary", -4.430816798843313),
-4.440295542797857),
("on <date>September", -4.951121166563848),
("at <time-of-day>on <date>", -4.951121166563848),
("dayweek", -5.356586274672012),
("Thursday<time-of-day> am|pm", -4.951121166563848),
("absorption of , after named dayFebruary", -4.440295542797857),
("July<integer> to|till|before <hour-of-day>",
-5.3471075307174685),
("tomorrowat <time-of-day>", -5.3471075307174685),
-5.356586274672012),
("tomorrowat <time-of-day>", -5.356586274672012),
("<integer> to|till|before <hour-of-day>July",
-5.3471075307174685),
("Thursdayfrom|since|after <time-of-day>", -3.7376696182833684),
("tomorrow<time-of-day> am|pm", -5.3471075307174685),
("Tuesdayfrom|since|after <time-of-day>", -5.3471075307174685),
("yearminute", -5.3471075307174685)],
n = 136}}),
-5.356586274672012),
("Thursdayfrom|since|after <time-of-day>", -3.747148362237912),
("tomorrow<time-of-day> am|pm", -5.356586274672012),
("Tuesdayfrom|since|after <time-of-day>", -5.356586274672012),
("yearminute", -5.356586274672012)],
n = 137}}),
("one eleven",
Classifier{okData =
ClassData{prior = -1.3862943611198906,
@ -1459,6 +1461,13 @@ classifiers
koData =
ClassData{prior = -1.466337068793427, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("Chinese New Year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("February",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
@ -1515,15 +1524,14 @@ classifiers
n = 45}}),
("year",
Classifier{okData =
ClassData{prior = -0.26415157504158676,
unseen = -3.871201010907891,
ClassData{prior = -0.258861633916289, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.11247798342669033),
("intersect 2 numbers", -2.751535313041949)],
n = 43},
[("integer (numeric)", -0.11000089521432846),
("intersect 2 numbers", -2.772588722239781)],
n = 44},
koData =
ClassData{prior = -1.4604023332736125, unseen = -2.890371757896165,
ClassData{prior = -1.4781019103730135, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7537718023763802),
@ -2150,13 +2158,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("New Year's Day",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
ClassData{prior = -0.3364722366212129,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("fortnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,

View File

@ -6,7 +6,7 @@
-- of patent rights can be found in the PATENTS file in the same directory.
module Duckling.Time.Computed
( easterSunday, orthodoxEaster
( chineseNewYear, easterSunday, orthodoxEaster
) where
import Data.Maybe
@ -33,6 +33,114 @@ computedDays xs = timedata'
, timeGrain = TG.Day
}
chineseNewYear :: TimeData
chineseNewYear = computedDays chineseNewYear'
chineseNewYear' :: [TimeObject]
chineseNewYear' = mapMaybe toTimeObjectM
[ (1950, 2, 17)
, (1951, 2, 6)
, (1952, 1, 27)
, (1953, 2, 14)
, (1954, 2, 3)
, (1955, 1, 24)
, (1956, 2, 12)
, (1957, 1, 31)
, (1958, 2, 18)
, (1959, 2, 8)
, (1960, 1, 28)
, (1961, 2, 15)
, (1962, 2, 5)
, (1963, 1, 25)
, (1964, 2, 13)
, (1965, 2, 2)
, (1966, 1, 21)
, (1967, 2, 9)
, (1968, 1, 30)
, (1969, 2, 17)
, (1970, 2, 6)
, (1971, 1, 27)
, (1972, 2, 15)
, (1973, 2, 3)
, (1974, 1, 23)
, (1975, 2, 11)
, (1976, 1, 31)
, (1977, 2, 18)
, (1978, 2, 7)
, (1979, 1, 28)
, (1980, 2, 16)
, (1981, 2, 5)
, (1982, 1, 25)
, (1983, 2, 13)
, (1984, 2, 2)
, (1985, 2, 20)
, (1986, 2, 9)
, (1987, 1, 29)
, (1988, 2, 17)
, (1989, 2, 6)
, (1990, 1, 27)
, (1991, 2, 15)
, (1992, 2, 4)
, (1993, 1, 23)
, (1994, 2, 10)
, (1995, 1, 31)
, (1996, 2, 19)
, (1997, 2, 7)
, (1998, 1, 28)
, (1999, 2, 16)
, (2000, 2, 5)
, (2001, 1, 24)
, (2002, 2, 12)
, (2003, 2, 1)
, (2004, 1, 22)
, (2005, 2, 9)
, (2006, 1, 29)
, (2007, 2, 18)
, (2008, 2, 7)
, (2009, 1, 26)
, (2010, 2, 14)
, (2011, 2, 3)
, (2012, 1, 23)
, (2013, 2, 10)
, (2014, 1, 31)
, (2015, 2, 19)
, (2016, 2, 8)
, (2017, 1, 28)
, (2018, 2, 16)
, (2019, 2, 5)
, (2020, 1, 25)
, (2021, 2, 12)
, (2022, 2, 1)
, (2023, 1, 22)
, (2024, 2, 10)
, (2025, 1, 29)
, (2026, 2, 17)
, (2027, 2, 6)
, (2028, 1, 26)
, (2029, 2, 13)
, (2030, 2, 3)
, (2031, 1, 23)
, (2032, 2, 11)
, (2033, 1, 31)
, (2034, 2, 19)
, (2035, 2, 8)
, (2036, 1, 28)
, (2037, 2, 15)
, (2038, 2, 4)
, (2039, 1, 24)
, (2040, 2, 12)
, (2041, 2, 1)
, (2042, 1, 22)
, (2043, 2, 10)
, (2044, 1, 30)
, (2045, 2, 17)
, (2046, 2, 6)
, (2047, 1, 26)
, (2048, 2, 14)
, (2049, 2, 2)
, (2050, 1, 23)
]
easterSunday :: TimeData
easterSunday = computedDays easterSunday'

View File

@ -1121,4 +1121,11 @@ allExamples = concat
, "at the end of the following week"
, "at the end of around next week"
]
, examples (datetimeHoliday (2014, 1, 31, 0, 0, 0) Day "Chinese New Year")
[ "chinese new year"
, "chinese lunar new year's day"
]
, examples (datetimeHoliday (2018, 2, 16, 0, 0, 0) Day "Chinese New Year")
[ "chinese new year's day 2018"
]
]

View File

@ -28,7 +28,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, orthodoxEaster)
import Duckling.Time.Computed
import Duckling.Time.Helpers
import Duckling.Time.Types (TimeData (..))
import Duckling.Types
@ -1526,6 +1526,8 @@ ruleComputedHolidays = mkRuleHolidays
, cycleNthAfter False TG.Day 39 easterSunday )
, ( "Ash Wednesday", "ash\\s+wednesday|carnival"
, cycleNthAfter False TG.Day (-46) easterSunday )
, ( "Chinese New Year", "chinese\\s+(lunar\\s+)?new\\s+year('s\\s+day)?"
, chineseNewYear )
, ( "Clean Monday", "(orthodox\\s+)?(ash|clean|green|pure|shrove)\\s+monday|monday of lent"
, cycleNthAfter False TG.Day (-48) orthodoxEaster )
, ( "Corpus Christi", "(the feast of )?corpus\\s+christi"