mirror of
https://github.com/facebook/duckling.git
synced 2024-11-30 23:33:33 +03:00
Time/EN: make upper interval consistent for durations
Summary: Upper interval bounds should be exclusive. For consistency, fixing this in a few rules related to durations. https://github.com/facebook/duckling/issues/230 https://github.com/wit-ai/node-wit/issues/178 Reviewed By: chinmay87 Differential Revision: D9332993 fbshipit-source-id: ceddb193c019602c714fceb155baf4c56b77572d
This commit is contained in:
parent
179cec14fb
commit
53d124ffe8
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6142647901699456, unseen = -5.783825182329737,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 323},
|
||||
ClassData{prior = -0.6072438369246773, unseen = -5.799092654460526,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 328},
|
||||
koData =
|
||||
ClassData{prior = -0.7787890070045318, unseen = -5.62040086571715,
|
||||
ClassData{prior = -0.7871293389207509, unseen = -5.62040086571715,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 274}}),
|
||||
("<year> (bc|ad)",
|
||||
Classifier{okData =
|
||||
@ -177,8 +177,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -228,59 +228,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -697,9 +696,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1404,23 +1403,27 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Memorial Day",
|
||||
Classifier{okData =
|
||||
@ -1598,15 +1601,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1930,8 +1936,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1961,15 +1967,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5834482633035207, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5667332557042866, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8163798209838934,
|
||||
unseen = -4.1588830833596715,
|
||||
ClassData{prior = -0.837886026204857, unseen = -4.1588830833596715,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -4.8790164169432056e-2),
|
||||
@ -1997,37 +2002,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12210269680089984,
|
||||
unseen = -5.170483995038151,
|
||||
ClassData{prior = -0.11918851726511841,
|
||||
unseen = -5.198497031265826,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5257286443082556),
|
||||
("integer (0..19)year (grain)", -2.967561396587295),
|
||||
("integer (numeric)day (grain)", -2.5998366164619773),
|
||||
("integer (0..19)second (grain) ", -3.7784916128036232),
|
||||
("integer (0..19)hour (grain)", -3.0853444322436783),
|
||||
("second", -3.373026504695459),
|
||||
("integer (numeric)second (grain) ", -4.0661736852554045),
|
||||
("integer (numeric)year (grain)", -3.373026504695459),
|
||||
("day", -2.331572629867298), ("year", -2.5257286443082556),
|
||||
("integer (numeric)week (grain)", -3.0853444322436783),
|
||||
("integer (0..19)month (grain)", -3.5553480614894135),
|
||||
("hour", -2.6798793241355137), ("month", -3.2188758248682006),
|
||||
("integer (numeric)minute (grain)", -3.2188758248682006),
|
||||
("integer (0..19)minute (grain)", -3.0853444322436783),
|
||||
("integer (numeric)month (grain)", -4.0661736852554045),
|
||||
("minute", -2.5257286443082556),
|
||||
("integer (numeric)hour (grain)", -3.5553480614894135),
|
||||
("integer (0..19)day (grain)", -3.5553480614894135),
|
||||
("integer (0..19)week (grain)", -3.2188758248682006)],
|
||||
n = 77},
|
||||
[("week", -2.5538995212749516),
|
||||
("integer (0..19)year (grain)", -2.995732273553991),
|
||||
("integer (numeric)day (grain)", -2.6280074934286737),
|
||||
("integer (0..19)second (grain) ", -3.8066624897703196),
|
||||
("integer (0..19)hour (grain)", -3.1135153092103742),
|
||||
("second", -3.4011973816621555),
|
||||
("integer (numeric)second (grain) ", -4.0943445622221),
|
||||
("integer (numeric)year (grain)", -3.4011973816621555),
|
||||
("day", -2.3597435068339943), ("year", -2.5538995212749516),
|
||||
("integer (numeric)week (grain)", -3.1135153092103742),
|
||||
("integer (0..19)month (grain)", -3.58351893845611),
|
||||
("integer (20..90)minute (grain)", -4.499809670330265),
|
||||
("hour", -2.70805020110221), ("month", -3.247046701834897),
|
||||
("integer (numeric)minute (grain)", -3.1135153092103742),
|
||||
("integer (0..19)minute (grain)", -3.1135153092103742),
|
||||
("integer (numeric)month (grain)", -4.0943445622221),
|
||||
("minute", -2.4203681286504293),
|
||||
("integer (numeric)hour (grain)", -3.58351893845611),
|
||||
("integer (0..19)day (grain)", -3.58351893845611),
|
||||
("integer (0..19)week (grain)", -3.247046701834897)],
|
||||
n = 79},
|
||||
koData =
|
||||
ClassData{prior = -2.1633230256605382,
|
||||
unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.186051276738094, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -2038,27 +2043,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.19306609607693181, unseen = -5.4510384535657,
|
||||
ClassData{prior = -0.18526706702371137,
|
||||
unseen = -5.493061443340548,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8372994592322094),
|
||||
("integer after|past <hour-of-day>", -4.060443010546419),
|
||||
("at <time-of-day>", -2.1886408336448278),
|
||||
("<time-of-day> o'clock", -4.3481250829982),
|
||||
("half after|past <hour-of-day>", -4.3481250829982),
|
||||
("<hour-of-day> <integer>", -3.8372994592322094),
|
||||
("time-of-day (latent)", -1.7331653049620022),
|
||||
("hhmm (latent)", -4.7535901911063645),
|
||||
("hh:mm", -2.3556949183079943),
|
||||
("quarter after|past <hour-of-day>", -4.7535901911063645),
|
||||
("until <time>", -4.060443010546419),
|
||||
("about|exactly <time-of-day>", -4.7535901911063645),
|
||||
("hour", -1.2272296664902034),
|
||||
("<time-of-day> sharp|exactly", -4.7535901911063645),
|
||||
("minute", -1.7090677533829417)],
|
||||
n = 108},
|
||||
[("from|since|after <time>", -3.5430275771013733),
|
||||
("integer after|past <hour-of-day>", -4.102643365036796),
|
||||
("at <time-of-day>", -2.230841188135204),
|
||||
("<time-of-day> o'clock", -4.390325437488577),
|
||||
("half after|past <hour-of-day>", -4.390325437488577),
|
||||
("<hour-of-day> <integer>", -3.879499813722586),
|
||||
("time-of-day (latent)", -1.7047480922384253),
|
||||
("hhmm (latent)", -4.795790545596741),
|
||||
("hh:mm", -2.3978952727983707),
|
||||
("quarter after|past <hour-of-day>", -4.795790545596741),
|
||||
("until <time>", -4.102643365036796),
|
||||
("about|exactly <time-of-day>", -4.795790545596741),
|
||||
("hour", -1.1984782850082953),
|
||||
("<time-of-day> sharp|exactly", -4.795790545596741),
|
||||
("minute", -1.751268107873318)],
|
||||
n = 113},
|
||||
koData =
|
||||
ClassData{prior = -1.739703107272002, unseen = -4.143134726391533,
|
||||
ClassData{prior = -1.7771606698069022, unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.028522096376982),
|
||||
@ -3200,24 +3206,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6373034443438524, unseen = -5.752572638825633,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 313},
|
||||
ClassData{prior = -0.6298657306124253, unseen = -5.768320995793772,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 318},
|
||||
koData =
|
||||
ClassData{prior = -0.7522948530626401, unseen = -5.638354669333745,
|
||||
ClassData{prior = -0.7607053315712364, unseen = -5.638354669333745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 279}}),
|
||||
("<year> (bc|ad)",
|
||||
Classifier{okData =
|
||||
@ -177,8 +177,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -228,59 +228,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -697,9 +696,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1385,23 +1384,27 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1563,15 +1566,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1874,8 +1880,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1905,15 +1911,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5834482633035207, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5667332557042866, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8163798209838934,
|
||||
unseen = -4.1588830833596715,
|
||||
ClassData{prior = -0.837886026204857, unseen = -4.1588830833596715,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -4.8790164169432056e-2),
|
||||
@ -1941,36 +1946,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1981,27 +1987,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.19306609607693181, unseen = -5.4510384535657,
|
||||
ClassData{prior = -0.18526706702371137,
|
||||
unseen = -5.493061443340548,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8372994592322094),
|
||||
("integer after|past <hour-of-day>", -4.060443010546419),
|
||||
("at <time-of-day>", -2.1886408336448278),
|
||||
("<time-of-day> o'clock", -4.3481250829982),
|
||||
("half after|past <hour-of-day>", -4.3481250829982),
|
||||
("<hour-of-day> <integer>", -3.8372994592322094),
|
||||
("time-of-day (latent)", -1.7331653049620022),
|
||||
("hhmm (latent)", -4.7535901911063645),
|
||||
("hh:mm", -2.3556949183079943),
|
||||
("quarter after|past <hour-of-day>", -4.7535901911063645),
|
||||
("until <time>", -4.060443010546419),
|
||||
("about|exactly <time-of-day>", -4.7535901911063645),
|
||||
("hour", -1.2272296664902034),
|
||||
("<time-of-day> sharp|exactly", -4.7535901911063645),
|
||||
("minute", -1.7090677533829417)],
|
||||
n = 108},
|
||||
[("from|since|after <time>", -3.5430275771013733),
|
||||
("integer after|past <hour-of-day>", -4.102643365036796),
|
||||
("at <time-of-day>", -2.230841188135204),
|
||||
("<time-of-day> o'clock", -4.390325437488577),
|
||||
("half after|past <hour-of-day>", -4.390325437488577),
|
||||
("<hour-of-day> <integer>", -3.879499813722586),
|
||||
("time-of-day (latent)", -1.7047480922384253),
|
||||
("hhmm (latent)", -4.795790545596741),
|
||||
("hh:mm", -2.3978952727983707),
|
||||
("quarter after|past <hour-of-day>", -4.795790545596741),
|
||||
("until <time>", -4.102643365036796),
|
||||
("about|exactly <time-of-day>", -4.795790545596741),
|
||||
("hour", -1.1984782850082953),
|
||||
("<time-of-day> sharp|exactly", -4.795790545596741),
|
||||
("minute", -1.751268107873318)],
|
||||
n = 113},
|
||||
koData =
|
||||
ClassData{prior = -1.739703107272002, unseen = -4.143134726391533,
|
||||
ClassData{prior = -1.7771606698069022, unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.028522096376982),
|
||||
@ -3122,24 +3129,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1361,23 +1360,27 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -82,10 +82,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5897397905230011, unseen = -5.83773044716594,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 341},
|
||||
ClassData{prior = -0.5832807029814129,
|
||||
unseen = -5.8522024797744745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 346},
|
||||
koData =
|
||||
ClassData{prior = -0.8084941614184475, unseen = -5.62040086571715,
|
||||
ClassData{prior = -0.816591371651067, unseen = -5.62040086571715,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 274}}),
|
||||
("<year> (bc|ad)",
|
||||
Classifier{okData =
|
||||
@ -184,8 +185,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -235,59 +236,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -711,9 +711,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1415,23 +1415,27 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Memorial Day",
|
||||
Classifier{okData =
|
||||
@ -1621,15 +1625,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1960,8 +1967,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1991,15 +1998,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5834482633035207, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5667332557042866, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8163798209838934,
|
||||
unseen = -4.1588830833596715,
|
||||
ClassData{prior = -0.837886026204857, unseen = -4.1588830833596715,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -4.8790164169432056e-2),
|
||||
@ -2027,36 +2033,38 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.181783550292085,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -5.209486152841421,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5370924029585704),
|
||||
("integer (0..19)year (grain)", -2.9789251552376097),
|
||||
("integer (numeric)day (grain)", -2.6112003751122925),
|
||||
("integer (0..19)second (grain) ", -3.7898553714539385),
|
||||
("integer (0..19)hour (grain)", -3.096708190893993),
|
||||
("second", -3.3843902633457743),
|
||||
("integer (numeric)second (grain) ", -4.07753744390572),
|
||||
("integer (numeric)year (grain)", -3.230239583518516),
|
||||
("day", -2.342936388517613), ("year", -2.468099531471619),
|
||||
("integer (numeric)week (grain)", -3.096708190893993),
|
||||
("integer (0..19)month (grain)", -3.5667118201397288),
|
||||
("hour", -2.691243082785829), ("month", -3.230239583518516),
|
||||
("integer (numeric)minute (grain)", -3.230239583518516),
|
||||
("integer (0..19)minute (grain)", -3.096708190893993),
|
||||
("integer (numeric)month (grain)", -4.07753744390572),
|
||||
("minute", -2.5370924029585704),
|
||||
("integer (numeric)hour (grain)", -3.5667118201397288),
|
||||
("integer (0..19)day (grain)", -3.5667118201397288),
|
||||
("integer (0..19)week (grain)", -3.230239583518516)],
|
||||
n = 78},
|
||||
[("week", -2.5649493574615367),
|
||||
("integer (0..19)year (grain)", -3.006782109740576),
|
||||
("integer (numeric)day (grain)", -2.639057329615259),
|
||||
("integer (0..19)second (grain) ", -3.817712325956905),
|
||||
("integer (0..19)hour (grain)", -3.1245651453969594),
|
||||
("second", -3.41224721784874),
|
||||
("integer (numeric)second (grain) ", -4.105394398408686),
|
||||
("integer (numeric)year (grain)", -3.258096538021482),
|
||||
("day", -2.3707933430205794), ("year", -2.495956485974585),
|
||||
("integer (numeric)week (grain)", -3.1245651453969594),
|
||||
("integer (0..19)month (grain)", -3.594568774642695),
|
||||
("integer (20..90)minute (grain)", -4.51085950651685),
|
||||
("hour", -2.7191000372887952), ("month", -3.258096538021482),
|
||||
("integer (numeric)minute (grain)", -3.1245651453969594),
|
||||
("integer (0..19)minute (grain)", -3.1245651453969594),
|
||||
("integer (numeric)month (grain)", -4.105394398408686),
|
||||
("minute", -2.431417964837014),
|
||||
("integer (numeric)hour (grain)", -3.594568774642695),
|
||||
("integer (0..19)day (grain)", -3.594568774642695),
|
||||
("integer (0..19)week (grain)", -3.258096538021482)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -2067,27 +2075,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.19306609607693181, unseen = -5.4510384535657,
|
||||
ClassData{prior = -0.18526706702371137,
|
||||
unseen = -5.493061443340548,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8372994592322094),
|
||||
("integer after|past <hour-of-day>", -4.060443010546419),
|
||||
("at <time-of-day>", -2.1886408336448278),
|
||||
("<time-of-day> o'clock", -4.3481250829982),
|
||||
("half after|past <hour-of-day>", -4.3481250829982),
|
||||
("<hour-of-day> <integer>", -3.8372994592322094),
|
||||
("time-of-day (latent)", -1.7331653049620022),
|
||||
("hhmm (latent)", -4.7535901911063645),
|
||||
("hh:mm", -2.3556949183079943),
|
||||
("quarter after|past <hour-of-day>", -4.7535901911063645),
|
||||
("until <time>", -4.060443010546419),
|
||||
("about|exactly <time-of-day>", -4.7535901911063645),
|
||||
("hour", -1.2272296664902034),
|
||||
("<time-of-day> sharp|exactly", -4.7535901911063645),
|
||||
("minute", -1.7090677533829417)],
|
||||
n = 108},
|
||||
[("from|since|after <time>", -3.5430275771013733),
|
||||
("integer after|past <hour-of-day>", -4.102643365036796),
|
||||
("at <time-of-day>", -2.230841188135204),
|
||||
("<time-of-day> o'clock", -4.390325437488577),
|
||||
("half after|past <hour-of-day>", -4.390325437488577),
|
||||
("<hour-of-day> <integer>", -3.879499813722586),
|
||||
("time-of-day (latent)", -1.7047480922384253),
|
||||
("hhmm (latent)", -4.795790545596741),
|
||||
("hh:mm", -2.3978952727983707),
|
||||
("quarter after|past <hour-of-day>", -4.795790545596741),
|
||||
("until <time>", -4.102643365036796),
|
||||
("about|exactly <time-of-day>", -4.795790545596741),
|
||||
("hour", -1.1984782850082953),
|
||||
("<time-of-day> sharp|exactly", -4.795790545596741),
|
||||
("minute", -1.751268107873318)],
|
||||
n = 113},
|
||||
koData =
|
||||
ClassData{prior = -1.739703107272002, unseen = -4.143134726391533,
|
||||
ClassData{prior = -1.7771606698069022, unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.028522096376982),
|
||||
@ -3273,24 +3282,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6256318339198431, unseen = -5.755742213586912,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 314},
|
||||
ClassData{prior = -0.6183155320991611, unseen = -5.771441123130016,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 319},
|
||||
koData =
|
||||
ClassData{prior = -0.7655530246431368, unseen = -5.616771097666572,
|
||||
ClassData{prior = -0.774034839699046, unseen = -5.616771097666572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 273}}),
|
||||
("<year> (bc|ad)",
|
||||
Classifier{okData =
|
||||
@ -170,8 +170,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -221,58 +221,59 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.540445040947149, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.397593916373824, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.2411620568168881, unseen = -5.111987788356543,
|
||||
ClassData{prior = -0.28394375034117386,
|
||||
unseen = -5.123963979403259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.019381523748645),
|
||||
("week", -4.42484663185681),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.412798293340635),
|
||||
("second", -4.412798293340635), ("now", -3.4965075614664802),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.4965075614664802),
|
||||
-4.42484663185681),
|
||||
("today", -4.42484663185681),
|
||||
("intersect", -2.6330871626287546),
|
||||
("<time> for <duration>", -4.019381523748645),
|
||||
("second", -4.42484663185681), ("now", -3.508555899982655),
|
||||
("tomorrow", -4.019381523748645),
|
||||
("this|last|next <cycle>", -4.42484663185681),
|
||||
("day", -1.9824995964876053),
|
||||
("time-of-day (latent)", -2.6330871626287546),
|
||||
("<time-of-day> am|pm", -4.019381523748645),
|
||||
("nograin", -3.508555899982655),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
-4.42484663185681),
|
||||
("<day-of-month> (ordinal)", -4.019381523748645),
|
||||
("Easter Sunday", -4.42484663185681),
|
||||
("Christmas", -3.7316994512968646),
|
||||
("hour", -2.409943611314545), ("month", -4.42484663185681),
|
||||
("<datetime> - <datetime> (interval)", -3.172083663361442),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.908720896564361),
|
||||
-2.920769235080536),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-4.007333185232471),
|
||||
("minute", -1.927891643552635),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
-4.019381523748645),
|
||||
("minute", -1.8991179875485544),
|
||||
("right now", -4.42484663185681),
|
||||
("<month> dd-dd (interval)", -3.7316994512968646),
|
||||
("part of days", -4.42484663185681),
|
||||
("dd-dd <month> (interval)", -4.019381523748645)],
|
||||
n = 67}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -692,9 +693,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1373,23 +1374,27 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1544,15 +1549,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1848,8 +1856,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1879,15 +1887,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5834482633035207, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5667332557042866, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8163798209838934,
|
||||
unseen = -4.1588830833596715,
|
||||
ClassData{prior = -0.837886026204857, unseen = -4.1588830833596715,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -4.8790164169432056e-2),
|
||||
@ -1915,37 +1922,38 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.11641035184441134,
|
||||
unseen = -5.214935757608986,
|
||||
ClassData{prior = -0.11375888535665803,
|
||||
unseen = -5.241747015059643,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5704288232261625),
|
||||
("integer (0..19)year (grain)", -3.130044611161585),
|
||||
("integer (numeric)day (grain)", -2.644536795379884),
|
||||
("integer (0..19)second (grain) ", -3.82319179172153),
|
||||
("integer (0..19)hour (grain)", -3.130044611161585),
|
||||
("second", -3.417726683613366),
|
||||
("integer (numeric)second (grain) ", -4.110873864173311),
|
||||
("integer (numeric)year (grain)", -3.130044611161585),
|
||||
("day", -2.3762728087852047), ("year", -2.501435951739211),
|
||||
("integer (numeric)week (grain)", -3.130044611161585),
|
||||
("integer (0..19)month (grain)", -3.6000482404073204),
|
||||
("hour", -2.7245795030534206), ("month", -2.9069010598473755),
|
||||
("integer (numeric)minute (grain)", -3.2635760037861075),
|
||||
("integer (0..19)minute (grain)", -3.130044611161585),
|
||||
("integer (numeric)month (grain)", -3.417726683613366),
|
||||
("minute", -2.5704288232261625),
|
||||
("integer (numeric)hour (grain)", -3.6000482404073204),
|
||||
("integer (0..19)day (grain)", -3.6000482404073204),
|
||||
("integer (0..19)week (grain)", -3.2635760037861075)],
|
||||
n = 81},
|
||||
[("week", -2.597384633214691),
|
||||
("integer (0..19)year (grain)", -3.1570004211501135),
|
||||
("integer (numeric)day (grain)", -2.6714926053684125),
|
||||
("integer (0..19)second (grain) ", -3.8501476017100584),
|
||||
("integer (0..19)hour (grain)", -3.1570004211501135),
|
||||
("second", -3.4446824936018943),
|
||||
("integer (numeric)second (grain) ", -4.137829674161839),
|
||||
("integer (numeric)year (grain)", -3.1570004211501135),
|
||||
("day", -2.403228618773733), ("year", -2.528391761727739),
|
||||
("integer (numeric)week (grain)", -3.1570004211501135),
|
||||
("integer (0..19)month (grain)", -3.6270040503958487),
|
||||
("integer (20..90)minute (grain)", -4.543294782270004),
|
||||
("hour", -2.751535313041949), ("month", -2.9338568698359033),
|
||||
("integer (numeric)minute (grain)", -3.1570004211501135),
|
||||
("integer (0..19)minute (grain)", -3.1570004211501135),
|
||||
("integer (numeric)month (grain)", -3.4446824936018943),
|
||||
("minute", -2.463853240590168),
|
||||
("integer (numeric)hour (grain)", -3.6270040503958487),
|
||||
("integer (0..19)day (grain)", -3.6270040503958487),
|
||||
("integer (0..19)week (grain)", -3.2905318137746358)],
|
||||
n = 83},
|
||||
koData =
|
||||
ClassData{prior = -2.2082744135228043,
|
||||
unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.2300144001592104,
|
||||
unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1956,27 +1964,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.19306609607693181, unseen = -5.4510384535657,
|
||||
ClassData{prior = -0.18526706702371137,
|
||||
unseen = -5.493061443340548,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8372994592322094),
|
||||
("integer after|past <hour-of-day>", -4.060443010546419),
|
||||
("at <time-of-day>", -2.1886408336448278),
|
||||
("<time-of-day> o'clock", -4.3481250829982),
|
||||
("half after|past <hour-of-day>", -4.3481250829982),
|
||||
("<hour-of-day> <integer>", -3.8372994592322094),
|
||||
("time-of-day (latent)", -1.7331653049620022),
|
||||
("hhmm (latent)", -4.7535901911063645),
|
||||
("hh:mm", -2.3556949183079943),
|
||||
("quarter after|past <hour-of-day>", -4.7535901911063645),
|
||||
("until <time>", -4.060443010546419),
|
||||
("about|exactly <time-of-day>", -4.7535901911063645),
|
||||
("hour", -1.2272296664902034),
|
||||
("<time-of-day> sharp|exactly", -4.7535901911063645),
|
||||
("minute", -1.7090677533829417)],
|
||||
n = 108},
|
||||
[("from|since|after <time>", -3.5430275771013733),
|
||||
("integer after|past <hour-of-day>", -4.102643365036796),
|
||||
("at <time-of-day>", -2.230841188135204),
|
||||
("<time-of-day> o'clock", -4.390325437488577),
|
||||
("half after|past <hour-of-day>", -4.390325437488577),
|
||||
("<hour-of-day> <integer>", -3.879499813722586),
|
||||
("time-of-day (latent)", -1.7047480922384253),
|
||||
("hhmm (latent)", -4.795790545596741),
|
||||
("hh:mm", -2.3978952727983707),
|
||||
("quarter after|past <hour-of-day>", -4.795790545596741),
|
||||
("until <time>", -4.102643365036796),
|
||||
("about|exactly <time-of-day>", -4.795790545596741),
|
||||
("hour", -1.1984782850082953),
|
||||
("<time-of-day> sharp|exactly", -4.795790545596741),
|
||||
("minute", -1.751268107873318)],
|
||||
n = 113},
|
||||
koData =
|
||||
ClassData{prior = -1.739703107272002, unseen = -4.143134726391533,
|
||||
ClassData{prior = -1.7771606698069022, unseen = -4.143134726391533,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.028522096376982),
|
||||
@ -3105,24 +3114,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -75,10 +75,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5940217850471116, unseen = -5.717027701406222,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 302},
|
||||
ClassData{prior = -0.5867002986898981, unseen = -5.733341276897745,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 307},
|
||||
koData =
|
||||
ClassData{prior = -0.8031905918772542,
|
||||
ClassData{prior = -0.8122898357323683,
|
||||
unseen = -5.5093883366279774,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 245}}),
|
||||
("<year> (bc|ad)",
|
||||
@ -171,8 +171,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
||||
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}}),
|
||||
@ -222,59 +222,58 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("from|since|after <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.5284688499004333, unseen = -4.248495242049359,
|
||||
ClassData{prior = -1.3862943611198906, unseen = -4.356708826689592,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> (ordinal or number) <named-month>",
|
||||
-3.5409593240373143),
|
||||
("July", -3.5409593240373143),
|
||||
("year (latent)", -3.1354942159291497),
|
||||
("day", -3.1354942159291497),
|
||||
("time-of-day (latent)", -2.624668592163159),
|
||||
("year", -3.1354942159291497),
|
||||
("<time-of-day> am|pm", -2.624668592163159),
|
||||
("hh:mm", -2.624668592163159),
|
||||
("<day-of-month> (ordinal)", -3.5409593240373143),
|
||||
("hour", -2.03688192726104), ("month", -3.1354942159291497),
|
||||
("minute", -2.624668592163159),
|
||||
("August", -3.5409593240373143)],
|
||||
n = 18},
|
||||
-3.6506582412937383),
|
||||
("July", -3.6506582412937383),
|
||||
("year (latent)", -3.245193133185574),
|
||||
("day", -3.245193133185574),
|
||||
("time-of-day (latent)", -2.3978952727983707),
|
||||
("year", -3.245193133185574),
|
||||
("<time-of-day> am|pm", -2.3978952727983707),
|
||||
("hh:mm", -2.7343675094195836),
|
||||
("<day-of-month> (ordinal)", -3.6506582412937383),
|
||||
("hour", -1.7788560643921472), ("month", -3.245193133185574),
|
||||
("minute", -2.7343675094195836),
|
||||
("August", -3.6506582412937383)],
|
||||
n = 22},
|
||||
koData =
|
||||
ClassData{prior = -0.24445333790096085,
|
||||
unseen = -5.099866427824199,
|
||||
ClassData{prior = -0.2876820724517809, unseen = -5.111987788356543,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -3.9951379121386528),
|
||||
("week", -4.400603020246817),
|
||||
[("<integer> to|till|before <hour-of-day>", -4.007333185232471),
|
||||
("week", -4.412798293340635),
|
||||
("<day-of-month> (ordinal or number) <named-month>",
|
||||
-4.400603020246817),
|
||||
("today", -4.400603020246817),
|
||||
("intersect", -2.608843551018762),
|
||||
("<time> for <duration>", -4.400603020246817),
|
||||
("second", -4.400603020246817), ("now", -3.7074558396868715),
|
||||
("tomorrow", -3.9951379121386528),
|
||||
("this|last|next <cycle>", -4.400603020246817),
|
||||
("day", -1.9582559848776127),
|
||||
("time-of-day (latent)", -2.608843551018762),
|
||||
("<time-of-day> am|pm", -3.9951379121386528),
|
||||
("nograin", -3.7074558396868715),
|
||||
-4.412798293340635),
|
||||
("today", -4.412798293340635),
|
||||
("intersect", -2.6210388241125804),
|
||||
("<time> for <duration>", -4.007333185232471),
|
||||
("second", -4.412798293340635), ("now", -3.71965111278069),
|
||||
("tomorrow", -4.007333185232471),
|
||||
("this|last|next <cycle>", -4.412798293340635),
|
||||
("day", -1.9704512579714308),
|
||||
("time-of-day (latent)", -2.6210388241125804),
|
||||
("<time-of-day> am|pm", -4.007333185232471),
|
||||
("nograin", -3.71965111278069),
|
||||
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
||||
-4.400603020246817),
|
||||
("<day-of-month> (ordinal)", -3.9951379121386528),
|
||||
("Easter Sunday", -4.400603020246817),
|
||||
("Christmas", -3.7074558396868715),
|
||||
("hour", -2.3856999997045523), ("month", -4.400603020246817),
|
||||
("<datetime> - <datetime> (interval)", -3.147840051751449),
|
||||
-4.412798293340635),
|
||||
("<day-of-month> (ordinal)", -4.007333185232471),
|
||||
("Easter Sunday", -4.412798293340635),
|
||||
("Christmas", -3.71965111278069), ("hour", -2.3978952727983707),
|
||||
("month", -4.412798293340635),
|
||||
("<datetime> - <datetime> (interval)", -3.1600353248452673),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
-2.8965256234705428),
|
||||
-2.908720896564361),
|
||||
("<named-month> <day-of-month> (non ordinal)",
|
||||
-3.9951379121386528),
|
||||
("minute", -1.9156963704588166),
|
||||
("right now", -4.400603020246817),
|
||||
("<month> dd-dd (interval)", -3.7074558396868715),
|
||||
("part of days", -4.400603020246817),
|
||||
("dd-dd <month> (interval)", -3.9951379121386528)],
|
||||
n = 65}}),
|
||||
-4.007333185232471),
|
||||
("minute", -1.8870696490323797),
|
||||
("right now", -4.412798293340635),
|
||||
("<month> dd-dd (interval)", -3.71965111278069),
|
||||
("part of days", -4.412798293340635),
|
||||
("dd-dd <month> (interval)", -4.007333185232471)],
|
||||
n = 66}}),
|
||||
("integer after|past <hour-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
||||
@ -690,9 +689,9 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> + '\"",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 3},
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1354,23 +1353,27 @@ classifiers
|
||||
n = 22}}),
|
||||
("<time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -1.0296194171811581),
|
||||
("intersect<integer> <unit-of-duration>", -1.9459101490553135),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.791759469228055),
|
||||
("dayday", -1.5686159179138452),
|
||||
("hourminute", -1.5686159179138452),
|
||||
("intersect<integer> <unit-of-duration>", -2.4849066497880004),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-1.540445040947149),
|
||||
-2.0794415416798357),
|
||||
("from|since|after <time><integer> <unit-of-duration>",
|
||||
-1.9459101490553135)],
|
||||
n = 4},
|
||||
-2.0794415416798357)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.2039728043259361),
|
||||
("December<integer> <unit-of-duration>", -1.2039728043259361)],
|
||||
[("monthday", -1.3862943611198906),
|
||||
("December<integer> <unit-of-duration>", -1.3862943611198906)],
|
||||
n = 2}}),
|
||||
("Monday",
|
||||
Classifier{okData =
|
||||
@ -1532,15 +1535,18 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("from <time> for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayday", -0.6931471805599453),
|
||||
[("<time-of-day> am|pm<integer> <unit-of-duration>",
|
||||
-1.3862943611198906),
|
||||
("dayday", -1.3862943611198906),
|
||||
("hourminute", -1.3862943611198906),
|
||||
("<day-of-month> (ordinal or number) <named-month><integer> <unit-of-duration>",
|
||||
-0.6931471805599453)],
|
||||
n = 1},
|
||||
-1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("six thirty six a.m.",
|
||||
Classifier{okData =
|
||||
@ -1836,8 +1842,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("minute (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
|
||||
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -1867,14 +1873,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5688494638823682, unseen = -4.382026634673881,
|
||||
ClassData{prior = -0.5524472984568102, unseen = -4.418840607796598,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.14994014729091476),
|
||||
("integer (0..19)", -1.971552579668651)],
|
||||
n = 77},
|
||||
[("integer (numeric)", -0.1440393702229377),
|
||||
("integer (0..19)", -2.0088239744658827)],
|
||||
n = 80},
|
||||
koData =
|
||||
ClassData{prior = -0.8351174418303325, unseen = -4.127134385045092,
|
||||
ClassData{prior = -0.8569364892249722, unseen = -4.127134385045092,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.043085362689197e-2),
|
||||
@ -1902,36 +1908,37 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> <unit-of-duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.12361395596717664,
|
||||
unseen = -5.159055299214529,
|
||||
ClassData{prior = -0.12062798778861475,
|
||||
unseen = -5.187385805840755,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("week", -2.5142342648825204),
|
||||
("integer (0..19)year (grain)", -3.073850052817943),
|
||||
("integer (numeric)day (grain)", -2.588342237036242),
|
||||
("integer (0..19)second (grain) ", -3.7669972333778885),
|
||||
("integer (0..19)hour (grain)", -3.073850052817943),
|
||||
("second", -3.361532125269724),
|
||||
("integer (numeric)second (grain) ", -4.054679305829669),
|
||||
("integer (numeric)year (grain)", -3.361532125269724),
|
||||
("day", -2.3200782504415627), ("year", -2.588342237036242),
|
||||
("integer (numeric)week (grain)", -3.073850052817943),
|
||||
("integer (0..19)month (grain)", -3.543853682063679),
|
||||
("hour", -2.668384944709779), ("month", -3.207381445442466),
|
||||
("integer (numeric)minute (grain)", -3.207381445442466),
|
||||
("integer (0..19)minute (grain)", -3.073850052817943),
|
||||
("integer (numeric)month (grain)", -4.054679305829669),
|
||||
("minute", -2.5142342648825204),
|
||||
("integer (numeric)hour (grain)", -3.543853682063679),
|
||||
("integer (0..19)day (grain)", -3.543853682063679),
|
||||
("integer (0..19)week (grain)", -3.207381445442466)],
|
||||
n = 76},
|
||||
[("week", -2.5427262206768266),
|
||||
("integer (0..19)year (grain)", -3.1023420086122493),
|
||||
("integer (numeric)day (grain)", -2.6168341928305483),
|
||||
("integer (0..19)second (grain) ", -3.7954891891721947),
|
||||
("integer (0..19)hour (grain)", -3.1023420086122493),
|
||||
("second", -3.39002408106403),
|
||||
("integer (numeric)second (grain) ", -4.083171261623976),
|
||||
("integer (numeric)year (grain)", -3.39002408106403),
|
||||
("day", -2.348570206235869), ("year", -2.6168341928305483),
|
||||
("integer (numeric)week (grain)", -3.1023420086122493),
|
||||
("integer (0..19)month (grain)", -3.572345637857985),
|
||||
("integer (20..90)minute (grain)", -4.48863636973214),
|
||||
("hour", -2.6968769005040847), ("month", -3.235873401236772),
|
||||
("integer (numeric)minute (grain)", -3.1023420086122493),
|
||||
("integer (0..19)minute (grain)", -3.1023420086122493),
|
||||
("integer (numeric)month (grain)", -4.083171261623976),
|
||||
("minute", -2.409194828052304),
|
||||
("integer (numeric)hour (grain)", -3.572345637857985),
|
||||
("integer (0..19)day (grain)", -3.572345637857985),
|
||||
("integer (0..19)week (grain)", -3.235873401236772)],
|
||||
n = 78},
|
||||
koData =
|
||||
ClassData{prior = -2.151762203259462, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -2.174751721484161, unseen = -3.7612001156935624,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -1.3156767939059373),
|
||||
("integer (numeric)hour (grain)", -1.3156767939059373)],
|
||||
[("hour", -1.3397743454849977),
|
||||
("integer (numeric)hour (grain)", -1.3397743454849977)],
|
||||
n = 10}}),
|
||||
("hhmm (latent)",
|
||||
Classifier{okData =
|
||||
@ -1942,27 +1949,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.18859116980755003, unseen = -5.43372200355424,
|
||||
ClassData{prior = -0.18081892690941961,
|
||||
unseen = -5.476463551931511,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("from|since|after <time>", -3.8199077165203406),
|
||||
("integer after|past <hour-of-day>", -4.04305126783455),
|
||||
("at <time-of-day>", -2.21046980408624),
|
||||
("<time-of-day> o'clock", -4.330733340286331),
|
||||
("half after|past <hour-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer>", -3.8199077165203406),
|
||||
("time-of-day (latent)", -1.7157735622501329),
|
||||
("hhmm (latent)", -4.736198448394496),
|
||||
("hh:mm", -2.384823191231018),
|
||||
("quarter after|past <hour-of-day>", -4.736198448394496),
|
||||
("until <time>", -4.04305126783455),
|
||||
("about|exactly <time-of-day>", -4.736198448394496),
|
||||
("hour", -1.209837923778334),
|
||||
("<time-of-day> sharp|exactly", -4.736198448394496),
|
||||
("minute", -1.7404661748405046)],
|
||||
n = 106},
|
||||
[("from|since|after <time>", -3.5263605246161616),
|
||||
("integer after|past <hour-of-day>", -4.085976312551584),
|
||||
("at <time-of-day>", -2.253394848803274),
|
||||
("<time-of-day> o'clock", -4.373658385003365),
|
||||
("half after|past <hour-of-day>", -4.373658385003365),
|
||||
("<hour-of-day> <integer>", -3.862832761237374),
|
||||
("time-of-day (latent)", -1.6880810397532136),
|
||||
("hhmm (latent)", -4.77912349311153),
|
||||
("hh:mm", -2.4277482359480516),
|
||||
("quarter after|past <hour-of-day>", -4.77912349311153),
|
||||
("until <time>", -4.085976312551584),
|
||||
("about|exactly <time-of-day>", -4.77912349311153),
|
||||
("hour", -1.1818112325230834),
|
||||
("<time-of-day> sharp|exactly", -4.77912349311153),
|
||||
("minute", -1.7833912195575383)],
|
||||
n = 111},
|
||||
koData =
|
||||
ClassData{prior = -1.7609878105613013, unseen = -4.110873864173311,
|
||||
ClassData{prior = -1.7993066748634379, unseen = -4.110873864173311,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> to|till|before <hour-of-day>", -2.995732273553991),
|
||||
@ -3056,24 +3064,29 @@ classifiers
|
||||
("for <duration> from <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.3025850929940455,
|
||||
unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.0986122886681098),
|
||||
-2.0794415416798357),
|
||||
("<integer> + '\"from|since|after <time>", -2.0794415416798357),
|
||||
("dayday", -1.6739764335716716),
|
||||
("minutehour", -1.6739764335716716),
|
||||
("<integer> + '\"<time-of-day> am|pm", -2.0794415416798357),
|
||||
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
||||
-1.5040773967762742)],
|
||||
n = 2},
|
||||
-2.0794415416798357)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.0794415416798357,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -1.252762968495368),
|
||||
[("dayhour", -1.791759469228055),
|
||||
("<integer> + '\"from|since|after <time>", -1.791759469228055),
|
||||
("<integer> <unit-of-duration>time-of-day (latent)",
|
||||
-1.252762968495368)],
|
||||
n = 1}}),
|
||||
-1.791759469228055),
|
||||
("minutehour", -1.791759469228055)],
|
||||
n = 2}}),
|
||||
("compose by multiplication",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -679,6 +679,11 @@ allExamples = concat
|
||||
, "from 18th Dec for 10 days"
|
||||
, "18th Dec for 10 days"
|
||||
]
|
||||
, examples (datetimeInterval ((2013, 2, 12, 16, 0, 0), (2013, 2, 12, 16, 31, 0)) Minute)
|
||||
[ "for 30' starting from 4pm"
|
||||
, "from 4pm for thirty minutes"
|
||||
, "4pm for 30 mins"
|
||||
]
|
||||
, examples (datetimeInterval ((2013, 6, 21, 0, 0, 0), (2013, 9, 24, 0, 0, 0)) Day)
|
||||
[ "this Summer"
|
||||
, "current summer"
|
||||
|
@ -2231,7 +2231,7 @@ ruleIntervalForDurationFrom = Rule
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(_:Token Duration dd:_:Token Time td1:_) ->
|
||||
Token Time <$> interval TTime.Open td1 (durationAfter dd td1)
|
||||
Token Time <$> interval TTime.Closed td1 (durationAfter dd td1)
|
||||
_ -> Nothing
|
||||
}
|
||||
|
||||
@ -2245,7 +2245,7 @@ ruleIntervalTimeForDuration = Rule
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(Token Time td1:_:Token Duration dd:_) ->
|
||||
Token Time <$> interval TTime.Open td1 (durationAfter dd td1)
|
||||
Token Time <$> interval TTime.Closed td1 (durationAfter dd td1)
|
||||
_ -> Nothing
|
||||
}
|
||||
|
||||
@ -2260,7 +2260,7 @@ ruleIntervalFromTimeForDuration = Rule
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(_:Token Time td1:_:Token Duration dd:_) ->
|
||||
Token Time <$> interval TTime.Open td1 (durationAfter dd td1)
|
||||
Token Time <$> interval TTime.Closed td1 (durationAfter dd td1)
|
||||
_ -> Nothing
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user