module Duckling.Ranking.Classifiers.HE_XX (classifiers) where
import Data.String
import Prelude
import qualified Data.HashMap.Strict as HashMap
import Duckling.Ranking.Types
classifiers :: Classifiers
classifiers
= HashMap.fromList
[("\1502\1512\1509",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = 1.110882381259924, unseen = 3.367295829986474,
likelihoods = HashMap.fromList [("", 0.0)], n = 27},
koData =
ClassData{prior = 0.3993860620317821, unseen = 4.04305126783455,
likelihoods = HashMap.fromList [("", 0.0)], n = 55}}),
("\1489 <date>",
Classifier{okData =
ClassData{prior = 0.12783337150988489,
unseen = 4.189654742026425,
likelihoods =
HashMap.fromList
[("\1502\1512\1509", 3.0757749812275272),
("week", 3.0757749812275272),
("<time> <part-of-day>", 3.481240089335692),
("mm/dd", 3.481240089335692),
("intersect", 3.0757749812275272), ("day", 2.228477120840324),
("this <cycle>", 3.481240089335692),
("time-of-day (latent)", 3.0757749812275272),
("<time-of-day> am|pm", 3.481240089335692),
("named-day", 3.0757749812275272),
("current <day-of-week>", 3.481240089335692),
("last <time>", 3.481240089335692),
("\1488\1493\1511\1496\1493\1489\1512", 3.481240089335692),
("hour", 1.7764919970972666), ("month", 2.5649493574615367),
("\1508\1489\1512\1493\1488\1512", 3.481240089335692),
("last <cycle>", 3.481240089335692),
("<named-month> <day-of-month> (non ordinal)",
3.481240089335692),
("week-end", 3.0757749812275272),
("this <time>", 3.0757749812275272)],
n = 22},
koData =
ClassData{prior = 2.120263536200091, unseen = 3.332204510175204,
likelihoods =
HashMap.fromList
[("intersect", 2.6026896854443837),
("day", 2.1972245773362196),
("<day-of-month> (ordinal)", 2.6026896854443837),
("month", 2.6026896854443837),
("this <time>", 2.6026896854443837)],
n = 3}}),
("lunch",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("integer (20..90)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = 0.10536051565782628,
unseen = 3.4011973816621555,
likelihoods =
HashMap.fromList
[("dayhour", 1.4213856809311607),
("\1489 <date>morning", 2.6741486494265287),
("yesterdayevening|night", 2.6741486494265287),
("hourhour", 1.9810014688665833),
("time-of-day (latent)morning", 2.6741486494265287),
("named-daymorning", 2.6741486494265287),
("todayevening|night", 2.6741486494265287),
("tomorrowlunch", 2.268683541318364),
("at <time-of-day>morning", 2.6741486494265287),
("tomorrowevening|night", 2.6741486494265287)],
n = 9},
koData =
ClassData{prior = 2.3025850929940455, unseen = 2.639057329615259,
likelihoods =
HashMap.fromList
[("dayhour", 1.8718021769015913),
("<day-of-month> (ordinal)morning", 1.8718021769015913)],
n = 1}}),
("today",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("mm/dd",
Classifier{okData =
ClassData{prior = 1.0986122886681098,
unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = 0.40546510810816444,
unseen = 1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
("at <time-of-day>",
Classifier{okData =
ClassData{prior = 0.2876820724517809,
unseen = 2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", 1.0986122886681098),
("<time-of-day> am|pm", 1.5040773967762742),
("hour", 0.8109302162163288)],
n = 3},
koData =
ClassData{prior = 1.3862943611198906, unseen = 1.791759469228055,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", 0.916290731874155),
("hour", 0.916290731874155)],
n = 1}}),
("<day-of-month> (non ordinal) of <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.0910424533583156,
likelihoods =
HashMap.fromList
[("integer (numeric)\1502\1512\1509", 1.9459101490553135),
("integer (numeric)\1508\1489\1512\1493\1488\1512",
1.4350845252893227),
("integer (numeric)\1488\1508\1512\1497\1500",
2.3513752571634776),
("integer 3\1502\1512\1509", 2.3513752571634776),
("month", 0.8472978603872037)],
n = 8},
koData =
ClassData{prior = infinity, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("absorption of , after named day",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("named-day", 0.6931471805599453)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("the ides of <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods =
HashMap.fromList
[("\1502\1512\1509", 0.6931471805599453),
("month", 0.6931471805599453)],
n = 1},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal 4",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("\1489 <named-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("named-day", 0.6931471805599453)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("month (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("hour (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal 9",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("integer 21..99 (with and)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods =
HashMap.fromList [("integer (20..90)integer 4", 0.0)],
n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = 0.40546510810816444,
unseen = 4.867534450455582,
likelihoods =
HashMap.fromList
[("hourday", 2.662587827025453),
("daymonth", 3.250374491927572),
("monthyear", 3.7612001156935624),
("the <day-of-month> (ordinal)in <named-month>",
3.7612001156935624),
("\1488\1493\1511\1496\1493\1489\1512year",
4.1666652238017265),
("intersect<time-of-day> am|pm", 4.1666652238017265),
("<time> <part-of-day>\1489 <named-day>", 3.4735180432417816),
("intersect by \",\"<time-of-day> am|pm", 3.250374491927572),
("last <day-of-week> of <time>year", 4.1666652238017265),
("dayday", 2.780370862681836),
("the <day-of-month> (ordinal)\1489 <date>",
3.7612001156935624),
("dayyear", 2.374905754573672),
("<day-of-month>(ordinal) <named-month>year",
3.7612001156935624),
("\1489 <date>\1489 <named-day>", 4.1666652238017265),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
4.1666652238017265),
("absorption of , after named day<day-of-month> (ordinal) of <named-month>",
4.1666652238017265),
("<day-of-month> (ordinal) of <named-month>year",
3.4735180432417816),
("named-daynext <cycle>", 4.1666652238017265),
("dayminute", 2.780370862681836),
("named-day<day-of-month> (ordinal) of <named-month>",
4.1666652238017265),
("named-day\1489 <date>", 4.1666652238017265),
("absorption of , after named dayintersect",
4.1666652238017265),
("named-day<day-of-month> (non ordinal) of <named-month>",
4.1666652238017265),
("absorption of , after named dayintersect by \",\"",
3.7612001156935624),
("year<time-of-day> am|pm", 4.1666652238017265),
("\1489 <date>\1489 <date>", 4.1666652238017265),
("<day-of-month> (non ordinal) of <named-month>year",
3.4735180432417816),
("absorption of , after named day<day-of-month> (non ordinal) of <named-month>",
4.1666652238017265),
("dayweek", 3.7612001156935624),
("\1502\1512\1509year", 4.1666652238017265),
("<time> <part-of-day>\1489 <date>", 3.4735180432417816),
("named-daythe <day-of-month> (ordinal)", 4.1666652238017265),
("<day-of-month> (non ordinal) <named-month>year",
3.7612001156935624),
("yearminute", 4.1666652238017265)],
n = 42},
koData =
ClassData{prior = 1.0986122886681098, unseen = 4.477336814478207,
likelihoods =
HashMap.fromList
[("in <named-month>year", 3.7727609380946383),
("dayhour", 3.367295829986474),
("year<hour-of-day> <integer>", 3.367295829986474),
("daymonth", 3.079613757534693),
("monthyear", 2.6741486494265287),
("intersecthh:mm", 3.7727609380946383),
("dayday", 3.7727609380946383),
("intersect by \",\"hh:mm", 2.856470206220483),
("\1488\1508\1512\1497\1500year", 3.7727609380946383),
("named-dayin <named-month>", 3.7727609380946383),
("dayminute", 2.386466576974748),
("named-day\1489 <date>", 3.7727609380946383),
("absorption of , after named dayintersect",
3.7727609380946383),
("yearhh:mm", 3.7727609380946383),
("absorption of , after named dayintersect by \",\"",
3.7727609380946383),
("\1502\1512\1509year", 3.367295829986474),
("\1489 <date>year", 3.7727609380946383),
("named-daythe <day-of-month> (ordinal)", 3.7727609380946383),
("absorption of , after named day\1497\1493\1500\1497",
3.7727609380946383),
("tomorrownoon", 3.367295829986474),
("yearminute", 3.079613757534693)],
n = 21}}),
("year (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("next <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.70805020110221,
likelihoods =
HashMap.fromList
[("week", 1.540445040947149),
("month (grain)", 1.9459101490553135),
("year (grain)", 1.9459101490553135),
("week (grain)", 1.540445040947149),
("year", 1.9459101490553135), ("month", 1.9459101490553135)],
n = 4},
koData =
ClassData{prior = infinity, unseen = 1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("yyyy-mm-dd",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("mm/dd/yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("evening|night",
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}}),
("ordinal 3",
Classifier{okData =
ClassData{prior = 0.916290731874155, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = 0.5108256237659907,
unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("yesterday",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("hh:mm:ss",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<day-of-month> (ordinal) of <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.2188758248682006,
likelihoods =
HashMap.fromList
[("ordinal 3\1502\1512\1509", 2.4849066497880004),
("ordinal (digits)\1502\1512\1509", 2.0794415416798357),
("ordinal (digits)\1488\1508\1512\1497\1500",
2.4849066497880004),
("ordinal 3\1488\1493\1511\1496\1493\1489\1512",
2.4849066497880004),
("month", 0.8754687373538999),
("ordinal (digits)\1508\1489\1512\1493\1488\1512",
1.5686159179138452)],
n = 9},
koData =
ClassData{prior = infinity, unseen = 1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("<hour-of-day> and <integer>",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods =
HashMap.fromList
[("time-of-day (latent)integer 4", 0.6931471805599453),
("hour", 0.6931471805599453)],
n = 1}}),
("quarter to|till|before <integer> (hour-of-day)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", 0.6931471805599453),
("hour", 0.6931471805599453)],
n = 1},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("<hour-of-day> <integer>",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 2.4849066497880004,
likelihoods =
HashMap.fromList
[("time-of-day (latent)integer 10", 1.7047480922384253),
("time-of-day (latent)integer (numeric)", 1.0116009116784799),
("hour", 0.7884573603642702)],
n = 4}}),
("ordinal 19",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("\1488\1493\1490\1493\1505\1496",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("\1488\1508\1512\1497\1500",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("week (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("now",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("integer 11..19",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("integer 9integer 10", 0.0)],
n = 1}}),
("integer 7",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<day-of-month>(ordinal) <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.890371757896165,
likelihoods =
HashMap.fromList
[("ordinal 3\1489 <date>", 1.7346010553881064),
("ordinal (digits)in <named-month>", 2.1400661634962708),
("month", 0.8873031950009028),
("ordinal 3in <named-month>", 1.7346010553881064),
("ordinal (digits)\1489 <date>", 2.1400661634962708)],
n = 6},
koData =
ClassData{prior = infinity, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("\1497\1493\1500\1497",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("numbers prefix with -, negative or minus",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 2.0794415416798357,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 6}}),
("tomorrow",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal 2",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("next <day-of-week>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("named-day", 0.6931471805599453)],
n = 3},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("half an hour",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("the <day-of-month> (ordinal)",
Classifier{okData =
ClassData{prior = 0.2876820724517809,
unseen = 2.0794415416798357,
likelihoods =
HashMap.fromList
[("ordinal 3", 1.252762968495368),
("ordinal 19", 1.252762968495368),
("ordinal (digits)", 1.252762968495368)],
n = 3},
koData =
ClassData{prior = 1.3862943611198906, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [("ordinal 9", 0.916290731874155)],
n = 1}}),
("this <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods =
HashMap.fromList
[("week", 0.6931471805599453),
("week (grain)", 0.6931471805599453)],
n = 1},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("minute (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal 7",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = 1.2809338454620642,
unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("integer (numeric)", 0.4700036292457356),
("integer 9", 1.3862943611198906)],
n = 5},
koData =
ClassData{prior = 0.325422400434628, unseen = 2.833213344056216,
likelihoods =
HashMap.fromList
[("integer (numeric)", 0.2876820724517809),
("integer (20..90)", 2.0794415416798357),
("integer 9", 2.0794415416798357)],
n = 13}}),
("year",
Classifier{okData =
ClassData{prior = 0.40546510810816444,
unseen = 2.3025850929940455,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 8},
koData =
ClassData{prior = 1.0986122886681098, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 4}}),
("integer 9",
Classifier{okData =
ClassData{prior = 0.6931471805599453,
unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = 0.6931471805599453,
unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.3025850929940455,
likelihoods =
HashMap.fromList
[("daymonth", 0.8109302162163288),
("named-dayintersect", 1.5040773967762742),
("named-day\1502\1512\1509", 1.0986122886681098)],
n = 3},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = 0.15415067982725836,
unseen = 3.044522437723423,
likelihoods =
HashMap.fromList
[("integer 21..99 (with and)hour (grain)", 2.3025850929940455),
("day", 1.8971199848858813),
("integer 7day (grain)", 1.8971199848858813),
("hour", 1.8971199848858813),
("integer (numeric)minute (grain)", 1.8971199848858813),
("minute", 1.8971199848858813),
("integer (numeric)hour (grain)", 2.3025850929940455)],
n = 6},
koData =
ClassData{prior = 1.9459101490553135,
unseen = 2.3978952727983707,
likelihoods =
HashMap.fromList
[("hour", 1.6094379124341003),
("integer 4hour (grain)", 1.6094379124341003)],
n = 1}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = 0.3629054936893685,
unseen = 3.6635616461296463,
likelihoods =
HashMap.fromList
[("\1489 <date>", 2.9444389791664407),
("at <time-of-day>", 2.9444389791664407),
("time-of-day (latent)", 2.2512917986064953),
("hh:mm", 1.1526795099383855), ("hour", 1.845826690498331),
("minute", 1.1526795099383855)],
n = 16},
koData =
ClassData{prior = 1.1895840668738362, unseen = 3.044522437723423,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", 0.916290731874155),
("hour", 0.916290731874155)],
n = 7}}),
("integer 10",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("intersect by \",\"",
Classifier{okData =
ClassData{prior = 0.3794896217049037,
unseen = 3.7612001156935624,
likelihoods =
HashMap.fromList
[("intersect by \",\"year", 3.044522437723423),
("dayday", 2.128231705849268),
("named-dayintersect by \",\"", 2.639057329615259),
("dayyear", 2.128231705849268),
("<named-month> <day-of-month> (non ordinal)intersect",
3.044522437723423),
("named-day<named-month> <day-of-month> (non ordinal)",
3.044522437723423),
("intersect by \",\"intersect", 3.044522437723423),
("named-dayintersect", 3.044522437723423),
("dayminute", 1.9459101490553135),
("named-day<day-of-month> (ordinal) of <named-month>",
3.044522437723423),
("intersectyear", 3.044522437723423),
("named-day<day-of-month> (non ordinal) of <named-month>",
3.044522437723423),
("intersectintersect", 3.044522437723423),
("<named-month> <day-of-month> (non ordinal)year",
2.639057329615259)],
n = 13},
koData =
ClassData{prior = 1.1526795099383855, unseen = 3.367295829986474,
likelihoods =
HashMap.fromList
[("daymonth", 2.639057329615259),
("named-dayintersect by \",\"", 2.639057329615259),
("named-day\1497\1493\1500\1497", 2.639057329615259),
("<named-month> <day-of-month> (non ordinal)intersect",
2.639057329615259),
("intersect by \",\"intersect", 2.639057329615259),
("named-dayintersect", 2.639057329615259),
("dayminute", 1.540445040947149),
("intersectintersect", 2.639057329615259)],
n = 6}}),
("hh:mm",
Classifier{okData =
ClassData{prior = 7.410797215372185e-2,
unseen = 2.70805020110221,
likelihoods = HashMap.fromList [("", 0.0)], n = 13},
koData =
ClassData{prior = 2.639057329615259, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("named-day",
Classifier{okData =
ClassData{prior = 3.7740327982847086e-2,
unseen = 3.332204510175204,
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
koData =
ClassData{prior = 3.295836866004329, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("ordinal 1",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("current <day-of-week>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.70805020110221,
likelihoods =
HashMap.fromList
[("\1489 <date>", 1.9459101490553135),
("\1489 <named-day>", 1.9459101490553135),
("day", 0.8472978603872037),
("named-day", 1.252762968495368)],
n = 5},
koData =
ClassData{prior = infinity, unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("integer 4",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("quarter of an hour",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<named-day> <day-of-month> (ordinal)",
Classifier{okData =
ClassData{prior = 0.6931471805599453, unseen = 1.791759469228055,
likelihoods =
HashMap.fromList
[("named-dayordinal (digits)", 0.916290731874155),
("day", 0.916290731874155)],
n = 1},
koData =
ClassData{prior = 0.6931471805599453, unseen = 1.791759469228055,
likelihoods =
HashMap.fromList
[("absorption of , after named dayordinal (digits)",
0.916290731874155),
("day", 0.916290731874155)],
n = 1}}),
("<duration> ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("<integer> <unit-of-duration>", 0.6931471805599453)],
n = 1},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal 6",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
("integer 3",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("last <time>",
Classifier{okData =
ClassData{prior = 0.9808292530117262,
unseen = 2.5649493574615367,
likelihoods =
HashMap.fromList
[("\1489 <date>", 1.791759469228055),
("day", 1.791759469228055), ("named-day", 1.791759469228055),
("hour", 1.3862943611198906),
("week-end", 1.791759469228055)],
n = 3},
koData =
ClassData{prior = 0.4700036292457356, unseen = 2.833213344056216,
likelihoods =
HashMap.fromList
[("day", 0.9808292530117262),
("named-day", 1.6739764335716716),
("<day-of-month> (ordinal)", 1.3862943611198906)],
n = 5}}),
("<day-of-month> (ordinal)",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 2.4849066497880004,
likelihoods =
HashMap.fromList
[("ordinal 4", 1.7047480922384253),
("ordinal 3", 1.7047480922384253),
("ordinal 2", 1.0116009116784799),
("ordinal 1", 1.2992829841302609)],
n = 7}}),
("\1488\1493\1511\1496\1493\1489\1512",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("noon",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("\1508\1489\1512\1493\1488\1512",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("next <time>",
Classifier{okData =
ClassData{prior = 1.3862943611198906,
unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("\1502\1512\1509", 1.0986122886681098),
("month", 1.0986122886681098)],
n = 1},
koData =
ClassData{prior = 0.2876820724517809,
unseen = 2.3978952727983707,
likelihoods =
HashMap.fromList
[("day", 0.916290731874155), ("named-day", 0.916290731874155)],
n = 3}}),
("last <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.5649493574615367,
likelihoods =
HashMap.fromList
[("week", 1.0986122886681098),
("month (grain)", 1.791759469228055),
("week (grain)", 1.0986122886681098),
("month", 1.791759469228055)],
n = 4},
koData =
ClassData{prior = infinity, unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal 20..90",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("hhmm (military) am|pm",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in <duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.044522437723423,
likelihoods =
HashMap.fromList
[("day", 2.3025850929940455),
("half an hour", 2.3025850929940455),
("<integer> <unit-of-duration>", 1.2039728043259361),
("quarter of an hour", 2.3025850929940455),
("hour", 1.8971199848858813), ("minute", 1.3862943611198906)],
n = 7},
koData =
ClassData{prior = infinity, unseen = 1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("<datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("year<hour-of-day> <integer>", 0.6931471805599453),
("yearminute", 0.6931471805599453)],
n = 2}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.5649493574615367,
likelihoods =
HashMap.fromList
[("\1502\1512\1509", 1.3862943611198906),
("\1488\1493\1511\1496\1493\1489\1512", 1.791759469228055),
("month", 0.8754687373538999),
("\1508\1489\1512\1493\1488\1512", 1.791759469228055)],
n = 4},
koData =
ClassData{prior = infinity, unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal 5",
Classifier{okData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("<named-month> <day-of-month> (non ordinal)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.1354942159291497,
likelihoods =
HashMap.fromList
[("in <named-month>integer (numeric)", 2.3978952727983707),
("\1502\1512\1509integer (numeric)", 2.3978952727983707),
("\1489 <date>integer (numeric)", 2.3978952727983707),
("\1508\1489\1512\1493\1488\1512integer (numeric)",
2.3978952727983707),
("\1488\1493\1490\1493\1505\1496integer (numeric)",
2.3978952727983707),
("\1488\1508\1512\1497\1500integer (numeric)",
2.3978952727983707),
("\1497\1493\1500\1497integer (numeric)", 2.3978952727983707),
("month", 1.0116009116784799)],
n = 7},
koData =
ClassData{prior = infinity, unseen = 2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("<day-of-month> (non ordinal) <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)in <named-month>", 1.8718021769015913),
("integer 3\1489 <date>", 1.8718021769015913),
("integer (numeric)\1489 <date>", 1.8718021769015913),
("month", 0.9555114450274363),
("integer 3in <named-month>", 1.8718021769015913)],
n = 4},
koData =
ClassData{prior = infinity, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 0.6931471805599453,
unseen = 2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
koData =
ClassData{prior = 0.6931471805599453,
unseen = 2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("<day-of-month>(ordinal) <named-month> year",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.0794415416798357,
likelihoods =
HashMap.fromList
[("ordinal 3\1489 <date>", 1.252762968495368),
("month", 0.8472978603872037),
("ordinal 3in <named-month>", 1.252762968495368)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("morning",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("week-end",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("this evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("this <time>",
Classifier{okData =
ClassData{prior = 0.45198512374305727,
unseen = 3.0910424533583156,
likelihoods =
HashMap.fromList
[("\1489 <date>", 1.9459101490553135),
("\1489 <named-day>", 2.3513752571634776),
("day", 1.252762968495368), ("named-day", 1.6582280766035324),
("hour", 1.9459101490553135),
("week-end", 2.3513752571634776)],
n = 7},
koData =
ClassData{prior = 1.0116009116784799, unseen = 2.772588722239781,
likelihoods =
HashMap.fromList
[("\1489 <date>", 2.0149030205422647),
("day", 1.0986122886681098),
("<day-of-month> (ordinal)", 1.3217558399823195)],
n = 4}})]