mirror of
https://github.com/facebook/duckling.git
synced 2024-09-11 21:27:13 +03:00
Time - handle alter current time expressions
This commit is contained in:
parent
a0c8a60975
commit
28d58f5b3a
@ -23,17 +23,17 @@ classifiers
|
||||
= HashMap.fromList
|
||||
[("Thursday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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.2205021062771466, unseen = -2.995732273553991,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
|
||||
ClassData{prior = -0.6817184847363225, unseen = -3.828641396489095,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 44},
|
||||
koData =
|
||||
ClassData{prior = -0.3496737484797488,
|
||||
ClassData{prior = -0.7047080029610213,
|
||||
unseen = -3.8066624897703196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 43}}),
|
||||
("pm <time-of-day>",
|
||||
@ -49,16 +49,17 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5108256237659907, unseen = -2.995732273553991,
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -3.1780538303479458,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -0.9985288301111273),
|
||||
("todaypart of days", -1.3350010667323402),
|
||||
("tomorrowpart of days", -2.2512917986064953),
|
||||
("yesterdaypart of days", -2.2512917986064953)],
|
||||
n = 6},
|
||||
[("dayhour", -0.9382696385929302),
|
||||
("todaypart of days", -1.1895840668738362),
|
||||
("tomorrowpart of days", -2.4423470353692043),
|
||||
("yesterdaypart of days", -2.4423470353692043)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -0.916290731874155, unseen = -2.772588722239781,
|
||||
ClassData{prior = -1.0986122886681098, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.0986122886681098),
|
||||
@ -68,8 +69,29 @@ classifiers
|
||||
n = 4}}),
|
||||
("today",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("December",
|
||||
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}}),
|
||||
("September",
|
||||
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}}),
|
||||
("October",
|
||||
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}}),
|
||||
@ -82,12 +104,33 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("January",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
|
||||
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}}),
|
||||
("Wednesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 13},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("November",
|
||||
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}}),
|
||||
("July",
|
||||
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}}),
|
||||
("May",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
@ -96,22 +139,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -3.713572066704308,
|
||||
ClassData{prior = -0.3629054936893685,
|
||||
unseen = -3.8066624897703196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.0498221244986778),
|
||||
("yyyy.mm.ddhh:mm", -2.995732273553991),
|
||||
("Wednesdaypm <time-of-day>", -2.3025850929940455),
|
||||
("todaypart of days", -2.0794415416798357),
|
||||
("yyyy.mm.ddpm <time-of-day>", -2.995732273553991),
|
||||
("dayminute", -2.995732273553991),
|
||||
("tomorrowpart of days", -2.995732273553991),
|
||||
("next <day-of-week>pm <time-of-day>", -2.3025850929940455),
|
||||
("yesterdaypart of days", -2.995732273553991)],
|
||||
n = 14},
|
||||
[("dayhour", -1.0116009116784799),
|
||||
("yyyy.mm.ddhh:mm", -3.0910424533583156),
|
||||
("Wednesdaypm <time-of-day>", -2.3978952727983707),
|
||||
("todaypart of days", -1.8382794848629478),
|
||||
("yyyy.mm.ddpm <time-of-day>", -3.0910424533583156),
|
||||
("dayminute", -3.0910424533583156),
|
||||
("tomorrowpart of days", -3.0910424533583156),
|
||||
("next <day-of-week>pm <time-of-day>", -2.3978952727983707),
|
||||
("yesterdaypart of days", -3.0910424533583156)],
|
||||
n = 16},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098, unseen = -3.295836866004329,
|
||||
ClassData{prior = -1.1895840668738362, unseen = -3.295836866004329,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.1786549963416462),
|
||||
@ -127,24 +170,31 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("day before yesterday",
|
||||
("Saturday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Monday",
|
||||
("day before yesterday",
|
||||
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}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
@ -155,6 +205,13 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("April",
|
||||
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}}),
|
||||
("am <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
@ -168,15 +225,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("end of month",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("Friday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("tomorrow",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
@ -206,8 +270,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Sunday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
|
||||
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}}),
|
||||
("June",
|
||||
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}}),
|
||||
("February",
|
||||
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}}),
|
||||
@ -228,8 +306,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("March",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10},
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 39},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -249,33 +327,35 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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}}),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
ClassData{prior = 0.0, unseen = -4.74493212836325,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Marchinteger (numeric)", -0.6931471805599453),
|
||||
("month", -0.6931471805599453)],
|
||||
n = 5},
|
||||
n = 56},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ordinal (digits)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
ClassData{prior = -2.0794415416798357,
|
||||
unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
ClassData{prior = -0.13353139262452263,
|
||||
unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
|
||||
("seasons",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 16},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -288,31 +368,48 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("right now",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("end of year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("day after tomorrow",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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}}),
|
||||
("part of days",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10},
|
||||
ClassData{prior = -0.17589066646366416,
|
||||
unseen = -3.332204510175204,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5}})]
|
||||
ClassData{prior = -1.824549292051046, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
|
||||
("<named-month> <day-of-month> (ordinal)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("month", -0.6931471805599453),
|
||||
("Marchordinal (digits)", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("August",
|
||||
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}})]
|
File diff suppressed because it is too large
Load Diff
@ -381,11 +381,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("hafta (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -8.004270767353637e-2,
|
||||
unseen = -3.258096538021482,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
|
||||
ClassData{prior = -7.696104113612832e-2,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
koData =
|
||||
ClassData{prior = -2.5649493574615367,
|
||||
ClassData{prior = -2.6026896854443837,
|
||||
unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("Pazartesi",
|
||||
@ -576,16 +576,17 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("<duration> from now",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
ClassData{prior = -infinity, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("second", -1.540445040947149), ("year", -1.9459101490553135),
|
||||
("<integer> <unit-of-duration>", -0.8472978603872037),
|
||||
("hour", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
[("week", -2.1400661634962708), ("second", -1.7346010553881064),
|
||||
("year", -2.1400661634962708),
|
||||
("<integer> <unit-of-duration>", -0.8873031950009028),
|
||||
("hour", -1.7346010553881064)],
|
||||
n = 6}}),
|
||||
("quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
@ -653,8 +654,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.43995128417933377,
|
||||
unseen = -4.584967478670572,
|
||||
ClassData{prior = -0.456758402495715, unseen = -4.584967478670572,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.0898043287153825),
|
||||
@ -677,30 +677,29 @@ classifiers
|
||||
("integer (0..9)dakika (grain)", -3.4760986898352733)],
|
||||
n = 38},
|
||||
koData =
|
||||
ClassData{prior = -1.0330150061822965,
|
||||
unseen = -4.1588830833596715,
|
||||
ClassData{prior = -1.0033021088637848, unseen = -4.189654742026425,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.7568403652716422),
|
||||
("integer (numeric)saniye (grain)", -3.044522437723423),
|
||||
("integer (0..9)saniye (grain)", -3.044522437723423),
|
||||
("second", -2.5336968139574325),
|
||||
("integer (numeric)g\252n (grain)", -3.4499875458315876),
|
||||
("integer (numeric)ay (grain)", -3.4499875458315876),
|
||||
("integer (0..9)g\252n (grain)", -3.4499875458315876),
|
||||
("integer (numeric)y\305l (grain)", -3.044522437723423),
|
||||
("day", -3.044522437723423),
|
||||
("integer (0..9)ay (grain)", -3.4499875458315876),
|
||||
("year", -2.5336968139574325),
|
||||
("integer (0..9)y\305l (grain)", -3.044522437723423),
|
||||
("hour", -2.5336968139574325), ("month", -3.044522437723423),
|
||||
("integer (numeric)dakika (grain)", -3.4499875458315876),
|
||||
("integer (0..9)saat (grain)", -3.044522437723423),
|
||||
("integer (0..9)hafta (grain)", -2.7568403652716422),
|
||||
("minute", -3.044522437723423),
|
||||
("integer (numeric)saat (grain)", -3.044522437723423),
|
||||
("integer (0..9)dakika (grain)", -3.4499875458315876)],
|
||||
n = 21}}),
|
||||
[("week", -2.5649493574615367),
|
||||
("integer (numeric)saniye (grain)", -3.0757749812275272),
|
||||
("integer (0..9)saniye (grain)", -3.0757749812275272),
|
||||
("second", -2.5649493574615367),
|
||||
("integer (numeric)g\252n (grain)", -3.481240089335692),
|
||||
("integer (numeric)ay (grain)", -3.481240089335692),
|
||||
("integer (0..9)g\252n (grain)", -3.481240089335692),
|
||||
("integer (numeric)y\305l (grain)", -3.0757749812275272),
|
||||
("day", -3.0757749812275272),
|
||||
("integer (0..9)ay (grain)", -3.481240089335692),
|
||||
("year", -2.5649493574615367),
|
||||
("integer (0..9)y\305l (grain)", -3.0757749812275272),
|
||||
("hour", -2.5649493574615367), ("month", -3.0757749812275272),
|
||||
("integer (numeric)dakika (grain)", -3.481240089335692),
|
||||
("integer (0..9)saat (grain)", -3.0757749812275272),
|
||||
("integer (0..9)hafta (grain)", -2.5649493574615367),
|
||||
("minute", -3.0757749812275272),
|
||||
("integer (numeric)saat (grain)", -3.0757749812275272),
|
||||
("integer (0..9)dakika (grain)", -3.481240089335692)],
|
||||
n = 22}}),
|
||||
("Aral\305k",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -941,21 +940,21 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("next n <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.258096538021482,
|
||||
ClassData{prior = 0.0, unseen = -3.332204510175204,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5257286443082556),
|
||||
("integer (numeric)saniye (grain)", -2.5257286443082556),
|
||||
("integer (0..9)saniye (grain)", -2.5257286443082556),
|
||||
("second", -2.120263536200091),
|
||||
("integer (numeric)y\305l (grain)", -2.5257286443082556),
|
||||
("year", -2.120263536200091),
|
||||
("integer (0..9)y\305l (grain)", -2.5257286443082556),
|
||||
("hour", -2.120263536200091),
|
||||
("integer (0..9)saat (grain)", -2.5257286443082556),
|
||||
("integer (0..9)hafta (grain)", -2.5257286443082556),
|
||||
("integer (numeric)saat (grain)", -2.5257286443082556)],
|
||||
n = 7},
|
||||
[("week", -2.1972245773362196),
|
||||
("integer (numeric)saniye (grain)", -2.6026896854443837),
|
||||
("integer (0..9)saniye (grain)", -2.6026896854443837),
|
||||
("second", -2.1972245773362196),
|
||||
("integer (numeric)y\305l (grain)", -2.6026896854443837),
|
||||
("year", -2.1972245773362196),
|
||||
("integer (0..9)y\305l (grain)", -2.6026896854443837),
|
||||
("hour", -2.1972245773362196),
|
||||
("integer (0..9)saat (grain)", -2.6026896854443837),
|
||||
("integer (0..9)hafta (grain)", -2.1972245773362196),
|
||||
("integer (numeric)saat (grain)", -2.6026896854443837)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1133,8 +1132,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 65}}),
|
||||
("integer (0..9)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.6109179126442243,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 35},
|
||||
ClassData{prior = 0.0, unseen = -3.6375861597263857,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 36},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
|
@ -84,10 +84,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67},
|
||||
ClassData{prior = -0.6714856837787658, unseen = -4.276666119016055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 70},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
ClassData{prior = -0.7152883064371588, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67}}),
|
||||
("\21355\22622\33410",
|
||||
Classifier{okData =
|
||||
@ -158,8 +158,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("tonight",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
|
||||
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}}),
|
||||
@ -172,22 +172,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("month (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.8855190732074014,
|
||||
unseen = -3.5553480614894135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
|
||||
koData =
|
||||
ClassData{prior = -0.48058573857627246,
|
||||
unseen = -3.891820298110627,
|
||||
ClassData{prior = -0.531879032963823, unseen = -3.891820298110627,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 47}}),
|
||||
("<time-of-day> o'clock",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.466337068793427, unseen = -3.044522437723423,
|
||||
ClassData{prior = -1.3156767939059373,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 9},
|
||||
n = 11},
|
||||
koData =
|
||||
ClassData{prior = -0.262364264467491, unseen = -4.143134726391533,
|
||||
ClassData{prior = -0.31237468504215243,
|
||||
unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
@ -211,11 +213,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Wednesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
ClassData{prior = -5.406722127027582e-2,
|
||||
unseen = -2.995732273553991,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
|
||||
koData =
|
||||
ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -2.9444389791664407,
|
||||
unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\21360\24230\20016\25910\33410\31532\19977\22825",
|
||||
Classifier{okData =
|
||||
@ -257,74 +260,76 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.694137640013845e-2,
|
||||
unseen = -6.329720905522696,
|
||||
ClassData{prior = -5.567300242624164e-2,
|
||||
unseen = -6.35088571671474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
-4.718498871295094),
|
||||
-4.739701078945697),
|
||||
("year (numeric with year symbol)\20809\26126\33410",
|
||||
-4.248495242049359),
|
||||
("xxxx year<named-month> <day-of-month>", -4.941642422609305),
|
||||
("daymonth", -4.248495242049359),
|
||||
("monthday", -1.9459101490553135),
|
||||
("next yearSeptember", -5.2293244950610855),
|
||||
-4.269697449699962),
|
||||
("xxxx year<named-month> <day-of-month>", -4.962844630259907),
|
||||
("daymonth", -4.269697449699962),
|
||||
("monthday", -1.9183221925364844),
|
||||
("next yearSeptember", -5.250526702711688),
|
||||
("year (numeric with year symbol)\25995\26376",
|
||||
-4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)\20061\22812\33410",
|
||||
-4.941642422609305),
|
||||
("year (numeric with year symbol)February", -4.718498871295094),
|
||||
("xxxx yearintersect", -4.941642422609305),
|
||||
("March<time> <day-of-month>", -3.7629874262676584),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)February", -4.739701078945697),
|
||||
("xxxx yearintersect", -4.962844630259907),
|
||||
("March<time> <day-of-month>", -3.784189633918261),
|
||||
("year (numeric with year symbol)<named-month> <day-of-month>",
|
||||
-3.494723439672979),
|
||||
("monthhour", -3.7629874262676584),
|
||||
-3.515925647323582),
|
||||
("monthhour", -3.784189633918261),
|
||||
("year (numeric with year symbol)\22320\29699\19968\23567\26102",
|
||||
-5.2293244950610855),
|
||||
("year (numeric with year symbol)April", -5.2293244950610855),
|
||||
("dayday", -2.284885515894645),
|
||||
("hourhour", -4.718498871295094),
|
||||
("xxxx yearFebruary", -5.634789603169249),
|
||||
("year (numeric with year symbol)March", -4.1307122063929755),
|
||||
("February<dim time> <part-of-day>", -3.7629874262676584),
|
||||
("hourminute", -4.718498871295094),
|
||||
("April<time> <day-of-month>", -5.2293244950610855),
|
||||
("February<time> <day-of-month>", -2.614364717024887),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)April", -5.250526702711688),
|
||||
("dayday", -2.306087723545248),
|
||||
("hourhour", -4.403228842324484),
|
||||
("xxxx yearFebruary", -5.655991810819852),
|
||||
("year (numeric with year symbol)March", -4.151914414043579),
|
||||
("February<dim time> <part-of-day>", -3.784189633918261),
|
||||
("hourminute", -4.739701078945697),
|
||||
("April<time> <day-of-month>", -5.250526702711688),
|
||||
("February<time> <day-of-month>", -2.6355669246754903),
|
||||
("absorption of , after named day<named-month> <day-of-month>",
|
||||
-3.619886582626985),
|
||||
-3.6410887902775877),
|
||||
("year (numeric with year symbol)\22823\25995\26399",
|
||||
-4.941642422609305),
|
||||
("this <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("this <cycle><time> <day-of-month>", -4.269697449699962),
|
||||
("year (numeric with year symbol)\22235\26092\33410",
|
||||
-5.2293244950610855),
|
||||
("yearmonth", -3.332204510175204),
|
||||
-5.250526702711688),
|
||||
("yearmonth", -3.353406717825807),
|
||||
("year (numeric with year symbol)\20303\26842\33410",
|
||||
-5.2293244950610855),
|
||||
("dayminute", -4.718498871295094),
|
||||
("next <cycle>September", -5.634789603169249),
|
||||
("intersect by \",\"<time> <day-of-month>", -3.619886582626985),
|
||||
("xxxx yearMarch", -5.634789603169249),
|
||||
-5.250526702711688),
|
||||
("dayminute", -4.739701078945697),
|
||||
("next <cycle>September", -5.655991810819852),
|
||||
("intersect by \",\"<time> <day-of-month>",
|
||||
-3.6410887902775877),
|
||||
("xxxx yearMarch", -5.655991810819852),
|
||||
("absorption of , after named dayintersect",
|
||||
-3.619886582626985),
|
||||
("intersect<time> <day-of-month>", -2.8015762591130335),
|
||||
("next <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
("tonight<time-of-day> o'clock", -4.718498871295094),
|
||||
-3.6410887902775877),
|
||||
("intersect<time> <day-of-month>", -2.8227784667636366),
|
||||
("next <cycle><time> <day-of-month>", -4.962844630259907),
|
||||
("tonight<time-of-day> o'clock", -4.403228842324484),
|
||||
("year (numeric with year symbol)intersect",
|
||||
-3.494723439672979),
|
||||
("yearday", -2.0794415416798357),
|
||||
("absorption of , after named dayFebruary", -4.248495242049359),
|
||||
-3.515925647323582),
|
||||
("yearday", -2.100643749330439),
|
||||
("absorption of , after named dayFebruary", -4.269697449699962),
|
||||
("year (numeric with year symbol)\19971\19971\33410",
|
||||
-4.248495242049359),
|
||||
-4.269697449699962),
|
||||
("year (numeric with year symbol)\36926\36234\33410",
|
||||
-5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)\29369\22826\26032\24180",
|
||||
-5.2293244950610855),
|
||||
("yearminute", -5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("yearminute", -5.250526702711688),
|
||||
("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-4.718498871295094)],
|
||||
n = 256},
|
||||
-4.739701078945697)],
|
||||
n = 262},
|
||||
koData =
|
||||
ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215,
|
||||
ClassData{prior = -2.9159673050851285,
|
||||
unseen = -4.3694478524670215,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
@ -360,10 +365,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.625967214385311, unseen = -2.639057329615259,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
||||
ClassData{prior = -1.4508328822574619, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
koData =
|
||||
ClassData{prior = -0.21905356606268464,
|
||||
ClassData{prior = -0.26706278524904525,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
("Saturday",
|
||||
@ -409,13 +414,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <day-of-week>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.970291913552122,
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.8718021769015913),
|
||||
("Monday", -1.8718021769015913), ("day", -0.7323678937132265),
|
||||
("Tuesday", -1.5533484457830569)],
|
||||
n = 24},
|
||||
[("Wednesday", -1.8632184332102), ("Monday", -1.8632184332102),
|
||||
("day", -0.7282385003712154), ("Tuesday", -1.575536360758419)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -484,11 +488,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.15415067982725836,
|
||||
unseen = -3.258096538021482,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
|
||||
ClassData{prior = -0.14842000511827333,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
koData =
|
||||
ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055,
|
||||
ClassData{prior = -1.9810014688665833, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("\19971\19971\33410",
|
||||
Classifier{okData =
|
||||
@ -513,25 +517,25 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> <day-of-month>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.24946085963158313,
|
||||
unseen = -4.204692619390966,
|
||||
ClassData{prior = -0.2837681731306446,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.3564413979702095),
|
||||
("integer (20,30,40)", -3.0910424533583156),
|
||||
("integer with consecutive unit modifiers", -1.245215762859985),
|
||||
("integer (0..10)", -1.4170660197866443),
|
||||
("number suffix: \21313|\25342", -2.1102132003465894),
|
||||
("compose by multiplication", -3.0910424533583156)],
|
||||
n = 60},
|
||||
[("integer (numeric)", -1.3040562628829186),
|
||||
("integer (20,30,40)", -3.1498829533812494),
|
||||
("integer with consecutive unit modifiers",
|
||||
-1.3040562628829186),
|
||||
("integer (0..10)", -1.4759065198095778),
|
||||
("number suffix: \21313|\25342", -2.169053700369523),
|
||||
("compose by multiplication", -2.639057329615259)],
|
||||
n = 64},
|
||||
koData =
|
||||
ClassData{prior = -1.5105920777974677,
|
||||
unseen = -3.1780538303479458,
|
||||
ClassData{prior = -1.3981288187668934, unseen = -3.332204510175204,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)", -0.3629054936893685),
|
||||
("number suffix: \21313|\25342", -2.03688192726104)],
|
||||
n = 17}}),
|
||||
[("integer (0..10)", -0.40546510810816444),
|
||||
("number suffix: \21313|\25342", -1.6863989535702288)],
|
||||
n = 21}}),
|
||||
("\19996\27491\25945\22797\27963\33410",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
@ -560,15 +564,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> (latent time-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2754119798599665,
|
||||
unseen = -3.8066624897703196,
|
||||
ClassData{prior = -0.26415157504158676,
|
||||
unseen = -3.8501476017100584,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -2.174751721484161),
|
||||
("integer (0..10)", -0.1466034741918754)],
|
||||
n = 41},
|
||||
[("integer (numeric)", -2.03688192726104),
|
||||
("integer (0..10)", -0.16507975035944858)],
|
||||
n = 43},
|
||||
koData =
|
||||
ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216,
|
||||
ClassData{prior = -1.4604023332736125, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.4700036292457356),
|
||||
@ -630,13 +634,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8434293836092833,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
|
||||
ClassData{prior = -0.9057086225436182,
|
||||
unseen = -3.6888794541139363,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.5625269981428811,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
ClassData{prior = -0.5179430915348547, unseen = -4.060443010546419,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 56}}),
|
||||
("relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.45198512374305727,
|
||||
@ -736,8 +739,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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}}),
|
||||
@ -825,23 +828,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8909729238898653,
|
||||
unseen = -3.6635616461296463,
|
||||
ClassData{prior = -0.7672551527136672, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -1.1526795099383855),
|
||||
("month (grain)", -2.2512917986064953),
|
||||
("year (grain)", -2.538973871058276),
|
||||
("week (grain)", -1.1526795099383855),
|
||||
("year", -2.538973871058276), ("month", -2.2512917986064953)],
|
||||
n = 16},
|
||||
[("week", -1.529395204760564),
|
||||
("month (grain)", -2.0149030205422647),
|
||||
("year (grain)", -2.3025850929940455),
|
||||
("week (grain)", -1.529395204760564),
|
||||
("day", -2.995732273553991), ("year", -2.3025850929940455),
|
||||
("month", -2.0149030205422647),
|
||||
("day (grain)", -2.995732273553991)],
|
||||
n = 26},
|
||||
koData =
|
||||
ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122,
|
||||
ClassData{prior = -0.6241543090729939, unseen = -4.23410650459726,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -0.7731898882334817),
|
||||
("week (grain)", -0.7731898882334817)],
|
||||
n = 23}}),
|
||||
[("week", -0.7855205006909605),
|
||||
("week (grain)", -0.7855205006909605)],
|
||||
n = 30}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165,
|
||||
@ -885,28 +889,29 @@ classifiers
|
||||
n = 4}}),
|
||||
("<part-of-day> <dim time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.7935659283069926,
|
||||
unseen = -5.0369526024136295,
|
||||
ClassData{prior = -0.7639162514481526,
|
||||
unseen = -5.0875963352323845,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("tonight<integer> (latent time-of-day)", -3.4210000089583352),
|
||||
[("tonight<integer> (latent time-of-day)", -3.1354942159291497),
|
||||
("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-1.6631420914059614),
|
||||
("hourhour", -2.322387720290225),
|
||||
("afternoon<time-of-day> o'clock", -3.644143560272545),
|
||||
("hourminute", -0.9699949108460162),
|
||||
("afternoon<integer> (latent time-of-day)", -3.644143560272545),
|
||||
-1.714108534997989),
|
||||
("hourhour", -2.1369653858180224),
|
||||
("afternoon<time-of-day> o'clock", -3.6951100038645723),
|
||||
("hourminute", -1.0209613544380436),
|
||||
("afternoon<integer> (latent time-of-day)",
|
||||
-3.6951100038645723),
|
||||
("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)",
|
||||
-2.72785282839839),
|
||||
("afternoonhh:mm (time-of-day)", -3.644143560272545),
|
||||
("tonight<time-of-day> o'clock", -3.4210000089583352),
|
||||
-2.7788192719904172),
|
||||
("afternoonhh:mm (time-of-day)", -3.6951100038645723),
|
||||
("tonight<time-of-day> o'clock", -3.1354942159291497),
|
||||
("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)",
|
||||
-2.4654885639308985),
|
||||
-2.5164550075229264),
|
||||
("afternoonhalf after|past <integer> (hour-of-day)",
|
||||
-3.2386784521643803)],
|
||||
n = 71},
|
||||
-3.289644895756408)],
|
||||
n = 75},
|
||||
koData =
|
||||
ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986,
|
||||
ClassData{prior = -0.6270570687309552, unseen = -5.214935757608986,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
@ -1257,11 +1262,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -3.922071315328127e-2,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
ClassData{prior = -3.7740327982847086e-2,
|
||||
unseen = -3.332204510175204,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
|
||||
koData =
|
||||
ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -3.295836866004329, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\26149\33410",
|
||||
Classifier{okData =
|
||||
@ -1357,11 +1362,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0..10)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 221},
|
||||
ClassData{prior = -0.6020691041877619, unseen = -5.420534999272286,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 224},
|
||||
koData =
|
||||
ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 180}}),
|
||||
ClassData{prior = -0.793359330964477, unseen = -5.231108616854587,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 185}}),
|
||||
("last n <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.605170185988091,
|
||||
@ -1449,18 +1454,19 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week-end",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("number suffix: \21313|\25342",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1590646946296874,
|
||||
unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.1495317339709637,
|
||||
unseen = -3.4965075614664802,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 31},
|
||||
koData =
|
||||
ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135,
|
||||
ClassData{prior = -1.9740810260220096,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
|
||||
("\22320\29699\19968\23567\26102",
|
||||
Classifier{okData =
|
||||
@ -1471,11 +1477,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("day (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.38299225225610584,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = -0.3448404862917295,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -1.1451323043030026,
|
||||
ClassData{prior = -1.2321436812926323,
|
||||
unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
|
||||
("\22307\32426\33410",
|
||||
@ -1511,15 +1517,16 @@ classifiers
|
||||
n = 6}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
unseen = -2.0794415416798357,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -2.3025850929940455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)number suffix: \21313|\25342",
|
||||
-0.15415067982725836)],
|
||||
n = 5},
|
||||
-0.11778303565638351)],
|
||||
n = 7},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003,
|
||||
ClassData{prior = -1.5040773967762742,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("one point 2number suffix: \21313|\25342",
|
||||
@ -1562,14 +1569,14 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
ClassData{prior = 0.0, unseen = -4.204692619390966,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.9810014688665833),
|
||||
("Monday", -1.9810014688665833), ("day", -0.8415671856782186),
|
||||
("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489),
|
||||
("week-end", -2.9618307218783095)],
|
||||
n = 26},
|
||||
[("Wednesday", -1.9924301646902063),
|
||||
("Monday", -1.9924301646902063), ("day", -0.8574502318512216),
|
||||
("hour", -2.803360380906535), ("Tuesday", -1.7047480922384253),
|
||||
("week-end", -2.803360380906535)],
|
||||
n = 30},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}})]
|
@ -84,10 +84,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67},
|
||||
ClassData{prior = -0.6714856837787658, unseen = -4.276666119016055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 70},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
ClassData{prior = -0.7152883064371588, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67}}),
|
||||
("\21355\22622\33410",
|
||||
Classifier{okData =
|
||||
@ -158,8 +158,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("tonight",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
|
||||
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}}),
|
||||
@ -172,22 +172,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("month (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.8855190732074014,
|
||||
unseen = -3.5553480614894135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
|
||||
koData =
|
||||
ClassData{prior = -0.48058573857627246,
|
||||
unseen = -3.891820298110627,
|
||||
ClassData{prior = -0.531879032963823, unseen = -3.891820298110627,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 47}}),
|
||||
("<time-of-day> o'clock",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.466337068793427, unseen = -3.044522437723423,
|
||||
ClassData{prior = -1.3156767939059373,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 9},
|
||||
n = 11},
|
||||
koData =
|
||||
ClassData{prior = -0.262364264467491, unseen = -4.143134726391533,
|
||||
ClassData{prior = -0.31237468504215243,
|
||||
unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
@ -211,11 +213,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Wednesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
ClassData{prior = -5.406722127027582e-2,
|
||||
unseen = -2.995732273553991,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
|
||||
koData =
|
||||
ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -2.9444389791664407,
|
||||
unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\21360\24230\20016\25910\33410\31532\19977\22825",
|
||||
Classifier{okData =
|
||||
@ -257,74 +260,76 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.694137640013845e-2,
|
||||
unseen = -6.329720905522696,
|
||||
ClassData{prior = -5.567300242624164e-2,
|
||||
unseen = -6.35088571671474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
-4.718498871295094),
|
||||
-4.739701078945697),
|
||||
("year (numeric with year symbol)\20809\26126\33410",
|
||||
-4.248495242049359),
|
||||
("xxxx year<named-month> <day-of-month>", -4.941642422609305),
|
||||
("daymonth", -4.248495242049359),
|
||||
("monthday", -1.9459101490553135),
|
||||
("next yearSeptember", -5.2293244950610855),
|
||||
-4.269697449699962),
|
||||
("xxxx year<named-month> <day-of-month>", -4.962844630259907),
|
||||
("daymonth", -4.269697449699962),
|
||||
("monthday", -1.9183221925364844),
|
||||
("next yearSeptember", -5.250526702711688),
|
||||
("year (numeric with year symbol)\25995\26376",
|
||||
-4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)\20061\22812\33410",
|
||||
-4.941642422609305),
|
||||
("year (numeric with year symbol)February", -4.718498871295094),
|
||||
("xxxx yearintersect", -4.941642422609305),
|
||||
("March<time> <day-of-month>", -3.7629874262676584),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)February", -4.739701078945697),
|
||||
("xxxx yearintersect", -4.962844630259907),
|
||||
("March<time> <day-of-month>", -3.784189633918261),
|
||||
("year (numeric with year symbol)<named-month> <day-of-month>",
|
||||
-3.494723439672979),
|
||||
("monthhour", -3.7629874262676584),
|
||||
-3.515925647323582),
|
||||
("monthhour", -3.784189633918261),
|
||||
("year (numeric with year symbol)\22320\29699\19968\23567\26102",
|
||||
-5.2293244950610855),
|
||||
("year (numeric with year symbol)April", -5.2293244950610855),
|
||||
("dayday", -2.284885515894645),
|
||||
("hourhour", -4.718498871295094),
|
||||
("xxxx yearFebruary", -5.634789603169249),
|
||||
("year (numeric with year symbol)March", -4.1307122063929755),
|
||||
("February<dim time> <part-of-day>", -3.7629874262676584),
|
||||
("hourminute", -4.718498871295094),
|
||||
("April<time> <day-of-month>", -5.2293244950610855),
|
||||
("February<time> <day-of-month>", -2.614364717024887),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)April", -5.250526702711688),
|
||||
("dayday", -2.306087723545248),
|
||||
("hourhour", -4.403228842324484),
|
||||
("xxxx yearFebruary", -5.655991810819852),
|
||||
("year (numeric with year symbol)March", -4.151914414043579),
|
||||
("February<dim time> <part-of-day>", -3.784189633918261),
|
||||
("hourminute", -4.739701078945697),
|
||||
("April<time> <day-of-month>", -5.250526702711688),
|
||||
("February<time> <day-of-month>", -2.6355669246754903),
|
||||
("absorption of , after named day<named-month> <day-of-month>",
|
||||
-3.619886582626985),
|
||||
-3.6410887902775877),
|
||||
("year (numeric with year symbol)\22823\25995\26399",
|
||||
-4.941642422609305),
|
||||
("this <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("this <cycle><time> <day-of-month>", -4.269697449699962),
|
||||
("year (numeric with year symbol)\22235\26092\33410",
|
||||
-5.2293244950610855),
|
||||
("yearmonth", -3.332204510175204),
|
||||
-5.250526702711688),
|
||||
("yearmonth", -3.353406717825807),
|
||||
("year (numeric with year symbol)\20303\26842\33410",
|
||||
-5.2293244950610855),
|
||||
("dayminute", -4.718498871295094),
|
||||
("next <cycle>September", -5.634789603169249),
|
||||
("intersect by \",\"<time> <day-of-month>", -3.619886582626985),
|
||||
("xxxx yearMarch", -5.634789603169249),
|
||||
-5.250526702711688),
|
||||
("dayminute", -4.739701078945697),
|
||||
("next <cycle>September", -5.655991810819852),
|
||||
("intersect by \",\"<time> <day-of-month>",
|
||||
-3.6410887902775877),
|
||||
("xxxx yearMarch", -5.655991810819852),
|
||||
("absorption of , after named dayintersect",
|
||||
-3.619886582626985),
|
||||
("intersect<time> <day-of-month>", -2.8015762591130335),
|
||||
("next <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
("tonight<time-of-day> o'clock", -4.718498871295094),
|
||||
-3.6410887902775877),
|
||||
("intersect<time> <day-of-month>", -2.8227784667636366),
|
||||
("next <cycle><time> <day-of-month>", -4.962844630259907),
|
||||
("tonight<time-of-day> o'clock", -4.403228842324484),
|
||||
("year (numeric with year symbol)intersect",
|
||||
-3.494723439672979),
|
||||
("yearday", -2.0794415416798357),
|
||||
("absorption of , after named dayFebruary", -4.248495242049359),
|
||||
-3.515925647323582),
|
||||
("yearday", -2.100643749330439),
|
||||
("absorption of , after named dayFebruary", -4.269697449699962),
|
||||
("year (numeric with year symbol)\19971\19971\33410",
|
||||
-4.248495242049359),
|
||||
-4.269697449699962),
|
||||
("year (numeric with year symbol)\36926\36234\33410",
|
||||
-5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)\29369\22826\26032\24180",
|
||||
-5.2293244950610855),
|
||||
("yearminute", -5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("yearminute", -5.250526702711688),
|
||||
("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-4.718498871295094)],
|
||||
n = 256},
|
||||
-4.739701078945697)],
|
||||
n = 262},
|
||||
koData =
|
||||
ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215,
|
||||
ClassData{prior = -2.9159673050851285,
|
||||
unseen = -4.3694478524670215,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
@ -360,10 +365,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.625967214385311, unseen = -2.639057329615259,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
||||
ClassData{prior = -1.4508328822574619, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
koData =
|
||||
ClassData{prior = -0.21905356606268464,
|
||||
ClassData{prior = -0.26706278524904525,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
("Saturday",
|
||||
@ -409,13 +414,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <day-of-week>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.970291913552122,
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.8718021769015913),
|
||||
("Monday", -1.8718021769015913), ("day", -0.7323678937132265),
|
||||
("Tuesday", -1.5533484457830569)],
|
||||
n = 24},
|
||||
[("Wednesday", -1.8632184332102), ("Monday", -1.8632184332102),
|
||||
("day", -0.7282385003712154), ("Tuesday", -1.575536360758419)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -484,11 +488,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.15415067982725836,
|
||||
unseen = -3.258096538021482,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
|
||||
ClassData{prior = -0.14842000511827333,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
koData =
|
||||
ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055,
|
||||
ClassData{prior = -1.9810014688665833, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("\19971\19971\33410",
|
||||
Classifier{okData =
|
||||
@ -513,25 +517,25 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> <day-of-month>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.24946085963158313,
|
||||
unseen = -4.204692619390966,
|
||||
ClassData{prior = -0.2837681731306446,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.3564413979702095),
|
||||
("integer (20,30,40)", -3.0910424533583156),
|
||||
("integer with consecutive unit modifiers", -1.245215762859985),
|
||||
("integer (0..10)", -1.4170660197866443),
|
||||
("number suffix: \21313|\25342", -2.1102132003465894),
|
||||
("compose by multiplication", -3.0910424533583156)],
|
||||
n = 60},
|
||||
[("integer (numeric)", -1.3040562628829186),
|
||||
("integer (20,30,40)", -3.1498829533812494),
|
||||
("integer with consecutive unit modifiers",
|
||||
-1.3040562628829186),
|
||||
("integer (0..10)", -1.4759065198095778),
|
||||
("number suffix: \21313|\25342", -2.169053700369523),
|
||||
("compose by multiplication", -2.639057329615259)],
|
||||
n = 64},
|
||||
koData =
|
||||
ClassData{prior = -1.5105920777974677,
|
||||
unseen = -3.1780538303479458,
|
||||
ClassData{prior = -1.3981288187668934, unseen = -3.332204510175204,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)", -0.3629054936893685),
|
||||
("number suffix: \21313|\25342", -2.03688192726104)],
|
||||
n = 17}}),
|
||||
[("integer (0..10)", -0.40546510810816444),
|
||||
("number suffix: \21313|\25342", -1.6863989535702288)],
|
||||
n = 21}}),
|
||||
("\19996\27491\25945\22797\27963\33410",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
@ -560,15 +564,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> (latent time-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2754119798599665,
|
||||
unseen = -3.8066624897703196,
|
||||
ClassData{prior = -0.26415157504158676,
|
||||
unseen = -3.8501476017100584,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -2.174751721484161),
|
||||
("integer (0..10)", -0.1466034741918754)],
|
||||
n = 41},
|
||||
[("integer (numeric)", -2.03688192726104),
|
||||
("integer (0..10)", -0.16507975035944858)],
|
||||
n = 43},
|
||||
koData =
|
||||
ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216,
|
||||
ClassData{prior = -1.4604023332736125, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.4700036292457356),
|
||||
@ -630,13 +634,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8434293836092833,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
|
||||
ClassData{prior = -0.9057086225436182,
|
||||
unseen = -3.6888794541139363,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.5625269981428811,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
ClassData{prior = -0.5179430915348547, unseen = -4.060443010546419,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 56}}),
|
||||
("relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.45198512374305727,
|
||||
@ -736,8 +739,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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}}),
|
||||
@ -825,23 +828,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8909729238898653,
|
||||
unseen = -3.6635616461296463,
|
||||
ClassData{prior = -0.7672551527136672, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -1.1526795099383855),
|
||||
("month (grain)", -2.2512917986064953),
|
||||
("year (grain)", -2.538973871058276),
|
||||
("week (grain)", -1.1526795099383855),
|
||||
("year", -2.538973871058276), ("month", -2.2512917986064953)],
|
||||
n = 16},
|
||||
[("week", -1.529395204760564),
|
||||
("month (grain)", -2.0149030205422647),
|
||||
("year (grain)", -2.3025850929940455),
|
||||
("week (grain)", -1.529395204760564),
|
||||
("day", -2.995732273553991), ("year", -2.3025850929940455),
|
||||
("month", -2.0149030205422647),
|
||||
("day (grain)", -2.995732273553991)],
|
||||
n = 26},
|
||||
koData =
|
||||
ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122,
|
||||
ClassData{prior = -0.6241543090729939, unseen = -4.23410650459726,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -0.7731898882334817),
|
||||
("week (grain)", -0.7731898882334817)],
|
||||
n = 23}}),
|
||||
[("week", -0.7855205006909605),
|
||||
("week (grain)", -0.7855205006909605)],
|
||||
n = 30}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165,
|
||||
@ -885,28 +889,29 @@ classifiers
|
||||
n = 4}}),
|
||||
("<part-of-day> <dim time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.7935659283069926,
|
||||
unseen = -5.0369526024136295,
|
||||
ClassData{prior = -0.7639162514481526,
|
||||
unseen = -5.0875963352323845,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("tonight<integer> (latent time-of-day)", -3.4210000089583352),
|
||||
[("tonight<integer> (latent time-of-day)", -3.1354942159291497),
|
||||
("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-1.6631420914059614),
|
||||
("hourhour", -2.322387720290225),
|
||||
("afternoon<time-of-day> o'clock", -3.644143560272545),
|
||||
("hourminute", -0.9699949108460162),
|
||||
("afternoon<integer> (latent time-of-day)", -3.644143560272545),
|
||||
-1.714108534997989),
|
||||
("hourhour", -2.1369653858180224),
|
||||
("afternoon<time-of-day> o'clock", -3.6951100038645723),
|
||||
("hourminute", -1.0209613544380436),
|
||||
("afternoon<integer> (latent time-of-day)",
|
||||
-3.6951100038645723),
|
||||
("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)",
|
||||
-2.72785282839839),
|
||||
("afternoonhh:mm (time-of-day)", -3.644143560272545),
|
||||
("tonight<time-of-day> o'clock", -3.4210000089583352),
|
||||
-2.7788192719904172),
|
||||
("afternoonhh:mm (time-of-day)", -3.6951100038645723),
|
||||
("tonight<time-of-day> o'clock", -3.1354942159291497),
|
||||
("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)",
|
||||
-2.4654885639308985),
|
||||
-2.5164550075229264),
|
||||
("afternoonhalf after|past <integer> (hour-of-day)",
|
||||
-3.2386784521643803)],
|
||||
n = 71},
|
||||
-3.289644895756408)],
|
||||
n = 75},
|
||||
koData =
|
||||
ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986,
|
||||
ClassData{prior = -0.6270570687309552, unseen = -5.214935757608986,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
@ -1257,11 +1262,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -3.922071315328127e-2,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
ClassData{prior = -3.7740327982847086e-2,
|
||||
unseen = -3.332204510175204,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
|
||||
koData =
|
||||
ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -3.295836866004329, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\26149\33410",
|
||||
Classifier{okData =
|
||||
@ -1357,11 +1362,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0..10)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 221},
|
||||
ClassData{prior = -0.6020691041877619, unseen = -5.420534999272286,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 224},
|
||||
koData =
|
||||
ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 180}}),
|
||||
ClassData{prior = -0.793359330964477, unseen = -5.231108616854587,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 185}}),
|
||||
("last n <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.605170185988091,
|
||||
@ -1449,18 +1454,19 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week-end",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("number suffix: \21313|\25342",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1590646946296874,
|
||||
unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.1495317339709637,
|
||||
unseen = -3.4965075614664802,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 31},
|
||||
koData =
|
||||
ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135,
|
||||
ClassData{prior = -1.9740810260220096,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
|
||||
("\22320\29699\19968\23567\26102",
|
||||
Classifier{okData =
|
||||
@ -1471,11 +1477,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("day (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.38299225225610584,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = -0.3448404862917295,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -1.1451323043030026,
|
||||
ClassData{prior = -1.2321436812926323,
|
||||
unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
|
||||
("\22307\32426\33410",
|
||||
@ -1511,15 +1517,16 @@ classifiers
|
||||
n = 6}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
unseen = -2.0794415416798357,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -2.3025850929940455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)number suffix: \21313|\25342",
|
||||
-0.15415067982725836)],
|
||||
n = 5},
|
||||
-0.11778303565638351)],
|
||||
n = 7},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003,
|
||||
ClassData{prior = -1.5040773967762742,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("one point 2number suffix: \21313|\25342",
|
||||
@ -1562,14 +1569,14 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
ClassData{prior = 0.0, unseen = -4.204692619390966,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.9810014688665833),
|
||||
("Monday", -1.9810014688665833), ("day", -0.8415671856782186),
|
||||
("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489),
|
||||
("week-end", -2.9618307218783095)],
|
||||
n = 26},
|
||||
[("Wednesday", -1.9924301646902063),
|
||||
("Monday", -1.9924301646902063), ("day", -0.8574502318512216),
|
||||
("hour", -2.803360380906535), ("Tuesday", -1.7047480922384253),
|
||||
("week-end", -2.803360380906535)],
|
||||
n = 30},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}})]
|
@ -84,10 +84,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67},
|
||||
ClassData{prior = -0.6714856837787658, unseen = -4.276666119016055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 70},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
ClassData{prior = -0.7152883064371588, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67}}),
|
||||
("\21355\22622\33410",
|
||||
Classifier{okData =
|
||||
@ -158,8 +158,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("tonight",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
|
||||
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}}),
|
||||
@ -172,22 +172,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("month (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.8855190732074014,
|
||||
unseen = -3.5553480614894135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
|
||||
koData =
|
||||
ClassData{prior = -0.48058573857627246,
|
||||
unseen = -3.891820298110627,
|
||||
ClassData{prior = -0.531879032963823, unseen = -3.891820298110627,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 47}}),
|
||||
("<time-of-day> o'clock",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.466337068793427, unseen = -3.044522437723423,
|
||||
ClassData{prior = -1.3156767939059373,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 9},
|
||||
n = 11},
|
||||
koData =
|
||||
ClassData{prior = -0.262364264467491, unseen = -4.143134726391533,
|
||||
ClassData{prior = -0.31237468504215243,
|
||||
unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
@ -211,11 +213,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Wednesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
ClassData{prior = -5.406722127027582e-2,
|
||||
unseen = -2.995732273553991,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
|
||||
koData =
|
||||
ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -2.9444389791664407,
|
||||
unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\21360\24230\20016\25910\33410\31532\19977\22825",
|
||||
Classifier{okData =
|
||||
@ -257,74 +260,76 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.694137640013845e-2,
|
||||
unseen = -6.329720905522696,
|
||||
ClassData{prior = -5.567300242624164e-2,
|
||||
unseen = -6.35088571671474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
-4.718498871295094),
|
||||
-4.739701078945697),
|
||||
("year (numeric with year symbol)\20809\26126\33410",
|
||||
-4.248495242049359),
|
||||
("xxxx year<named-month> <day-of-month>", -4.941642422609305),
|
||||
("daymonth", -4.248495242049359),
|
||||
("monthday", -1.9459101490553135),
|
||||
("next yearSeptember", -5.2293244950610855),
|
||||
-4.269697449699962),
|
||||
("xxxx year<named-month> <day-of-month>", -4.962844630259907),
|
||||
("daymonth", -4.269697449699962),
|
||||
("monthday", -1.9183221925364844),
|
||||
("next yearSeptember", -5.250526702711688),
|
||||
("year (numeric with year symbol)\25995\26376",
|
||||
-4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)\20061\22812\33410",
|
||||
-4.941642422609305),
|
||||
("year (numeric with year symbol)February", -4.718498871295094),
|
||||
("xxxx yearintersect", -4.941642422609305),
|
||||
("March<time> <day-of-month>", -3.7629874262676584),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)February", -4.739701078945697),
|
||||
("xxxx yearintersect", -4.962844630259907),
|
||||
("March<time> <day-of-month>", -3.784189633918261),
|
||||
("year (numeric with year symbol)<named-month> <day-of-month>",
|
||||
-3.494723439672979),
|
||||
("monthhour", -3.7629874262676584),
|
||||
-3.515925647323582),
|
||||
("monthhour", -3.784189633918261),
|
||||
("year (numeric with year symbol)\22320\29699\19968\23567\26102",
|
||||
-5.2293244950610855),
|
||||
("year (numeric with year symbol)April", -5.2293244950610855),
|
||||
("dayday", -2.284885515894645),
|
||||
("hourhour", -4.718498871295094),
|
||||
("xxxx yearFebruary", -5.634789603169249),
|
||||
("year (numeric with year symbol)March", -4.1307122063929755),
|
||||
("February<dim time> <part-of-day>", -3.7629874262676584),
|
||||
("hourminute", -4.718498871295094),
|
||||
("April<time> <day-of-month>", -5.2293244950610855),
|
||||
("February<time> <day-of-month>", -2.614364717024887),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)April", -5.250526702711688),
|
||||
("dayday", -2.306087723545248),
|
||||
("hourhour", -4.403228842324484),
|
||||
("xxxx yearFebruary", -5.655991810819852),
|
||||
("year (numeric with year symbol)March", -4.151914414043579),
|
||||
("February<dim time> <part-of-day>", -3.784189633918261),
|
||||
("hourminute", -4.739701078945697),
|
||||
("April<time> <day-of-month>", -5.250526702711688),
|
||||
("February<time> <day-of-month>", -2.6355669246754903),
|
||||
("absorption of , after named day<named-month> <day-of-month>",
|
||||
-3.619886582626985),
|
||||
-3.6410887902775877),
|
||||
("year (numeric with year symbol)\22823\25995\26399",
|
||||
-4.941642422609305),
|
||||
("this <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("this <cycle><time> <day-of-month>", -4.269697449699962),
|
||||
("year (numeric with year symbol)\22235\26092\33410",
|
||||
-5.2293244950610855),
|
||||
("yearmonth", -3.332204510175204),
|
||||
-5.250526702711688),
|
||||
("yearmonth", -3.353406717825807),
|
||||
("year (numeric with year symbol)\20303\26842\33410",
|
||||
-5.2293244950610855),
|
||||
("dayminute", -4.718498871295094),
|
||||
("next <cycle>September", -5.634789603169249),
|
||||
("intersect by \",\"<time> <day-of-month>", -3.619886582626985),
|
||||
("xxxx yearMarch", -5.634789603169249),
|
||||
-5.250526702711688),
|
||||
("dayminute", -4.739701078945697),
|
||||
("next <cycle>September", -5.655991810819852),
|
||||
("intersect by \",\"<time> <day-of-month>",
|
||||
-3.6410887902775877),
|
||||
("xxxx yearMarch", -5.655991810819852),
|
||||
("absorption of , after named dayintersect",
|
||||
-3.619886582626985),
|
||||
("intersect<time> <day-of-month>", -2.8015762591130335),
|
||||
("next <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
("tonight<time-of-day> o'clock", -4.718498871295094),
|
||||
-3.6410887902775877),
|
||||
("intersect<time> <day-of-month>", -2.8227784667636366),
|
||||
("next <cycle><time> <day-of-month>", -4.962844630259907),
|
||||
("tonight<time-of-day> o'clock", -4.403228842324484),
|
||||
("year (numeric with year symbol)intersect",
|
||||
-3.494723439672979),
|
||||
("yearday", -2.0794415416798357),
|
||||
("absorption of , after named dayFebruary", -4.248495242049359),
|
||||
-3.515925647323582),
|
||||
("yearday", -2.100643749330439),
|
||||
("absorption of , after named dayFebruary", -4.269697449699962),
|
||||
("year (numeric with year symbol)\19971\19971\33410",
|
||||
-4.248495242049359),
|
||||
-4.269697449699962),
|
||||
("year (numeric with year symbol)\36926\36234\33410",
|
||||
-5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)\29369\22826\26032\24180",
|
||||
-5.2293244950610855),
|
||||
("yearminute", -5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("yearminute", -5.250526702711688),
|
||||
("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-4.718498871295094)],
|
||||
n = 256},
|
||||
-4.739701078945697)],
|
||||
n = 262},
|
||||
koData =
|
||||
ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215,
|
||||
ClassData{prior = -2.9159673050851285,
|
||||
unseen = -4.3694478524670215,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
@ -360,10 +365,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.625967214385311, unseen = -2.639057329615259,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
||||
ClassData{prior = -1.4508328822574619, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
koData =
|
||||
ClassData{prior = -0.21905356606268464,
|
||||
ClassData{prior = -0.26706278524904525,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
("Saturday",
|
||||
@ -409,13 +414,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <day-of-week>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.970291913552122,
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.8718021769015913),
|
||||
("Monday", -1.8718021769015913), ("day", -0.7323678937132265),
|
||||
("Tuesday", -1.5533484457830569)],
|
||||
n = 24},
|
||||
[("Wednesday", -1.8632184332102), ("Monday", -1.8632184332102),
|
||||
("day", -0.7282385003712154), ("Tuesday", -1.575536360758419)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -484,11 +488,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.15415067982725836,
|
||||
unseen = -3.258096538021482,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
|
||||
ClassData{prior = -0.14842000511827333,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
koData =
|
||||
ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055,
|
||||
ClassData{prior = -1.9810014688665833, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("\19971\19971\33410",
|
||||
Classifier{okData =
|
||||
@ -513,25 +517,25 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> <day-of-month>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.24946085963158313,
|
||||
unseen = -4.204692619390966,
|
||||
ClassData{prior = -0.2837681731306446,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.3564413979702095),
|
||||
("integer (20,30,40)", -3.0910424533583156),
|
||||
("integer with consecutive unit modifiers", -1.245215762859985),
|
||||
("integer (0..10)", -1.4170660197866443),
|
||||
("number suffix: \21313|\25342", -2.1102132003465894),
|
||||
("compose by multiplication", -3.0910424533583156)],
|
||||
n = 60},
|
||||
[("integer (numeric)", -1.3040562628829186),
|
||||
("integer (20,30,40)", -3.1498829533812494),
|
||||
("integer with consecutive unit modifiers",
|
||||
-1.3040562628829186),
|
||||
("integer (0..10)", -1.4759065198095778),
|
||||
("number suffix: \21313|\25342", -2.169053700369523),
|
||||
("compose by multiplication", -2.639057329615259)],
|
||||
n = 64},
|
||||
koData =
|
||||
ClassData{prior = -1.5105920777974677,
|
||||
unseen = -3.1780538303479458,
|
||||
ClassData{prior = -1.3981288187668934, unseen = -3.332204510175204,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)", -0.3629054936893685),
|
||||
("number suffix: \21313|\25342", -2.03688192726104)],
|
||||
n = 17}}),
|
||||
[("integer (0..10)", -0.40546510810816444),
|
||||
("number suffix: \21313|\25342", -1.6863989535702288)],
|
||||
n = 21}}),
|
||||
("\19996\27491\25945\22797\27963\33410",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
@ -560,15 +564,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> (latent time-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2754119798599665,
|
||||
unseen = -3.8066624897703196,
|
||||
ClassData{prior = -0.26415157504158676,
|
||||
unseen = -3.8501476017100584,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -2.174751721484161),
|
||||
("integer (0..10)", -0.1466034741918754)],
|
||||
n = 41},
|
||||
[("integer (numeric)", -2.03688192726104),
|
||||
("integer (0..10)", -0.16507975035944858)],
|
||||
n = 43},
|
||||
koData =
|
||||
ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216,
|
||||
ClassData{prior = -1.4604023332736125, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.4700036292457356),
|
||||
@ -630,13 +634,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8434293836092833,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
|
||||
ClassData{prior = -0.9057086225436182,
|
||||
unseen = -3.6888794541139363,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.5625269981428811,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
ClassData{prior = -0.5179430915348547, unseen = -4.060443010546419,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 56}}),
|
||||
("relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.45198512374305727,
|
||||
@ -736,8 +739,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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}}),
|
||||
@ -825,23 +828,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8909729238898653,
|
||||
unseen = -3.6635616461296463,
|
||||
ClassData{prior = -0.7672551527136672, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -1.1526795099383855),
|
||||
("month (grain)", -2.2512917986064953),
|
||||
("year (grain)", -2.538973871058276),
|
||||
("week (grain)", -1.1526795099383855),
|
||||
("year", -2.538973871058276), ("month", -2.2512917986064953)],
|
||||
n = 16},
|
||||
[("week", -1.529395204760564),
|
||||
("month (grain)", -2.0149030205422647),
|
||||
("year (grain)", -2.3025850929940455),
|
||||
("week (grain)", -1.529395204760564),
|
||||
("day", -2.995732273553991), ("year", -2.3025850929940455),
|
||||
("month", -2.0149030205422647),
|
||||
("day (grain)", -2.995732273553991)],
|
||||
n = 26},
|
||||
koData =
|
||||
ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122,
|
||||
ClassData{prior = -0.6241543090729939, unseen = -4.23410650459726,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -0.7731898882334817),
|
||||
("week (grain)", -0.7731898882334817)],
|
||||
n = 23}}),
|
||||
[("week", -0.7855205006909605),
|
||||
("week (grain)", -0.7855205006909605)],
|
||||
n = 30}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165,
|
||||
@ -885,28 +889,29 @@ classifiers
|
||||
n = 4}}),
|
||||
("<part-of-day> <dim time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.7935659283069926,
|
||||
unseen = -5.0369526024136295,
|
||||
ClassData{prior = -0.7639162514481526,
|
||||
unseen = -5.0875963352323845,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("tonight<integer> (latent time-of-day)", -3.4210000089583352),
|
||||
[("tonight<integer> (latent time-of-day)", -3.1354942159291497),
|
||||
("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-1.6631420914059614),
|
||||
("hourhour", -2.322387720290225),
|
||||
("afternoon<time-of-day> o'clock", -3.644143560272545),
|
||||
("hourminute", -0.9699949108460162),
|
||||
("afternoon<integer> (latent time-of-day)", -3.644143560272545),
|
||||
-1.714108534997989),
|
||||
("hourhour", -2.1369653858180224),
|
||||
("afternoon<time-of-day> o'clock", -3.6951100038645723),
|
||||
("hourminute", -1.0209613544380436),
|
||||
("afternoon<integer> (latent time-of-day)",
|
||||
-3.6951100038645723),
|
||||
("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)",
|
||||
-2.72785282839839),
|
||||
("afternoonhh:mm (time-of-day)", -3.644143560272545),
|
||||
("tonight<time-of-day> o'clock", -3.4210000089583352),
|
||||
-2.7788192719904172),
|
||||
("afternoonhh:mm (time-of-day)", -3.6951100038645723),
|
||||
("tonight<time-of-day> o'clock", -3.1354942159291497),
|
||||
("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)",
|
||||
-2.4654885639308985),
|
||||
-2.5164550075229264),
|
||||
("afternoonhalf after|past <integer> (hour-of-day)",
|
||||
-3.2386784521643803)],
|
||||
n = 71},
|
||||
-3.289644895756408)],
|
||||
n = 75},
|
||||
koData =
|
||||
ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986,
|
||||
ClassData{prior = -0.6270570687309552, unseen = -5.214935757608986,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
@ -1257,11 +1262,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -3.922071315328127e-2,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
ClassData{prior = -3.7740327982847086e-2,
|
||||
unseen = -3.332204510175204,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
|
||||
koData =
|
||||
ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -3.295836866004329, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\26149\33410",
|
||||
Classifier{okData =
|
||||
@ -1357,11 +1362,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0..10)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 221},
|
||||
ClassData{prior = -0.6020691041877619, unseen = -5.420534999272286,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 224},
|
||||
koData =
|
||||
ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 180}}),
|
||||
ClassData{prior = -0.793359330964477, unseen = -5.231108616854587,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 185}}),
|
||||
("last n <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.605170185988091,
|
||||
@ -1449,18 +1454,19 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week-end",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("number suffix: \21313|\25342",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1590646946296874,
|
||||
unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.1495317339709637,
|
||||
unseen = -3.4965075614664802,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 31},
|
||||
koData =
|
||||
ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135,
|
||||
ClassData{prior = -1.9740810260220096,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
|
||||
("\22320\29699\19968\23567\26102",
|
||||
Classifier{okData =
|
||||
@ -1471,11 +1477,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("day (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.38299225225610584,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = -0.3448404862917295,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -1.1451323043030026,
|
||||
ClassData{prior = -1.2321436812926323,
|
||||
unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
|
||||
("\22307\32426\33410",
|
||||
@ -1511,15 +1517,16 @@ classifiers
|
||||
n = 6}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
unseen = -2.0794415416798357,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -2.3025850929940455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)number suffix: \21313|\25342",
|
||||
-0.15415067982725836)],
|
||||
n = 5},
|
||||
-0.11778303565638351)],
|
||||
n = 7},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003,
|
||||
ClassData{prior = -1.5040773967762742,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("one point 2number suffix: \21313|\25342",
|
||||
@ -1562,14 +1569,14 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
ClassData{prior = 0.0, unseen = -4.204692619390966,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.9810014688665833),
|
||||
("Monday", -1.9810014688665833), ("day", -0.8415671856782186),
|
||||
("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489),
|
||||
("week-end", -2.9618307218783095)],
|
||||
n = 26},
|
||||
[("Wednesday", -1.9924301646902063),
|
||||
("Monday", -1.9924301646902063), ("day", -0.8574502318512216),
|
||||
("hour", -2.803360380906535), ("Tuesday", -1.7047480922384253),
|
||||
("week-end", -2.803360380906535)],
|
||||
n = 30},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}})]
|
@ -84,10 +84,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67},
|
||||
ClassData{prior = -0.6714856837787658, unseen = -4.276666119016055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 70},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
ClassData{prior = -0.7152883064371588, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67}}),
|
||||
("\21355\22622\33410",
|
||||
Classifier{okData =
|
||||
@ -158,8 +158,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("tonight",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
|
||||
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}}),
|
||||
@ -172,22 +172,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("month (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.8855190732074014,
|
||||
unseen = -3.5553480614894135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
|
||||
koData =
|
||||
ClassData{prior = -0.48058573857627246,
|
||||
unseen = -3.891820298110627,
|
||||
ClassData{prior = -0.531879032963823, unseen = -3.891820298110627,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 47}}),
|
||||
("<time-of-day> o'clock",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.466337068793427, unseen = -3.044522437723423,
|
||||
ClassData{prior = -1.3156767939059373,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 9},
|
||||
n = 11},
|
||||
koData =
|
||||
ClassData{prior = -0.262364264467491, unseen = -4.143134726391533,
|
||||
ClassData{prior = -0.31237468504215243,
|
||||
unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
@ -211,11 +213,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Wednesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
ClassData{prior = -5.406722127027582e-2,
|
||||
unseen = -2.995732273553991,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
|
||||
koData =
|
||||
ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -2.9444389791664407,
|
||||
unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\21360\24230\20016\25910\33410\31532\19977\22825",
|
||||
Classifier{okData =
|
||||
@ -257,74 +260,76 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.694137640013845e-2,
|
||||
unseen = -6.329720905522696,
|
||||
ClassData{prior = -5.567300242624164e-2,
|
||||
unseen = -6.35088571671474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
-4.718498871295094),
|
||||
-4.739701078945697),
|
||||
("year (numeric with year symbol)\20809\26126\33410",
|
||||
-4.248495242049359),
|
||||
("xxxx year<named-month> <day-of-month>", -4.941642422609305),
|
||||
("daymonth", -4.248495242049359),
|
||||
("monthday", -1.9459101490553135),
|
||||
("next yearSeptember", -5.2293244950610855),
|
||||
-4.269697449699962),
|
||||
("xxxx year<named-month> <day-of-month>", -4.962844630259907),
|
||||
("daymonth", -4.269697449699962),
|
||||
("monthday", -1.9183221925364844),
|
||||
("next yearSeptember", -5.250526702711688),
|
||||
("year (numeric with year symbol)\25995\26376",
|
||||
-4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)\20061\22812\33410",
|
||||
-4.941642422609305),
|
||||
("year (numeric with year symbol)February", -4.718498871295094),
|
||||
("xxxx yearintersect", -4.941642422609305),
|
||||
("March<time> <day-of-month>", -3.7629874262676584),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)February", -4.739701078945697),
|
||||
("xxxx yearintersect", -4.962844630259907),
|
||||
("March<time> <day-of-month>", -3.784189633918261),
|
||||
("year (numeric with year symbol)<named-month> <day-of-month>",
|
||||
-3.494723439672979),
|
||||
("monthhour", -3.7629874262676584),
|
||||
-3.515925647323582),
|
||||
("monthhour", -3.784189633918261),
|
||||
("year (numeric with year symbol)\22320\29699\19968\23567\26102",
|
||||
-5.2293244950610855),
|
||||
("year (numeric with year symbol)April", -5.2293244950610855),
|
||||
("dayday", -2.284885515894645),
|
||||
("hourhour", -4.718498871295094),
|
||||
("xxxx yearFebruary", -5.634789603169249),
|
||||
("year (numeric with year symbol)March", -4.1307122063929755),
|
||||
("February<dim time> <part-of-day>", -3.7629874262676584),
|
||||
("hourminute", -4.718498871295094),
|
||||
("April<time> <day-of-month>", -5.2293244950610855),
|
||||
("February<time> <day-of-month>", -2.614364717024887),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)April", -5.250526702711688),
|
||||
("dayday", -2.306087723545248),
|
||||
("hourhour", -4.403228842324484),
|
||||
("xxxx yearFebruary", -5.655991810819852),
|
||||
("year (numeric with year symbol)March", -4.151914414043579),
|
||||
("February<dim time> <part-of-day>", -3.784189633918261),
|
||||
("hourminute", -4.739701078945697),
|
||||
("April<time> <day-of-month>", -5.250526702711688),
|
||||
("February<time> <day-of-month>", -2.6355669246754903),
|
||||
("absorption of , after named day<named-month> <day-of-month>",
|
||||
-3.619886582626985),
|
||||
-3.6410887902775877),
|
||||
("year (numeric with year symbol)\22823\25995\26399",
|
||||
-4.941642422609305),
|
||||
("this <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("this <cycle><time> <day-of-month>", -4.269697449699962),
|
||||
("year (numeric with year symbol)\22235\26092\33410",
|
||||
-5.2293244950610855),
|
||||
("yearmonth", -3.332204510175204),
|
||||
-5.250526702711688),
|
||||
("yearmonth", -3.353406717825807),
|
||||
("year (numeric with year symbol)\20303\26842\33410",
|
||||
-5.2293244950610855),
|
||||
("dayminute", -4.718498871295094),
|
||||
("next <cycle>September", -5.634789603169249),
|
||||
("intersect by \",\"<time> <day-of-month>", -3.619886582626985),
|
||||
("xxxx yearMarch", -5.634789603169249),
|
||||
-5.250526702711688),
|
||||
("dayminute", -4.739701078945697),
|
||||
("next <cycle>September", -5.655991810819852),
|
||||
("intersect by \",\"<time> <day-of-month>",
|
||||
-3.6410887902775877),
|
||||
("xxxx yearMarch", -5.655991810819852),
|
||||
("absorption of , after named dayintersect",
|
||||
-3.619886582626985),
|
||||
("intersect<time> <day-of-month>", -2.8015762591130335),
|
||||
("next <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
("tonight<time-of-day> o'clock", -4.718498871295094),
|
||||
-3.6410887902775877),
|
||||
("intersect<time> <day-of-month>", -2.8227784667636366),
|
||||
("next <cycle><time> <day-of-month>", -4.962844630259907),
|
||||
("tonight<time-of-day> o'clock", -4.403228842324484),
|
||||
("year (numeric with year symbol)intersect",
|
||||
-3.494723439672979),
|
||||
("yearday", -2.0794415416798357),
|
||||
("absorption of , after named dayFebruary", -4.248495242049359),
|
||||
-3.515925647323582),
|
||||
("yearday", -2.100643749330439),
|
||||
("absorption of , after named dayFebruary", -4.269697449699962),
|
||||
("year (numeric with year symbol)\19971\19971\33410",
|
||||
-4.248495242049359),
|
||||
-4.269697449699962),
|
||||
("year (numeric with year symbol)\36926\36234\33410",
|
||||
-5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)\29369\22826\26032\24180",
|
||||
-5.2293244950610855),
|
||||
("yearminute", -5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("yearminute", -5.250526702711688),
|
||||
("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-4.718498871295094)],
|
||||
n = 256},
|
||||
-4.739701078945697)],
|
||||
n = 262},
|
||||
koData =
|
||||
ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215,
|
||||
ClassData{prior = -2.9159673050851285,
|
||||
unseen = -4.3694478524670215,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
@ -360,10 +365,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.625967214385311, unseen = -2.639057329615259,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
||||
ClassData{prior = -1.4508328822574619, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
koData =
|
||||
ClassData{prior = -0.21905356606268464,
|
||||
ClassData{prior = -0.26706278524904525,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
("Saturday",
|
||||
@ -409,13 +414,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <day-of-week>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.970291913552122,
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.8718021769015913),
|
||||
("Monday", -1.8718021769015913), ("day", -0.7323678937132265),
|
||||
("Tuesday", -1.5533484457830569)],
|
||||
n = 24},
|
||||
[("Wednesday", -1.8632184332102), ("Monday", -1.8632184332102),
|
||||
("day", -0.7282385003712154), ("Tuesday", -1.575536360758419)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -484,11 +488,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.15415067982725836,
|
||||
unseen = -3.258096538021482,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
|
||||
ClassData{prior = -0.14842000511827333,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
koData =
|
||||
ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055,
|
||||
ClassData{prior = -1.9810014688665833, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("\19971\19971\33410",
|
||||
Classifier{okData =
|
||||
@ -513,25 +517,25 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> <day-of-month>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.24946085963158313,
|
||||
unseen = -4.204692619390966,
|
||||
ClassData{prior = -0.2837681731306446,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.3564413979702095),
|
||||
("integer (20,30,40)", -3.0910424533583156),
|
||||
("integer with consecutive unit modifiers", -1.245215762859985),
|
||||
("integer (0..10)", -1.4170660197866443),
|
||||
("number suffix: \21313|\25342", -2.1102132003465894),
|
||||
("compose by multiplication", -3.0910424533583156)],
|
||||
n = 60},
|
||||
[("integer (numeric)", -1.3040562628829186),
|
||||
("integer (20,30,40)", -3.1498829533812494),
|
||||
("integer with consecutive unit modifiers",
|
||||
-1.3040562628829186),
|
||||
("integer (0..10)", -1.4759065198095778),
|
||||
("number suffix: \21313|\25342", -2.169053700369523),
|
||||
("compose by multiplication", -2.639057329615259)],
|
||||
n = 64},
|
||||
koData =
|
||||
ClassData{prior = -1.5105920777974677,
|
||||
unseen = -3.1780538303479458,
|
||||
ClassData{prior = -1.3981288187668934, unseen = -3.332204510175204,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)", -0.3629054936893685),
|
||||
("number suffix: \21313|\25342", -2.03688192726104)],
|
||||
n = 17}}),
|
||||
[("integer (0..10)", -0.40546510810816444),
|
||||
("number suffix: \21313|\25342", -1.6863989535702288)],
|
||||
n = 21}}),
|
||||
("\19996\27491\25945\22797\27963\33410",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
@ -560,15 +564,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> (latent time-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2754119798599665,
|
||||
unseen = -3.8066624897703196,
|
||||
ClassData{prior = -0.26415157504158676,
|
||||
unseen = -3.8501476017100584,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -2.174751721484161),
|
||||
("integer (0..10)", -0.1466034741918754)],
|
||||
n = 41},
|
||||
[("integer (numeric)", -2.03688192726104),
|
||||
("integer (0..10)", -0.16507975035944858)],
|
||||
n = 43},
|
||||
koData =
|
||||
ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216,
|
||||
ClassData{prior = -1.4604023332736125, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.4700036292457356),
|
||||
@ -630,13 +634,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8434293836092833,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
|
||||
ClassData{prior = -0.9057086225436182,
|
||||
unseen = -3.6888794541139363,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.5625269981428811,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
ClassData{prior = -0.5179430915348547, unseen = -4.060443010546419,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 56}}),
|
||||
("relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.45198512374305727,
|
||||
@ -736,8 +739,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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}}),
|
||||
@ -825,23 +828,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8909729238898653,
|
||||
unseen = -3.6635616461296463,
|
||||
ClassData{prior = -0.7672551527136672, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -1.1526795099383855),
|
||||
("month (grain)", -2.2512917986064953),
|
||||
("year (grain)", -2.538973871058276),
|
||||
("week (grain)", -1.1526795099383855),
|
||||
("year", -2.538973871058276), ("month", -2.2512917986064953)],
|
||||
n = 16},
|
||||
[("week", -1.529395204760564),
|
||||
("month (grain)", -2.0149030205422647),
|
||||
("year (grain)", -2.3025850929940455),
|
||||
("week (grain)", -1.529395204760564),
|
||||
("day", -2.995732273553991), ("year", -2.3025850929940455),
|
||||
("month", -2.0149030205422647),
|
||||
("day (grain)", -2.995732273553991)],
|
||||
n = 26},
|
||||
koData =
|
||||
ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122,
|
||||
ClassData{prior = -0.6241543090729939, unseen = -4.23410650459726,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -0.7731898882334817),
|
||||
("week (grain)", -0.7731898882334817)],
|
||||
n = 23}}),
|
||||
[("week", -0.7855205006909605),
|
||||
("week (grain)", -0.7855205006909605)],
|
||||
n = 30}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165,
|
||||
@ -885,28 +889,29 @@ classifiers
|
||||
n = 4}}),
|
||||
("<part-of-day> <dim time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.7935659283069926,
|
||||
unseen = -5.0369526024136295,
|
||||
ClassData{prior = -0.7639162514481526,
|
||||
unseen = -5.0875963352323845,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("tonight<integer> (latent time-of-day)", -3.4210000089583352),
|
||||
[("tonight<integer> (latent time-of-day)", -3.1354942159291497),
|
||||
("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-1.6631420914059614),
|
||||
("hourhour", -2.322387720290225),
|
||||
("afternoon<time-of-day> o'clock", -3.644143560272545),
|
||||
("hourminute", -0.9699949108460162),
|
||||
("afternoon<integer> (latent time-of-day)", -3.644143560272545),
|
||||
-1.714108534997989),
|
||||
("hourhour", -2.1369653858180224),
|
||||
("afternoon<time-of-day> o'clock", -3.6951100038645723),
|
||||
("hourminute", -1.0209613544380436),
|
||||
("afternoon<integer> (latent time-of-day)",
|
||||
-3.6951100038645723),
|
||||
("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)",
|
||||
-2.72785282839839),
|
||||
("afternoonhh:mm (time-of-day)", -3.644143560272545),
|
||||
("tonight<time-of-day> o'clock", -3.4210000089583352),
|
||||
-2.7788192719904172),
|
||||
("afternoonhh:mm (time-of-day)", -3.6951100038645723),
|
||||
("tonight<time-of-day> o'clock", -3.1354942159291497),
|
||||
("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)",
|
||||
-2.4654885639308985),
|
||||
-2.5164550075229264),
|
||||
("afternoonhalf after|past <integer> (hour-of-day)",
|
||||
-3.2386784521643803)],
|
||||
n = 71},
|
||||
-3.289644895756408)],
|
||||
n = 75},
|
||||
koData =
|
||||
ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986,
|
||||
ClassData{prior = -0.6270570687309552, unseen = -5.214935757608986,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
@ -1257,11 +1262,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -3.922071315328127e-2,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
ClassData{prior = -3.7740327982847086e-2,
|
||||
unseen = -3.332204510175204,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
|
||||
koData =
|
||||
ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -3.295836866004329, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\26149\33410",
|
||||
Classifier{okData =
|
||||
@ -1357,11 +1362,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0..10)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 221},
|
||||
ClassData{prior = -0.6020691041877619, unseen = -5.420534999272286,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 224},
|
||||
koData =
|
||||
ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 180}}),
|
||||
ClassData{prior = -0.793359330964477, unseen = -5.231108616854587,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 185}}),
|
||||
("last n <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.605170185988091,
|
||||
@ -1449,18 +1454,19 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week-end",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("number suffix: \21313|\25342",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1590646946296874,
|
||||
unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.1495317339709637,
|
||||
unseen = -3.4965075614664802,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 31},
|
||||
koData =
|
||||
ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135,
|
||||
ClassData{prior = -1.9740810260220096,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
|
||||
("\22320\29699\19968\23567\26102",
|
||||
Classifier{okData =
|
||||
@ -1471,11 +1477,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("day (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.38299225225610584,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = -0.3448404862917295,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -1.1451323043030026,
|
||||
ClassData{prior = -1.2321436812926323,
|
||||
unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
|
||||
("\22307\32426\33410",
|
||||
@ -1511,15 +1517,16 @@ classifiers
|
||||
n = 6}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
unseen = -2.0794415416798357,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -2.3025850929940455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)number suffix: \21313|\25342",
|
||||
-0.15415067982725836)],
|
||||
n = 5},
|
||||
-0.11778303565638351)],
|
||||
n = 7},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003,
|
||||
ClassData{prior = -1.5040773967762742,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("one point 2number suffix: \21313|\25342",
|
||||
@ -1562,14 +1569,14 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
ClassData{prior = 0.0, unseen = -4.204692619390966,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.9810014688665833),
|
||||
("Monday", -1.9810014688665833), ("day", -0.8415671856782186),
|
||||
("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489),
|
||||
("week-end", -2.9618307218783095)],
|
||||
n = 26},
|
||||
[("Wednesday", -1.9924301646902063),
|
||||
("Monday", -1.9924301646902063), ("day", -0.8574502318512216),
|
||||
("hour", -2.803360380906535), ("Tuesday", -1.7047480922384253),
|
||||
("week-end", -2.803360380906535)],
|
||||
n = 30},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}})]
|
@ -84,10 +84,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67},
|
||||
ClassData{prior = -0.6714856837787658, unseen = -4.276666119016055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 70},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726,
|
||||
ClassData{prior = -0.7152883064371588, unseen = -4.23410650459726,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 67}}),
|
||||
("\21355\22622\33410",
|
||||
Classifier{okData =
|
||||
@ -158,8 +158,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("tonight",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
|
||||
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}}),
|
||||
@ -172,22 +172,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("month (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.8855190732074014,
|
||||
unseen = -3.5553480614894135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
|
||||
koData =
|
||||
ClassData{prior = -0.48058573857627246,
|
||||
unseen = -3.891820298110627,
|
||||
ClassData{prior = -0.531879032963823, unseen = -3.891820298110627,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 47}}),
|
||||
("<time-of-day> o'clock",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.466337068793427, unseen = -3.044522437723423,
|
||||
ClassData{prior = -1.3156767939059373,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 9},
|
||||
n = 11},
|
||||
koData =
|
||||
ClassData{prior = -0.262364264467491, unseen = -4.143134726391533,
|
||||
ClassData{prior = -0.31237468504215243,
|
||||
unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)", -0.6931471805599453),
|
||||
@ -202,11 +204,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Wednesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
ClassData{prior = -5.406722127027582e-2,
|
||||
unseen = -2.995732273553991,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
|
||||
koData =
|
||||
ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -2.9444389791664407,
|
||||
unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\21360\24230\20016\25910\33410\31532\19977\22825",
|
||||
Classifier{okData =
|
||||
@ -248,74 +251,76 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.694137640013845e-2,
|
||||
unseen = -6.329720905522696,
|
||||
ClassData{prior = -5.567300242624164e-2,
|
||||
unseen = -6.35088571671474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
-4.718498871295094),
|
||||
-4.739701078945697),
|
||||
("year (numeric with year symbol)\20809\26126\33410",
|
||||
-4.248495242049359),
|
||||
("xxxx year<named-month> <day-of-month>", -4.941642422609305),
|
||||
("daymonth", -4.248495242049359),
|
||||
("monthday", -1.9459101490553135),
|
||||
("next yearSeptember", -5.2293244950610855),
|
||||
-4.269697449699962),
|
||||
("xxxx year<named-month> <day-of-month>", -4.962844630259907),
|
||||
("daymonth", -4.269697449699962),
|
||||
("monthday", -1.9183221925364844),
|
||||
("next yearSeptember", -5.250526702711688),
|
||||
("year (numeric with year symbol)\25995\26376",
|
||||
-4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)\20061\22812\33410",
|
||||
-4.941642422609305),
|
||||
("year (numeric with year symbol)February", -4.718498871295094),
|
||||
("xxxx yearintersect", -4.941642422609305),
|
||||
("March<time> <day-of-month>", -3.7629874262676584),
|
||||
-4.962844630259907),
|
||||
("year (numeric with year symbol)February", -4.739701078945697),
|
||||
("xxxx yearintersect", -4.962844630259907),
|
||||
("March<time> <day-of-month>", -3.784189633918261),
|
||||
("year (numeric with year symbol)<named-month> <day-of-month>",
|
||||
-3.494723439672979),
|
||||
("monthhour", -3.7629874262676584),
|
||||
-3.515925647323582),
|
||||
("monthhour", -3.784189633918261),
|
||||
("year (numeric with year symbol)\22320\29699\19968\23567\26102",
|
||||
-5.2293244950610855),
|
||||
("year (numeric with year symbol)April", -5.2293244950610855),
|
||||
("dayday", -2.284885515894645),
|
||||
("hourhour", -4.718498871295094),
|
||||
("xxxx yearFebruary", -5.634789603169249),
|
||||
("year (numeric with year symbol)March", -4.1307122063929755),
|
||||
("February<dim time> <part-of-day>", -3.7629874262676584),
|
||||
("hourminute", -4.718498871295094),
|
||||
("April<time> <day-of-month>", -5.2293244950610855),
|
||||
("February<time> <day-of-month>", -2.614364717024887),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)April", -5.250526702711688),
|
||||
("dayday", -2.306087723545248),
|
||||
("hourhour", -4.403228842324484),
|
||||
("xxxx yearFebruary", -5.655991810819852),
|
||||
("year (numeric with year symbol)March", -4.151914414043579),
|
||||
("February<dim time> <part-of-day>", -3.784189633918261),
|
||||
("hourminute", -4.739701078945697),
|
||||
("April<time> <day-of-month>", -5.250526702711688),
|
||||
("February<time> <day-of-month>", -2.6355669246754903),
|
||||
("absorption of , after named day<named-month> <day-of-month>",
|
||||
-3.619886582626985),
|
||||
-3.6410887902775877),
|
||||
("year (numeric with year symbol)\22823\25995\26399",
|
||||
-4.941642422609305),
|
||||
("this <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
-4.962844630259907),
|
||||
("this <cycle><time> <day-of-month>", -4.269697449699962),
|
||||
("year (numeric with year symbol)\22235\26092\33410",
|
||||
-5.2293244950610855),
|
||||
("yearmonth", -3.332204510175204),
|
||||
-5.250526702711688),
|
||||
("yearmonth", -3.353406717825807),
|
||||
("year (numeric with year symbol)\20303\26842\33410",
|
||||
-5.2293244950610855),
|
||||
("dayminute", -4.718498871295094),
|
||||
("next <cycle>September", -5.634789603169249),
|
||||
("intersect by \",\"<time> <day-of-month>", -3.619886582626985),
|
||||
("xxxx yearMarch", -5.634789603169249),
|
||||
-5.250526702711688),
|
||||
("dayminute", -4.739701078945697),
|
||||
("next <cycle>September", -5.655991810819852),
|
||||
("intersect by \",\"<time> <day-of-month>",
|
||||
-3.6410887902775877),
|
||||
("xxxx yearMarch", -5.655991810819852),
|
||||
("absorption of , after named dayintersect",
|
||||
-3.619886582626985),
|
||||
("intersect<time> <day-of-month>", -2.8015762591130335),
|
||||
("next <cycle><time> <day-of-month>", -4.941642422609305),
|
||||
("tonight<time-of-day> o'clock", -4.718498871295094),
|
||||
-3.6410887902775877),
|
||||
("intersect<time> <day-of-month>", -2.8227784667636366),
|
||||
("next <cycle><time> <day-of-month>", -4.962844630259907),
|
||||
("tonight<time-of-day> o'clock", -4.403228842324484),
|
||||
("year (numeric with year symbol)intersect",
|
||||
-3.494723439672979),
|
||||
("yearday", -2.0794415416798357),
|
||||
("absorption of , after named dayFebruary", -4.248495242049359),
|
||||
-3.515925647323582),
|
||||
("yearday", -2.100643749330439),
|
||||
("absorption of , after named dayFebruary", -4.269697449699962),
|
||||
("year (numeric with year symbol)\19971\19971\33410",
|
||||
-4.248495242049359),
|
||||
-4.269697449699962),
|
||||
("year (numeric with year symbol)\36926\36234\33410",
|
||||
-5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("year (numeric with year symbol)\29369\22826\26032\24180",
|
||||
-5.2293244950610855),
|
||||
("yearminute", -5.2293244950610855),
|
||||
-5.250526702711688),
|
||||
("yearminute", -5.250526702711688),
|
||||
("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-4.718498871295094)],
|
||||
n = 256},
|
||||
-4.739701078945697)],
|
||||
n = 262},
|
||||
koData =
|
||||
ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215,
|
||||
ClassData{prior = -2.9159673050851285,
|
||||
unseen = -4.3694478524670215,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("\20799\31461\33410<part-of-day> <dim time>",
|
||||
@ -351,10 +356,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("year (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.625967214385311, unseen = -2.639057329615259,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
||||
ClassData{prior = -1.4508328822574619, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
koData =
|
||||
ClassData{prior = -0.21905356606268464,
|
||||
ClassData{prior = -0.26706278524904525,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
("Saturday",
|
||||
@ -400,13 +405,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <day-of-week>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.970291913552122,
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.8718021769015913),
|
||||
("Monday", -1.8718021769015913), ("day", -0.7323678937132265),
|
||||
("Tuesday", -1.5533484457830569)],
|
||||
n = 24},
|
||||
[("Wednesday", -1.8632184332102), ("Monday", -1.8632184332102),
|
||||
("day", -0.7282385003712154), ("Tuesday", -1.575536360758419)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -475,11 +479,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.15415067982725836,
|
||||
unseen = -3.258096538021482,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
|
||||
ClassData{prior = -0.14842000511827333,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
koData =
|
||||
ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055,
|
||||
ClassData{prior = -1.9810014688665833, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("\19971\19971\33410",
|
||||
Classifier{okData =
|
||||
@ -504,25 +508,25 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> <day-of-month>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.24946085963158313,
|
||||
unseen = -4.204692619390966,
|
||||
ClassData{prior = -0.2837681731306446,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.3564413979702095),
|
||||
("integer (20,30,40)", -3.0910424533583156),
|
||||
("integer with consecutive unit modifiers", -1.245215762859985),
|
||||
("integer (0..10)", -1.4170660197866443),
|
||||
("number suffix: \21313|\25342", -2.1102132003465894),
|
||||
("compose by multiplication", -3.0910424533583156)],
|
||||
n = 60},
|
||||
[("integer (numeric)", -1.3040562628829186),
|
||||
("integer (20,30,40)", -3.1498829533812494),
|
||||
("integer with consecutive unit modifiers",
|
||||
-1.3040562628829186),
|
||||
("integer (0..10)", -1.4759065198095778),
|
||||
("number suffix: \21313|\25342", -2.169053700369523),
|
||||
("compose by multiplication", -2.639057329615259)],
|
||||
n = 64},
|
||||
koData =
|
||||
ClassData{prior = -1.5105920777974677,
|
||||
unseen = -3.1780538303479458,
|
||||
ClassData{prior = -1.3981288187668934, unseen = -3.332204510175204,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)", -0.3629054936893685),
|
||||
("number suffix: \21313|\25342", -2.03688192726104)],
|
||||
n = 17}}),
|
||||
[("integer (0..10)", -0.40546510810816444),
|
||||
("number suffix: \21313|\25342", -1.6863989535702288)],
|
||||
n = 21}}),
|
||||
("\19996\27491\25945\22797\27963\33410",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
@ -551,15 +555,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> (latent time-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2754119798599665,
|
||||
unseen = -3.8066624897703196,
|
||||
ClassData{prior = -0.26415157504158676,
|
||||
unseen = -3.8501476017100584,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -2.174751721484161),
|
||||
("integer (0..10)", -0.1466034741918754)],
|
||||
n = 41},
|
||||
[("integer (numeric)", -2.03688192726104),
|
||||
("integer (0..10)", -0.16507975035944858)],
|
||||
n = 43},
|
||||
koData =
|
||||
ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216,
|
||||
ClassData{prior = -1.4604023332736125, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.4700036292457356),
|
||||
@ -621,13 +625,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8434293836092833,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
|
||||
ClassData{prior = -0.9057086225436182,
|
||||
unseen = -3.6888794541139363,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.5625269981428811,
|
||||
unseen = -3.9318256327243257,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
|
||||
ClassData{prior = -0.5179430915348547, unseen = -4.060443010546419,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 56}}),
|
||||
("relative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.45198512374305727,
|
||||
@ -727,8 +730,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
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}}),
|
||||
@ -816,23 +819,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8909729238898653,
|
||||
unseen = -3.6635616461296463,
|
||||
ClassData{prior = -0.7672551527136672, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -1.1526795099383855),
|
||||
("month (grain)", -2.2512917986064953),
|
||||
("year (grain)", -2.538973871058276),
|
||||
("week (grain)", -1.1526795099383855),
|
||||
("year", -2.538973871058276), ("month", -2.2512917986064953)],
|
||||
n = 16},
|
||||
[("week", -1.529395204760564),
|
||||
("month (grain)", -2.0149030205422647),
|
||||
("year (grain)", -2.3025850929940455),
|
||||
("week (grain)", -1.529395204760564),
|
||||
("day", -2.995732273553991), ("year", -2.3025850929940455),
|
||||
("month", -2.0149030205422647),
|
||||
("day (grain)", -2.995732273553991)],
|
||||
n = 26},
|
||||
koData =
|
||||
ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122,
|
||||
ClassData{prior = -0.6241543090729939, unseen = -4.23410650459726,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -0.7731898882334817),
|
||||
("week (grain)", -0.7731898882334817)],
|
||||
n = 23}}),
|
||||
[("week", -0.7855205006909605),
|
||||
("week (grain)", -0.7855205006909605)],
|
||||
n = 30}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165,
|
||||
@ -875,28 +879,29 @@ classifiers
|
||||
n = 4}}),
|
||||
("<part-of-day> <dim time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.7935659283069926,
|
||||
unseen = -5.0369526024136295,
|
||||
ClassData{prior = -0.7639162514481526,
|
||||
unseen = -5.0875963352323845,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("tonight<integer> (latent time-of-day)", -3.4210000089583352),
|
||||
[("tonight<integer> (latent time-of-day)", -3.1354942159291497),
|
||||
("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
-1.6631420914059614),
|
||||
("hourhour", -2.322387720290225),
|
||||
("afternoon<time-of-day> o'clock", -3.644143560272545),
|
||||
("hourminute", -0.9699949108460162),
|
||||
("afternoon<integer> (latent time-of-day)", -3.644143560272545),
|
||||
-1.714108534997989),
|
||||
("hourhour", -2.1369653858180224),
|
||||
("afternoon<time-of-day> o'clock", -3.6951100038645723),
|
||||
("hourminute", -1.0209613544380436),
|
||||
("afternoon<integer> (latent time-of-day)",
|
||||
-3.6951100038645723),
|
||||
("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)",
|
||||
-2.72785282839839),
|
||||
("afternoonhh:mm (time-of-day)", -3.644143560272545),
|
||||
("tonight<time-of-day> o'clock", -3.4210000089583352),
|
||||
-2.7788192719904172),
|
||||
("afternoonhh:mm (time-of-day)", -3.6951100038645723),
|
||||
("tonight<time-of-day> o'clock", -3.1354942159291497),
|
||||
("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)",
|
||||
-2.4654885639308985),
|
||||
-2.5164550075229264),
|
||||
("afternoonhalf after|past <integer> (hour-of-day)",
|
||||
-3.2386784521643803)],
|
||||
n = 71},
|
||||
-3.289644895756408)],
|
||||
n = 75},
|
||||
koData =
|
||||
ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986,
|
||||
ClassData{prior = -0.6270570687309552, unseen = -5.214935757608986,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)",
|
||||
@ -1247,11 +1252,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -3.922071315328127e-2,
|
||||
unseen = -3.295836866004329,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
|
||||
ClassData{prior = -3.7740327982847086e-2,
|
||||
unseen = -3.332204510175204,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
|
||||
koData =
|
||||
ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -3.295836866004329, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("\26149\33410",
|
||||
Classifier{okData =
|
||||
@ -1347,11 +1352,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0..10)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 221},
|
||||
ClassData{prior = -0.6020691041877619, unseen = -5.420534999272286,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 224},
|
||||
koData =
|
||||
ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 180}}),
|
||||
ClassData{prior = -0.793359330964477, unseen = -5.231108616854587,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 185}}),
|
||||
("last n <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.605170185988091,
|
||||
@ -1439,18 +1444,19 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("week-end",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
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}}),
|
||||
("number suffix: \21313|\25342",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1590646946296874,
|
||||
unseen = -3.4339872044851463,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
||||
ClassData{prior = -0.1495317339709637,
|
||||
unseen = -3.4965075614664802,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 31},
|
||||
koData =
|
||||
ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135,
|
||||
ClassData{prior = -1.9740810260220096,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
|
||||
("\22320\29699\19968\23567\26102",
|
||||
Classifier{okData =
|
||||
@ -1461,11 +1467,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("day (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.38299225225610584,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = -0.3448404862917295,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -1.1451323043030026,
|
||||
ClassData{prior = -1.2321436812926323,
|
||||
unseen = -2.1972245773362196,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
|
||||
("\22307\32426\33410",
|
||||
@ -1501,15 +1507,16 @@ classifiers
|
||||
n = 6}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
unseen = -2.0794415416798357,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -2.3025850929940455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (0..10)number suffix: \21313|\25342",
|
||||
-0.15415067982725836)],
|
||||
n = 5},
|
||||
-0.11778303565638351)],
|
||||
n = 7},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003,
|
||||
ClassData{prior = -1.5040773967762742,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("one point 2number suffix: \21313|\25342",
|
||||
@ -1552,14 +1559,14 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -4.07753744390572,
|
||||
ClassData{prior = 0.0, unseen = -4.204692619390966,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Wednesday", -1.9810014688665833),
|
||||
("Monday", -1.9810014688665833), ("day", -0.8415671856782186),
|
||||
("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489),
|
||||
("week-end", -2.9618307218783095)],
|
||||
n = 26},
|
||||
[("Wednesday", -1.9924301646902063),
|
||||
("Monday", -1.9924301646902063), ("day", -0.8574502318512216),
|
||||
("hour", -2.803360380906535), ("Tuesday", -1.7047480922384253),
|
||||
("week-end", -2.803360380906535)],
|
||||
n = 30},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}})]
|
@ -121,6 +121,7 @@ allExamples = concat
|
||||
, examples (datetimeInterval ((2013, 2, 15, 18, 0, 0), (2013, 2, 18, 0, 0, 0)) Hour)
|
||||
[ "这周末"
|
||||
, "這週末"
|
||||
, "本周末"
|
||||
]
|
||||
, examples (datetimeInterval ((2013, 2, 18, 4, 0, 0), (2013, 2, 18, 12, 0, 0)) Hour)
|
||||
[ "周一早上"
|
||||
@ -224,6 +225,7 @@ allExamples = concat
|
||||
, "今個星期三"
|
||||
, "今個礼拜三"
|
||||
, "今個禮拜三"
|
||||
, "本周三"
|
||||
]
|
||||
, examples (datetime (2013, 2, 13, 0, 0, 0) Day)
|
||||
[ "下周三"
|
||||
@ -240,6 +242,7 @@ allExamples = concat
|
||||
, "今個星期一"
|
||||
, "今個礼拜一"
|
||||
, "今個禮拜一"
|
||||
, "本周一"
|
||||
]
|
||||
, examples (datetime (2013, 2, 12, 0, 0, 0) Day)
|
||||
[ "这周二"
|
||||
@ -252,6 +255,7 @@ allExamples = concat
|
||||
, "今星期二"
|
||||
, "今礼拜二"
|
||||
, "今禮拜二"
|
||||
, "本周二"
|
||||
]
|
||||
, examples (datetime (2013, 2, 11, 0, 0, 0) Week)
|
||||
[ "这周"
|
||||
@ -265,6 +269,7 @@ allExamples = concat
|
||||
, "今個星期"
|
||||
, "今個礼拜"
|
||||
, "今個禮拜"
|
||||
, "本周"
|
||||
]
|
||||
, examples (datetime (2013, 2, 4, 0, 0, 0) Week)
|
||||
[ "上周"
|
||||
@ -297,6 +302,10 @@ allExamples = concat
|
||||
[ "今個月二十號"
|
||||
, "今個月20号"
|
||||
, "今個月廿號"
|
||||
, "这个月二十号"
|
||||
, "这个月20号"
|
||||
, "本月二十号"
|
||||
, "本月20号"
|
||||
]
|
||||
, examples (datetime (2013, 3, 20, 0, 0, 0) Day)
|
||||
[ "下個月二十號"
|
||||
@ -311,6 +320,8 @@ allExamples = concat
|
||||
[ "今年"
|
||||
, "这一年"
|
||||
, "這一年"
|
||||
, "本年"
|
||||
, "本年度"
|
||||
]
|
||||
, examples (datetime (2014, 1, 1, 0, 0, 0) Year)
|
||||
[ "明年"
|
||||
@ -521,6 +532,8 @@ allExamples = concat
|
||||
, "今晚八点"
|
||||
, "今晚8點"
|
||||
, "今晚八點"
|
||||
, "本晚8点"
|
||||
, "本晚八点"
|
||||
]
|
||||
, examples (datetimeHoliday (2014, 1, 1, 0, 0, 0) Day "元旦")
|
||||
[ "元旦"
|
||||
|
@ -344,7 +344,7 @@ ruleThisDayofweek :: Rule
|
||||
ruleThisDayofweek = Rule
|
||||
{ name = "this <day-of-week>"
|
||||
, pattern =
|
||||
[ regex "这|這|今(个|個)?"
|
||||
[ regex "这|這|今(个|個)?|本"
|
||||
, Predicate isADayOfWeek
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -443,7 +443,7 @@ ruleToday :: Rule
|
||||
ruleToday = Rule
|
||||
{ name = "today"
|
||||
, pattern =
|
||||
[ regex "今天|今日"
|
||||
[ regex "今天|今日|本日"
|
||||
]
|
||||
, prod = \_ -> tt today
|
||||
}
|
||||
@ -833,7 +833,7 @@ ruleThisCycle :: Rule
|
||||
ruleThisCycle = Rule
|
||||
{ name = "this <cycle>"
|
||||
, pattern =
|
||||
[ regex "(这|這)(一)?|今個"
|
||||
[ regex "(这|這)(一)?(个|個)?|今(个|個)?|本"
|
||||
, dimension TimeGrain
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -846,7 +846,7 @@ ruleThisTime :: Rule
|
||||
ruleThisTime = Rule
|
||||
{ name = "this <time>"
|
||||
, pattern =
|
||||
[ regex "今(个|個)?|这(个)?|這(個)?"
|
||||
[ regex "今(个|個)?|这(个|個)?|這(个|個)?|本"
|
||||
, Predicate isOkWithThisNext
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -933,7 +933,7 @@ ruleTonight :: Rule
|
||||
ruleTonight = Rule
|
||||
{ name = "tonight"
|
||||
, pattern =
|
||||
[ regex "今晚|今天晚上"
|
||||
[ regex "今晚|今天晚上|本晚"
|
||||
]
|
||||
, prod = \_ -> do
|
||||
td2 <- interval TTime.Open (hour False 18) (hour False 0)
|
||||
@ -956,7 +956,7 @@ ruleThisYear :: Rule
|
||||
ruleThisYear = Rule
|
||||
{ name = "this year"
|
||||
, pattern =
|
||||
[ regex "今年"
|
||||
[ regex "今年|本年(度)?"
|
||||
]
|
||||
, prod = \_ -> tt $ cycleNth TG.Year 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user