mirror of
https://github.com/facebook/duckling.git
synced 2024-12-01 08:19:36 +03:00
Time: don't parse subsequent numbers
Summary: - Fixes #89. "<number> <number>" would parse as Time if in the right range. - Applied same rule for all languages. Note that for Italian and Polish, I updated "<hour> <minute>" tests to be in the form "at <hour> <minute>". - Replaced `liftM2` with more generic `and|or . sequence [f1, f2, ...]`. Reviewed By: blandinw Differential Revision: D5992879 fbshipit-source-id: 5409ffb
This commit is contained in:
parent
2b566eeac0
commit
b3fb913a23
@ -287,151 +287,142 @@ classifiers
|
||||
n = 2}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.46117571512217015,
|
||||
unseen = -5.834810737062605,
|
||||
ClassData{prior = -0.43117346481837143,
|
||||
unseen = -5.820082930352362,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<datetime> - <datetime> (interval)on <date>",
|
||||
-4.0401230080554615),
|
||||
-4.02535169073515),
|
||||
("Wednesday<named-month> <day-of-month> (non ordinal)",
|
||||
-5.1387352967235715),
|
||||
-5.123963979403259),
|
||||
("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.0401230080554615),
|
||||
("hourday", -5.1387352967235715),
|
||||
("dayhour", -2.8874434981170762),
|
||||
("daymonth", -3.3469758274955166),
|
||||
("monthyear", -3.0592937550437354),
|
||||
("Mondayon <date>", -5.1387352967235715),
|
||||
("intersecthh:mm", -5.1387352967235715),
|
||||
("Wednesdaynext <cycle>", -5.1387352967235715),
|
||||
("Marchyear", -4.733270188615407),
|
||||
-4.02535169073515),
|
||||
("hourday", -5.123963979403259),
|
||||
("dayhour", -2.872672180796764),
|
||||
("daymonth", -3.332204510175204),
|
||||
("monthyear", -3.044522437723423),
|
||||
("Mondayon <date>", -5.123963979403259),
|
||||
("intersecthh:mm", -5.123963979403259),
|
||||
("Wednesdaynext <cycle>", -5.123963979403259),
|
||||
("Marchyear", -4.718498871295094),
|
||||
("intersect by \"of\", \"from\", \"'s\"year",
|
||||
-4.733270188615407),
|
||||
("Mondayintersect", -5.1387352967235715),
|
||||
("last <day-of-week> of <time>year", -4.733270188615407),
|
||||
("todayat <time-of-day>", -4.733270188615407),
|
||||
("Thursday<time> timezone", -4.445588116163626),
|
||||
("dayday", -3.0592937550437354),
|
||||
("dd/mmat <time-of-day>", -4.222444564849416),
|
||||
("the <day-of-month> (ordinal)February", -4.733270188615407),
|
||||
("intersect by \",\"hh:mm", -4.222444564849416),
|
||||
("Mondaythe <day-of-month> (non ordinal)", -5.1387352967235715),
|
||||
-4.718498871295094),
|
||||
("Mondayintersect", -5.123963979403259),
|
||||
("last <day-of-week> of <time>year", -4.718498871295094),
|
||||
("todayat <time-of-day>", -4.718498871295094),
|
||||
("Thursday<time> timezone", -4.430816798843313),
|
||||
("dayday", -3.044522437723423),
|
||||
("dd/mmat <time-of-day>", -4.207673247529104),
|
||||
("the <day-of-month> (ordinal)February", -4.718498871295094),
|
||||
("intersect by \",\"hh:mm", -4.207673247529104),
|
||||
("Mondaythe <day-of-month> (non ordinal)", -5.123963979403259),
|
||||
("Thursdaybetween <time-of-day> and <time-of-day> (interval)",
|
||||
-5.1387352967235715),
|
||||
("dayyear", -3.26693311982198),
|
||||
-5.123963979403259),
|
||||
("dayyear", -3.2521618025016674),
|
||||
("Thursdaybetween <datetime> and <datetime> (interval)",
|
||||
-5.1387352967235715),
|
||||
("Thursdayat <time-of-day>", -4.733270188615407),
|
||||
("tomorrow<time-of-day> sharp", -4.733270188615407),
|
||||
-5.123963979403259),
|
||||
("Thursdayat <time-of-day>", -4.718498871295094),
|
||||
("tomorrow<time-of-day> sharp", -4.718498871295094),
|
||||
("<day-of-month>(ordinal) <named-month>year",
|
||||
-4.733270188615407),
|
||||
-4.718498871295094),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.0401230080554615),
|
||||
-4.02535169073515),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-4.733270188615407),
|
||||
-4.718498871295094),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.733270188615407),
|
||||
("tomorrowuntil <time-of-day>", -4.733270188615407),
|
||||
-4.718498871295094),
|
||||
("tomorrowuntil <time-of-day>", -4.718498871295094),
|
||||
("absorption of , after named day<day-of-month> (non ordinal) <named-month>",
|
||||
-4.445588116163626),
|
||||
("the <day-of-month> (ordinal)March", -4.222444564849416),
|
||||
("after <time-of-day>at <time-of-day>", -4.733270188615407),
|
||||
-4.430816798843313),
|
||||
("the <day-of-month> (ordinal)March", -4.207673247529104),
|
||||
("after <time-of-day>at <time-of-day>", -4.718498871295094),
|
||||
("intersect by \",\"<day-of-month> (non ordinal) <named-month>",
|
||||
-4.733270188615407),
|
||||
("Mondaythe <day-of-month> (ordinal)", -5.1387352967235715),
|
||||
("tomorrowafter <time-of-day>", -4.733270188615407),
|
||||
-4.718498871295094),
|
||||
("Mondaythe <day-of-month> (ordinal)", -5.123963979403259),
|
||||
("tomorrowafter <time-of-day>", -4.718498871295094),
|
||||
("from <time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.222444564849416),
|
||||
-4.207673247529104),
|
||||
("Sunday<day-of-month> (non ordinal) <named-month>",
|
||||
-5.1387352967235715),
|
||||
("dayminute", -2.787360039560094),
|
||||
("Tuesdaythis <time>", -4.445588116163626),
|
||||
-5.123963979403259),
|
||||
("dayminute", -2.772588722239781),
|
||||
("Tuesdaythis <time>", -4.430816798843313),
|
||||
("from <datetime> - <datetime> (interval)on <date>",
|
||||
-4.445588116163626),
|
||||
("<ordinal> <cycle> of <time>year", -4.733270188615407),
|
||||
("minuteday", -2.536045611279188),
|
||||
-4.430816798843313),
|
||||
("<ordinal> <cycle> of <time>year", -4.718498871295094),
|
||||
("minuteday", -2.521274293958875),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.1387352967235715),
|
||||
("Octoberyear", -3.529297384289471),
|
||||
("yearhh:mm", -5.1387352967235715),
|
||||
-5.123963979403259),
|
||||
("Octoberyear", -3.5145260669691587),
|
||||
("yearhh:mm", -5.123963979403259),
|
||||
("absorption of , after named dayintersect by \",\"",
|
||||
-4.733270188615407),
|
||||
("dd/mmyear", -4.733270188615407),
|
||||
("Septemberyear", -4.222444564849416),
|
||||
("at <time-of-day>on <date>", -5.1387352967235715),
|
||||
-4.718498871295094),
|
||||
("dd/mmyear", -4.718498871295094),
|
||||
("Septemberyear", -4.207673247529104),
|
||||
("at <time-of-day>on <date>", -5.123963979403259),
|
||||
("between <time-of-day> and <time-of-day> (interval)on <date>",
|
||||
-5.1387352967235715),
|
||||
-5.123963979403259),
|
||||
("between <datetime> and <datetime> (interval)on <date>",
|
||||
-5.1387352967235715),
|
||||
("dayweek", -4.0401230080554615),
|
||||
("weekyear", -4.222444564849416),
|
||||
("hh:mmtomorrow", -4.445588116163626),
|
||||
("Wednesdaythis <time>", -4.222444564849416),
|
||||
("tomorrowat <time-of-day>", -3.8859723282282035),
|
||||
("at <time-of-day>tomorrow", -4.733270188615407),
|
||||
("intersectFebruary", -5.1387352967235715),
|
||||
("last <cycle> of <time>year", -4.222444564849416),
|
||||
("Mondaythis <time>", -5.1387352967235715),
|
||||
-5.123963979403259),
|
||||
("dayweek", -4.02535169073515),
|
||||
("weekyear", -4.207673247529104),
|
||||
("hh:mmtomorrow", -4.430816798843313),
|
||||
("Wednesdaythis <time>", -4.207673247529104),
|
||||
("tomorrowat <time-of-day>", -3.871201010907891),
|
||||
("at <time-of-day>tomorrow", -4.718498871295094),
|
||||
("intersectFebruary", -5.123963979403259),
|
||||
("last <cycle> of <time>year", -4.207673247529104),
|
||||
("Mondaythis <time>", -5.123963979403259),
|
||||
("<day-of-month> (non ordinal) <named-month>year",
|
||||
-4.733270188615407),
|
||||
("yearminute", -5.1387352967235715)],
|
||||
-4.718498871295094),
|
||||
("yearminute", -5.123963979403259)],
|
||||
n = 128},
|
||||
koData =
|
||||
ClassData{prior = -0.9957178655054769,
|
||||
unseen = -5.4638318050256105,
|
||||
ClassData{prior = -1.049097224140729, unseen = -5.389071729816501,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("dayhour", -3.380143972464323),
|
||||
("daymonth", -2.16374864813983),
|
||||
("monthday", -3.8501476017100584),
|
||||
("monthyear", -3.8501476017100584),
|
||||
("Marchyear", -4.073291153024268),
|
||||
[("dayhour", -3.305053521109253),
|
||||
("daymonth", -2.0886581967847597),
|
||||
("monthday", -3.775057150354989),
|
||||
("monthyear", -3.775057150354989),
|
||||
("Marchyear", -3.9982007016691985),
|
||||
("intersect by \"of\", \"from\", \"'s\"year",
|
||||
-3.5136753650888455),
|
||||
("Sundaythis <time>", -3.8501476017100584),
|
||||
("absorption of , after named dayJuly", -4.360973225476049),
|
||||
("dd/mmat <time-of-day>", -3.8501476017100584),
|
||||
("hourhour", -3.5136753650888455),
|
||||
-3.438584913733776),
|
||||
("Sundaythis <time>", -3.775057150354989),
|
||||
("absorption of , after named dayJuly", -4.285882774120979),
|
||||
("dd/mmat <time-of-day>", -3.775057150354989),
|
||||
("hourhour", -3.438584913733776),
|
||||
("Thursdaybetween <time-of-day> and <time-of-day> (interval)",
|
||||
-4.7664383335842135),
|
||||
("dayyear", -3.380143972464323),
|
||||
-4.6913478822291435),
|
||||
("dayyear", -3.305053521109253),
|
||||
("Thursdaybetween <datetime> and <datetime> (interval)",
|
||||
-4.7664383335842135),
|
||||
("Thursdayat <time-of-day>", -3.8501476017100584),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-4.360973225476049),
|
||||
("Thursdayhh:mm", -4.7664383335842135),
|
||||
("WednesdayFebruary", -4.7664383335842135),
|
||||
("minutemonth", -4.360973225476049),
|
||||
-4.6913478822291435),
|
||||
("Thursdayat <time-of-day>", -3.775057150354989),
|
||||
("Thursdayhh:mm", -4.6913478822291435),
|
||||
("WednesdayFebruary", -4.6913478822291435),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-4.360973225476049),
|
||||
-4.285882774120979),
|
||||
("in|during the <part-of-day>until <time-of-day>",
|
||||
-4.360973225476049),
|
||||
-4.285882774120979),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.7664383335842135),
|
||||
("Aprilyear", -4.7664383335842135),
|
||||
-4.6913478822291435),
|
||||
("Aprilyear", -4.6913478822291435),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-3.8501476017100584),
|
||||
("until <time-of-day>on <date>", -4.7664383335842135),
|
||||
-3.775057150354989),
|
||||
("until <time-of-day>on <date>", -4.6913478822291435),
|
||||
("August<day-of-month> (non ordinal) <named-month>",
|
||||
-3.8501476017100584),
|
||||
("dayminute", -3.380143972464323),
|
||||
("Tuesdaythis <time>", -3.8501476017100584),
|
||||
("minuteday", -3.2623609368079394),
|
||||
("hh:mmon <date>", -3.380143972464323),
|
||||
("Wednesdaythis <time>", -3.5136753650888455),
|
||||
("<hour-of-day> <integer> (as relative minutes)July",
|
||||
-4.360973225476049),
|
||||
("absorption of , after named dayFebruary", -4.073291153024268),
|
||||
("this <part-of-day>until <time-of-day>", -4.360973225476049),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-4.360973225476049),
|
||||
("tomorrownoon", -4.7664383335842135),
|
||||
("this <time>until <time-of-day>", -4.360973225476049),
|
||||
("Mondaythis <time>", -4.360973225476049),
|
||||
("minuteyear", -4.360973225476049),
|
||||
("yearminute", -4.360973225476049)],
|
||||
n = 75}}),
|
||||
-3.775057150354989),
|
||||
("dayminute", -3.305053521109253),
|
||||
("Tuesdaythis <time>", -3.775057150354989),
|
||||
("minuteday", -3.1872704854528697),
|
||||
("hh:mmon <date>", -3.305053521109253),
|
||||
("Wednesdaythis <time>", -3.438584913733776),
|
||||
("absorption of , after named dayFebruary",
|
||||
-3.9982007016691985),
|
||||
("this <part-of-day>until <time-of-day>", -4.285882774120979),
|
||||
("tomorrownoon", -4.6913478822291435),
|
||||
("this <time>until <time-of-day>", -4.285882774120979),
|
||||
("Mondaythis <time>", -4.285882774120979)],
|
||||
n = 69}}),
|
||||
("<ordinal> <cycle> of <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
||||
@ -911,18 +902,18 @@ classifiers
|
||||
n = 4}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.941608539858445, unseen = -3.7376696182833684,
|
||||
ClassData{prior = -0.8690378470236094,
|
||||
unseen = -3.7376696182833684,
|
||||
likelihoods =
|
||||
HashMap.fromList [("integer (numeric)", -2.469261259037152e-2)],
|
||||
n = 39},
|
||||
koData =
|
||||
ClassData{prior = -0.4942963218147801,
|
||||
unseen = -4.1588830833596715,
|
||||
ClassData{prior = -0.5436154465889815, unseen = -4.04305126783455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.25131442828090605),
|
||||
("integer (0..19)", -1.5040773967762742)],
|
||||
n = 61}}),
|
||||
[("integer (numeric)", -0.2876820724517809),
|
||||
("integer (0..19)", -1.3862943611198906)],
|
||||
n = 54}}),
|
||||
("year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1431008436406733, unseen = -3.332204510175204,
|
||||
@ -1371,37 +1362,32 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6649763035932491,
|
||||
unseen = -3.9318256327243257,
|
||||
ClassData{prior = -0.5436154465889815,
|
||||
unseen = -3.8501476017100584,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("minuteminute", -1.2729656758128873),
|
||||
("hh:mmhh:mm", -1.2729656758128873),
|
||||
("dayday", -2.120263536200091),
|
||||
[("minuteminute", -1.1895840668738362),
|
||||
("hh:mmhh:mm", -1.1895840668738362),
|
||||
("dayday", -2.03688192726104),
|
||||
("<day-of-month> (non ordinal) <named-month><day-of-month> (non ordinal) <named-month>",
|
||||
-2.120263536200091)],
|
||||
-2.03688192726104)],
|
||||
n = 18},
|
||||
koData =
|
||||
ClassData{prior = -0.7221347174331976, unseen = -3.891820298110627,
|
||||
ClassData{prior = -0.8690378470236094,
|
||||
unseen = -3.6109179126442243,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("July<day-of-month> (non ordinal) <named-month>",
|
||||
-3.1780538303479458),
|
||||
("monthday", -2.0794415416798357),
|
||||
("minuteminute", -1.9252908618525775),
|
||||
("hh:mmhh:mm", -3.1780538303479458),
|
||||
("dayyear", -2.772588722239781),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-2.772588722239781),
|
||||
("hh:mmintersect", -2.0794415416798357),
|
||||
-2.890371757896165),
|
||||
("monthday", -1.791759469228055),
|
||||
("minuteminute", -1.6376087894007967),
|
||||
("hh:mmhh:mm", -2.890371757896165),
|
||||
("dayyear", -2.4849066497880004),
|
||||
("hh:mmintersect", -1.791759469228055),
|
||||
("August<day-of-month> (non ordinal) <named-month>",
|
||||
-2.2617630984737906),
|
||||
("dd/mmyear", -2.772588722239781),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-2.772588722239781),
|
||||
("minuteyear", -2.772588722239781),
|
||||
("yearminute", -2.772588722239781)],
|
||||
n = 17}}),
|
||||
-1.9740810260220096),
|
||||
("dd/mmyear", -2.4849066497880004)],
|
||||
n = 13}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3978952727983707,
|
||||
@ -1635,17 +1621,6 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 7}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.3217558399823195, unseen = -3.871201010907891,
|
||||
|
@ -391,290 +391,287 @@ classifiers
|
||||
n = 1}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.26452876747706405,
|
||||
unseen = -6.928537818164665,
|
||||
ClassData{prior = -0.26272534047791335,
|
||||
unseen = -6.927557906278317,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Samstag<time-of-day> o'clock", -6.234410725718371),
|
||||
("hourday", -4.981647757223003),
|
||||
("<datetime> - <datetime> (interval)year", -4.981647757223003),
|
||||
("dayhour", -2.570849079588725),
|
||||
("daymonth", -3.166357790584754),
|
||||
[("Samstag<time-of-day> o'clock", -6.23342985266278),
|
||||
("hourday", -4.9806668841674115),
|
||||
("<datetime> - <datetime> (interval)year", -4.9806668841674115),
|
||||
("dayhour", -2.5698682065331333),
|
||||
("daymonth", -3.1653769175291626),
|
||||
("<day-of-month>(ordinal) <named-month> year<time-of-day> o'clock",
|
||||
-6.234410725718371),
|
||||
("monthyear", -4.529662633479946),
|
||||
("yearhour", -6.234410725718371),
|
||||
("Juliintersect", -6.234410725718371),
|
||||
("intersect<time-of-day> o'clock", -4.0943445622221),
|
||||
("christmasyear", -6.234410725718371),
|
||||
("after lunchat <time-of-day>", -6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("monthyear", -4.528681760424354),
|
||||
("yearhour", -6.23342985266278),
|
||||
("Juliintersect", -6.23342985266278),
|
||||
("intersect<time-of-day> o'clock", -4.093363689166509),
|
||||
("christmasyear", -6.23342985266278),
|
||||
("after lunchat <time-of-day>", -6.23342985266278),
|
||||
("absorption of , after named daymm/dd/yyyy",
|
||||
-6.234410725718371),
|
||||
("intersectJuli", -5.541263545158426),
|
||||
("<day-of-month> (ordinal)Dienstag", -6.234410725718371),
|
||||
("intersect by 'of', 'from', 'syear", -5.8289456176102075),
|
||||
("<time-of-day> am|pmintersect", -5.135798437050262),
|
||||
("<day-of-month> (ordinal)September", -5.8289456176102075),
|
||||
("intersect<time> <part-of-day>", -4.154969184038536),
|
||||
("<time-of-day> o'clockafter lunch", -5.541263545158426),
|
||||
("<day-of-month> (ordinal)Mittwoch", -6.234410725718371),
|
||||
("Montagthis <cycle>", -6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("intersectJuli", -5.540282672102834),
|
||||
("<day-of-month> (ordinal)Dienstag", -6.23342985266278),
|
||||
("intersect by 'of', 'from', 'syear", -5.827964744554615),
|
||||
("<time-of-day> am|pmintersect", -5.13481756399467),
|
||||
("<day-of-month> (ordinal)September", -5.827964744554615),
|
||||
("intersect<time> <part-of-day>", -4.153988310982943),
|
||||
("<time-of-day> o'clockafter lunch", -5.540282672102834),
|
||||
("<day-of-month> (ordinal)Mittwoch", -6.23342985266278),
|
||||
("Montagthis <cycle>", -6.23342985266278),
|
||||
("<time> <part-of-day><time-of-day> o'clock",
|
||||
-6.234410725718371),
|
||||
("Oktoberyear", -5.135798437050262),
|
||||
("today<time-of-day> o'clock", -6.234410725718371),
|
||||
("<time-of-day> o'clockon <date>", -5.8289456176102075),
|
||||
("<time-of-day> am|pmintersect by ','", -5.541263545158426),
|
||||
("intersect by ','year", -5.135798437050262),
|
||||
("on <date><time-of-day> o'clock", -6.234410725718371),
|
||||
("exactly <time-of-day>tomorrow", -5.8289456176102075),
|
||||
("mm/dd<time-of-day> o'clock", -6.234410725718371),
|
||||
("monthhour", -5.8289456176102075),
|
||||
-6.23342985266278),
|
||||
("Oktoberyear", -5.13481756399467),
|
||||
("today<time-of-day> o'clock", -6.23342985266278),
|
||||
("<time-of-day> o'clockon <date>", -5.827964744554615),
|
||||
("<time-of-day> am|pmintersect by ','", -5.540282672102834),
|
||||
("intersect by ','year", -5.13481756399467),
|
||||
("on <date><time-of-day> o'clock", -6.23342985266278),
|
||||
("exactly <time-of-day>tomorrow", -5.827964744554615),
|
||||
("mm/dd<time-of-day> o'clock", -6.23342985266278),
|
||||
("monthhour", -5.827964744554615),
|
||||
("on <date>between <datetime> and <datetime> (interval)",
|
||||
-6.234410725718371),
|
||||
("last <day-of-week> of <time>year", -6.234410725718371),
|
||||
("hourmonth", -5.8289456176102075),
|
||||
("todayat <time-of-day>", -5.541263545158426),
|
||||
("mm/ddabout <time-of-day>", -5.8289456176102075),
|
||||
-6.23342985266278),
|
||||
("last <day-of-week> of <time>year", -6.23342985266278),
|
||||
("hourmonth", -5.827964744554615),
|
||||
("todayat <time-of-day>", -5.540282672102834),
|
||||
("mm/ddabout <time-of-day>", -5.827964744554615),
|
||||
("Donnerstagfrom <datetime> - <datetime> (interval)",
|
||||
-5.8289456176102075),
|
||||
-5.827964744554615),
|
||||
("on <date>between <time-of-day> and <time-of-day> (interval)",
|
||||
-6.234410725718371),
|
||||
("on <date>at <time-of-day>", -5.8289456176102075),
|
||||
("dayday", -3.056356895370426),
|
||||
("<time> <part-of-day>at <time-of-day>", -5.8289456176102075),
|
||||
-6.23342985266278),
|
||||
("on <date>at <time-of-day>", -5.827964744554615),
|
||||
("dayday", -3.055376022314834),
|
||||
("<time> <part-of-day>at <time-of-day>", -5.827964744554615),
|
||||
("<time-of-day> am|pmabsorption of , after named day",
|
||||
-6.234410725718371),
|
||||
("about <time-of-day>on <date>", -6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("about <time-of-day>on <date>", -6.23342985266278),
|
||||
("<hour-of-day> <integer> (as relative minutes)in|during the <part-of-day>",
|
||||
-5.8289456176102075),
|
||||
("<day-of-month> (ordinal)intersect", -5.135798437050262),
|
||||
("hourhour", -3.708682081410116),
|
||||
("hh:mmintersect by ','", -4.981647757223003),
|
||||
-5.827964744554615),
|
||||
("<day-of-month> (ordinal)intersect", -5.13481756399467),
|
||||
("hourhour", -3.707701208354524),
|
||||
("hh:mmintersect by ','", -4.9806668841674115),
|
||||
("Donnerstagfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-5.541263545158426),
|
||||
("Dienstagthis <cycle>", -6.234410725718371),
|
||||
("<part-of-day> of <time>Februar", -5.8289456176102075),
|
||||
("dayyear", -3.3166399936340922),
|
||||
("Mittwochthis <cycle>", -6.234410725718371),
|
||||
-5.540282672102834),
|
||||
("Dienstagthis <cycle>", -6.23342985266278),
|
||||
("<part-of-day> of <time>Februar", -5.827964744554615),
|
||||
("dayyear", -3.3156591205785),
|
||||
("Mittwochthis <cycle>", -6.23342985266278),
|
||||
("<time-of-day> o'clockin|during the <part-of-day>",
|
||||
-5.135798437050262),
|
||||
("tomorrow<time-of-day> o'clock", -6.234410725718371),
|
||||
("<time-of-day> o'clocktomorrow", -5.541263545158426),
|
||||
-5.13481756399467),
|
||||
("tomorrow<time-of-day> o'clock", -6.23342985266278),
|
||||
("<time-of-day> o'clocktomorrow", -5.540282672102834),
|
||||
("<day-of-month>(ordinal) <named-month>year",
|
||||
-5.8289456176102075),
|
||||
-5.827964744554615),
|
||||
("half <integer> (german style hour-of-day)after lunch",
|
||||
-6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("absorption of , after named day<day-of-month>(ordinal) <named-month>",
|
||||
-4.981647757223003),
|
||||
("hourminute", -5.541263545158426),
|
||||
("the <day-of-month> (ordinal)Juli", -6.234410725718371),
|
||||
-4.9806668841674115),
|
||||
("hourminute", -5.540282672102834),
|
||||
("the <day-of-month> (ordinal)Juli", -6.23342985266278),
|
||||
("on <date><day-of-month>(ordinal) <named-month>",
|
||||
-5.8289456176102075),
|
||||
("minutemonth", -3.560262076291843),
|
||||
("minutehour", -3.9831189271118763),
|
||||
-5.827964744554615),
|
||||
("minutemonth", -3.559281203236251),
|
||||
("minutehour", -3.9821380540562843),
|
||||
("at <time-of-day>in|during the <part-of-day>",
|
||||
-5.318119993844216),
|
||||
-5.3171391207886245),
|
||||
("absorption of , after named day<day-of-month>(ordinal) <named-month> year",
|
||||
-5.8289456176102075),
|
||||
-5.827964744554615),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-5.135798437050262),
|
||||
-5.13481756399467),
|
||||
("<day-of-month>(ordinal) <named-month> year<time> <part-of-day>",
|
||||
-6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("<hour-of-day> <integer> (as relative minutes)after lunch",
|
||||
-6.234410725718371),
|
||||
("Donnerstag<time> timezone", -6.234410725718371),
|
||||
("Samstagat <time-of-day>", -5.8289456176102075),
|
||||
("<time-of-day> am|pmSamstag", -6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("Donnerstag<time> timezone", -6.23342985266278),
|
||||
("Samstagat <time-of-day>", -5.827964744554615),
|
||||
("<time-of-day> am|pmSamstag", -6.23342985266278),
|
||||
("intersect<day-of-month>(ordinal) <named-month>",
|
||||
-4.848116364598481),
|
||||
("this <part-of-day><time-of-day> o'clock",
|
||||
-6.234410725718371),
|
||||
-4.847135491542889),
|
||||
("this <part-of-day><time-of-day> o'clock", -6.23342985266278),
|
||||
("<day-of-month>(ordinal) <named-month>intersect",
|
||||
-6.234410725718371),
|
||||
("hh:mmintersect", -3.792063690349167),
|
||||
("Donnerstaghh:mm", -6.234410725718371),
|
||||
("<day-of-month> (ordinal)Juli", -5.541263545158426),
|
||||
("intersect by ','intersect", -4.981647757223003),
|
||||
("intersect by 'of', 'from', 'sJuli", -6.234410725718371),
|
||||
("<day-of-month> (ordinal)Oktober", -6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("hh:mmintersect", -3.7910828172935753),
|
||||
("Donnerstaghh:mm", -6.23342985266278),
|
||||
("<day-of-month> (ordinal)Juli", -5.540282672102834),
|
||||
("intersect by ','intersect", -4.9806668841674115),
|
||||
("intersect by 'of', 'from', 'sJuli", -6.23342985266278),
|
||||
("<day-of-month> (ordinal)Oktober", -6.23342985266278),
|
||||
("half <integer> (german style hour-of-day)in|during the <part-of-day>",
|
||||
-5.8289456176102075),
|
||||
-5.827964744554615),
|
||||
("from <datetime> - <datetime> (interval)year",
|
||||
-5.541263545158426),
|
||||
("at <time-of-day>intersect", -4.442651256490317),
|
||||
-5.540282672102834),
|
||||
("at <time-of-day>intersect", -4.441670383434724),
|
||||
("on <date>from <time-of-day> - <time-of-day> (interval)",
|
||||
-5.8289456176102075),
|
||||
-5.827964744554615),
|
||||
("<time> <part-of-day>from <time-of-day> - <time-of-day> (interval)",
|
||||
-6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("absorption of , after named day<day-of-month> (ordinal)",
|
||||
-4.981647757223003),
|
||||
-4.9806668841674115),
|
||||
("Donnerstagbetween <time-of-day> and <time-of-day> (interval)",
|
||||
-6.234410725718371),
|
||||
("dayminute", -4.037186148382152),
|
||||
-6.23342985266278),
|
||||
("dayminute", -4.03620527532656),
|
||||
("on <date>from <datetime> - <datetime> (interval)",
|
||||
-6.234410725718371),
|
||||
("Mittwochnext <cycle>", -6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("Mittwochnext <cycle>", -6.23342985266278),
|
||||
("Donnerstagbetween <datetime> and <datetime> (interval)",
|
||||
-6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("<time> <part-of-day>from <datetime> - <datetime> (interval)",
|
||||
-6.234410725718371),
|
||||
("intersectyear", -4.442651256490317),
|
||||
("on <date>intersect", -5.8289456176102075),
|
||||
("on <date><day-of-month> (ordinal)", -5.8289456176102075),
|
||||
("intersectSeptember", -3.4935707017931708),
|
||||
("<ordinal> <cycle> of <time>year", -6.234410725718371),
|
||||
("minuteday", -2.2547290718164104),
|
||||
-6.23342985266278),
|
||||
("intersectyear", -4.441670383434724),
|
||||
("on <date>intersect", -5.827964744554615),
|
||||
("on <date><day-of-month> (ordinal)", -5.827964744554615),
|
||||
("intersectSeptember", -3.4925898287375787),
|
||||
("<ordinal> <cycle> of <time>year", -6.23342985266278),
|
||||
("minuteday", -2.2537481987608188),
|
||||
("absorption of , after named dayintersect",
|
||||
-3.836515452920001),
|
||||
("intersect by ','September", -4.7303333289420975),
|
||||
("year<time-of-day> o'clock", -6.234410725718371),
|
||||
("Juliyear", -5.8289456176102075),
|
||||
("at <time-of-day>intersect by ','", -5.541263545158426),
|
||||
("hh:mmabsorption of , after named day", -5.8289456176102075),
|
||||
("intersect by ','<time> <part-of-day>", -5.318119993844216),
|
||||
("hh:mmon <date>", -3.792063690349167),
|
||||
-3.835534579864409),
|
||||
("intersect by ','September", -4.729352455886505),
|
||||
("year<time-of-day> o'clock", -6.23342985266278),
|
||||
("Juliyear", -5.827964744554615),
|
||||
("at <time-of-day>intersect by ','", -5.540282672102834),
|
||||
("hh:mmabsorption of , after named day", -5.827964744554615),
|
||||
("intersect by ','<time> <part-of-day>", -5.3171391207886245),
|
||||
("hh:mmon <date>", -3.7910828172935753),
|
||||
("at <time-of-day>absorption of , after named day",
|
||||
-6.234410725718371),
|
||||
("until <time-of-day>after lunch", -6.234410725718371),
|
||||
("mm/ddyear", -5.8289456176102075),
|
||||
("intersect by ','<time-of-day> o'clock", -5.318119993844216),
|
||||
("intersect<day-of-month> (ordinal)", -4.848116364598481),
|
||||
("absorption of , after named daymm/dd", -6.234410725718371),
|
||||
("on <date>September", -5.318119993844216),
|
||||
("Septemberyear", -5.8289456176102075),
|
||||
-6.23342985266278),
|
||||
("until <time-of-day>after lunch", -6.23342985266278),
|
||||
("mm/ddyear", -5.827964744554615),
|
||||
("intersect by ','<time-of-day> o'clock", -5.3171391207886245),
|
||||
("intersect<day-of-month> (ordinal)", -4.847135491542889),
|
||||
("absorption of , after named daymm/dd", -6.23342985266278),
|
||||
("on <date>September", -5.3171391207886245),
|
||||
("Septemberyear", -5.827964744554615),
|
||||
("<day-of-month> (ordinal)intersect by 'of', 'from', 's",
|
||||
-5.541263545158426),
|
||||
("at <time-of-day>on <date>", -4.36260854881678),
|
||||
("intersectintersect", -4.0943445622221),
|
||||
("<day-of-month> (ordinal)Februar", -5.135798437050262),
|
||||
("dayweek", -5.135798437050262),
|
||||
("intersect by ','Juli", -5.541263545158426),
|
||||
-5.540282672102834),
|
||||
("at <time-of-day>on <date>", -4.361627675761188),
|
||||
("intersectintersect", -4.093363689166509),
|
||||
("<day-of-month> (ordinal)Februar", -5.13481756399467),
|
||||
("dayweek", -5.13481756399467),
|
||||
("intersect by ','Juli", -5.540282672102834),
|
||||
("absorption of , after named daythe <day-of-month> (ordinal)",
|
||||
-6.234410725718371),
|
||||
("weekyear", -5.8289456176102075),
|
||||
("hh:mmin|during the <part-of-day>", -5.318119993844216),
|
||||
("Marzyear", -6.234410725718371),
|
||||
("tomorrowat <time-of-day>", -5.8289456176102075),
|
||||
-6.23342985266278),
|
||||
("weekyear", -5.827964744554615),
|
||||
("hh:mmin|during the <part-of-day>", -5.3171391207886245),
|
||||
("Marzyear", -6.23342985266278),
|
||||
("tomorrowat <time-of-day>", -5.827964744554615),
|
||||
("<hour-of-day> <integer> (as relative minutes)on <date>",
|
||||
-6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("Donnerstag<time-of-day> - <time-of-day> (interval)",
|
||||
-6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("Donnerstag<datetime> - <datetime> (interval)",
|
||||
-6.234410725718371),
|
||||
("Sonntaglast <cycle>", -6.234410725718371),
|
||||
("at <time-of-day>tomorrow", -6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("Sonntaglast <cycle>", -6.23342985266278),
|
||||
("at <time-of-day>tomorrow", -6.23342985266278),
|
||||
("about <time-of-day>in|during the <part-of-day>",
|
||||
-5.8289456176102075),
|
||||
-5.827964744554615),
|
||||
("half <integer> (german style hour-of-day)on <date>",
|
||||
-6.234410725718371),
|
||||
("this <part-of-day>at <time-of-day>", -5.8289456176102075),
|
||||
("<datetime> - <datetime> (interval)Juli", -5.8289456176102075),
|
||||
-6.23342985266278),
|
||||
("this <part-of-day>at <time-of-day>", -5.827964744554615),
|
||||
("<datetime> - <datetime> (interval)Juli", -5.827964744554615),
|
||||
("after lunch<hour-of-day> <integer> (as relative minutes)",
|
||||
-5.8289456176102075),
|
||||
("<day-of-month> (ordinal)Marz", -6.234410725718371),
|
||||
("last <cycle> of <time>year", -5.8289456176102075),
|
||||
-5.827964744554615),
|
||||
("<day-of-month> (ordinal)Marz", -6.23342985266278),
|
||||
("last <cycle> of <time>year", -5.827964744554615),
|
||||
("<named-month> <day-of-month> (non ordinal)year",
|
||||
-6.234410725718371),
|
||||
-6.23342985266278),
|
||||
("<day-of-month> (non ordinal) <named-month>year",
|
||||
-6.234410725718371)],
|
||||
-6.23342985266278)],
|
||||
n = 426},
|
||||
koData =
|
||||
ClassData{prior = -1.4591557093847622, unseen = -6.056784013228625,
|
||||
ClassData{prior = -1.4651344228276666, unseen = -6.049733455231958,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Juli<day-of-month> (non ordinal) <named-month>",
|
||||
-5.3612921657094255),
|
||||
-5.354224998486333),
|
||||
("absorption of , after named daythe <day-of-month> (non ordinal)",
|
||||
-5.3612921657094255),
|
||||
("<datetime> - <datetime> (interval)year", -5.3612921657094255),
|
||||
("dayhour", -4.66814498514948),
|
||||
-5.354224998486333),
|
||||
("<datetime> - <datetime> (interval)year", -5.354224998486333),
|
||||
("dayhour", -4.661077817926388),
|
||||
("<named-month> <day-of-month> (non ordinal)Juli",
|
||||
-5.3612921657094255),
|
||||
("daymonth", -3.4894899888078337),
|
||||
("monthday", -4.955827057601261),
|
||||
("monthyear", -5.3612921657094255),
|
||||
("yearhour", -5.3612921657094255),
|
||||
("after lunchat <time-of-day>", -4.955827057601261),
|
||||
("mm/dduntil <time-of-day>", -4.955827057601261),
|
||||
("until <time-of-day>year", -4.955827057601261),
|
||||
("<day-of-month> (ordinal)Dienstag", -4.955827057601261),
|
||||
("absorption of , after named dayFebruar", -4.2626798770413155),
|
||||
("on <date>Februar", -5.3612921657094255),
|
||||
("intersect by 'of', 'from', 'syear", -4.66814498514948),
|
||||
("<time-of-day> am|pmintersect", -3.6565440734709997),
|
||||
("intersect<time> <part-of-day>", -5.3612921657094255),
|
||||
("<time-of-day> o'clockafter lunch", -5.3612921657094255),
|
||||
("<day-of-month> (ordinal)Mittwoch", -5.3612921657094255),
|
||||
("after lunch<time-of-day> o'clock", -5.3612921657094255),
|
||||
("absorption of , after named dayhh:mm", -5.3612921657094255),
|
||||
("<time-of-day> am|pmintersect by ','", -4.108529197214057),
|
||||
-5.354224998486333),
|
||||
("daymonth", -3.4824228215847413),
|
||||
("monthday", -4.948759890378168),
|
||||
("monthyear", -5.354224998486333),
|
||||
("yearhour", -5.354224998486333),
|
||||
("after lunchat <time-of-day>", -4.948759890378168),
|
||||
("mm/dduntil <time-of-day>", -4.948759890378168),
|
||||
("until <time-of-day>year", -4.948759890378168),
|
||||
("<day-of-month> (ordinal)Dienstag", -4.948759890378168),
|
||||
("absorption of , after named dayFebruar", -4.255612709818223),
|
||||
("on <date>Februar", -5.354224998486333),
|
||||
("intersect by 'of', 'from', 'syear", -4.661077817926388),
|
||||
("<time-of-day> am|pmintersect", -3.6494769062479073),
|
||||
("intersect<time> <part-of-day>", -5.354224998486333),
|
||||
("<time-of-day> o'clockafter lunch", -5.354224998486333),
|
||||
("<day-of-month> (ordinal)Mittwoch", -5.354224998486333),
|
||||
("after lunch<time-of-day> o'clock", -5.354224998486333),
|
||||
("absorption of , after named dayhh:mm", -5.354224998486333),
|
||||
("<time-of-day> am|pmintersect by ','", -4.101462029990965),
|
||||
("<time-of-day> o'clock<time> <part-of-day>",
|
||||
-4.44500143383527),
|
||||
("<time-of-day> am|pmFreitag", -4.955827057601261),
|
||||
("mm/ddhh:mm", -4.44500143383527),
|
||||
("monthhour", -5.3612921657094255),
|
||||
-4.437934266612178),
|
||||
("<time-of-day> am|pmFreitag", -4.948759890378168),
|
||||
("mm/ddhh:mm", -4.437934266612178),
|
||||
("monthhour", -5.354224998486333),
|
||||
("on <date>between <datetime> and <datetime> (interval)",
|
||||
-5.3612921657094255),
|
||||
("todayat <time-of-day>", -5.3612921657094255),
|
||||
-5.354224998486333),
|
||||
("todayat <time-of-day>", -5.354224998486333),
|
||||
("Donnerstagfrom <datetime> - <datetime> (interval)",
|
||||
-4.955827057601261),
|
||||
-4.948759890378168),
|
||||
("on <date>between <time-of-day> and <time-of-day> (interval)",
|
||||
-5.3612921657094255),
|
||||
("dayday", -3.9749978045895347),
|
||||
-5.354224998486333),
|
||||
("dayday", -3.9679306373664422),
|
||||
("<time-of-day> am|pmabsorption of , after named day",
|
||||
-4.955827057601261),
|
||||
("hourhour", -3.857214768933151),
|
||||
-4.948759890378168),
|
||||
("hourhour", -3.8501476017100584),
|
||||
("Donnerstagfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.66814498514948),
|
||||
("Donnerstagafter <time-of-day>", -5.3612921657094255),
|
||||
("dayyear", -3.2818506240295893),
|
||||
("minutemonth", -3.4153820166541116),
|
||||
("Aprilyear", -5.3612921657094255),
|
||||
("Dienstagafter <time-of-day>", -5.3612921657094255),
|
||||
-4.661077817926388),
|
||||
("Donnerstagafter <time-of-day>", -5.354224998486333),
|
||||
("dayyear", -3.274783456806497),
|
||||
("minutemonth", -3.4824228215847413),
|
||||
("Aprilyear", -5.354224998486333),
|
||||
("Dienstagafter <time-of-day>", -5.354224998486333),
|
||||
("intersect<day-of-month>(ordinal) <named-month>",
|
||||
-4.66814498514948),
|
||||
("Donnerstaghh:mm", -5.3612921657094255),
|
||||
("<day-of-month> (ordinal)Juli", -4.955827057601261),
|
||||
("<day-of-month> (ordinal)hh:mm", -4.44500143383527),
|
||||
-4.661077817926388),
|
||||
("Donnerstaghh:mm", -5.354224998486333),
|
||||
("<day-of-month> (ordinal)Juli", -4.948759890378168),
|
||||
("<day-of-month> (ordinal)hh:mm", -4.437934266612178),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-5.3612921657094255),
|
||||
-5.354224998486333),
|
||||
("August<day-of-month> (non ordinal) <named-month>",
|
||||
-5.3612921657094255),
|
||||
("at <time-of-day>intersect", -4.2626798770413155),
|
||||
-5.354224998486333),
|
||||
("at <time-of-day>intersect", -4.255612709818223),
|
||||
("on <date>from <time-of-day> - <time-of-day> (interval)",
|
||||
-4.955827057601261),
|
||||
-4.948759890378168),
|
||||
("Donnerstagbetween <time-of-day> and <time-of-day> (interval)",
|
||||
-5.3612921657094255),
|
||||
("dayminute", -2.7222348360941666),
|
||||
-5.354224998486333),
|
||||
("dayminute", -2.715167668871074),
|
||||
("on <date>from <datetime> - <datetime> (interval)",
|
||||
-5.3612921657094255),
|
||||
-5.354224998486333),
|
||||
("Donnerstagbetween <datetime> and <datetime> (interval)",
|
||||
-5.3612921657094255),
|
||||
("until <time-of-day>Juli", -5.3612921657094255),
|
||||
("intersectSeptember", -3.751854253275325),
|
||||
("minuteday", -2.365559892155434),
|
||||
("intersect by ','September", -4.66814498514948),
|
||||
("at <time-of-day>intersect by ','", -4.66814498514948),
|
||||
("at <time-of-day>Freitag", -5.3612921657094255),
|
||||
-5.354224998486333),
|
||||
("until <time-of-day>Juli", -5.354224998486333),
|
||||
("intersectSeptember", -3.744787086052232),
|
||||
("minuteday", -2.3584927249323417),
|
||||
("intersect by ','September", -4.661077817926388),
|
||||
("at <time-of-day>intersect by ','", -4.661077817926388),
|
||||
("at <time-of-day>Freitag", -5.354224998486333),
|
||||
("at <time-of-day>absorption of , after named day",
|
||||
-5.3612921657094255),
|
||||
("year<time> <part-of-day>", -5.3612921657094255),
|
||||
("mm/ddyear", -3.857214768933151),
|
||||
("intersect<day-of-month> (ordinal)", -4.66814498514948),
|
||||
-5.354224998486333),
|
||||
("year<time> <part-of-day>", -5.354224998486333),
|
||||
("mm/ddyear", -3.8501476017100584),
|
||||
("intersect<day-of-month> (ordinal)", -4.661077817926388),
|
||||
("<day-of-month> (ordinal)intersect by 'of', 'from', 's",
|
||||
-4.955827057601261),
|
||||
("intersectintersect", -4.66814498514948),
|
||||
("Donnerstag<part-of-day> of <time>", -5.3612921657094255),
|
||||
("<day-of-month> (ordinal)April", -5.3612921657094255),
|
||||
("<hour-of-day> <integer> (as relative minutes)Juli",
|
||||
-5.3612921657094255),
|
||||
-4.948759890378168),
|
||||
("intersectintersect", -4.661077817926388),
|
||||
("Donnerstag<part-of-day> of <time>", -5.354224998486333),
|
||||
("<day-of-month> (ordinal)April", -5.354224998486333),
|
||||
("Donnerstag<time-of-day> - <time-of-day> (interval)",
|
||||
-5.3612921657094255),
|
||||
("after <time-of-day>year", -5.3612921657094255),
|
||||
("on <date>after <time-of-day>", -5.3612921657094255),
|
||||
("tomorrownoon", -5.3612921657094255)],
|
||||
n = 129}}),
|
||||
-5.354224998486333),
|
||||
("after <time-of-day>year", -5.354224998486333),
|
||||
("on <date>after <time-of-day>", -5.354224998486333),
|
||||
("tomorrownoon", -5.354224998486333)],
|
||||
n = 128}}),
|
||||
("<ordinal> <cycle> of <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
||||
@ -1118,7 +1115,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5679840376059393,
|
||||
ClassData{prior = -0.5455111817538806,
|
||||
unseen = -3.9889840465642745,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -1126,13 +1123,12 @@ classifiers
|
||||
("integer (0..19)", -2.3608540011180215)],
|
||||
n = 51},
|
||||
koData =
|
||||
ClassData{prior = -0.8362480242006186,
|
||||
unseen = -3.7376696182833684,
|
||||
ClassData{prior = -0.866418901833982, unseen = -3.6888794541139363,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.27958486221916157),
|
||||
("integer (0..19)", -1.410986973710262)],
|
||||
n = 39}}),
|
||||
[("integer (numeric)", -0.262364264467491),
|
||||
("integer (0..19)", -1.466337068793427)],
|
||||
n = 37}}),
|
||||
("year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -8.338160893905101e-2,
|
||||
@ -2016,22 +2012,17 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -2.772588722239781,
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -0.916290731874155),
|
||||
("at <time-of-day>integer (numeric)", -2.0149030205422647),
|
||||
[("hour", -0.7731898882334817),
|
||||
("at <time-of-day>integer (numeric)", -1.8718021769015913),
|
||||
("<time-of-day> o'clockinteger (numeric)",
|
||||
-1.0986122886681098)],
|
||||
-0.9555114450274363)],
|
||||
n = 5},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (0..19)", -2.0149030205422647),
|
||||
("time-of-day (latent)integer (numeric)", -1.0986122886681098),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
|
@ -60,10 +60,10 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.7801585575495751, unseen = -5.181783550292085,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 176},
|
||||
ClassData{prior = -0.7740538191727457, unseen = -5.19295685089021,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 178},
|
||||
koData =
|
||||
ClassData{prior = -0.6131044728864089,
|
||||
ClassData{prior = -0.6182992897635128,
|
||||
unseen = -5.3471075307174685,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 208}}),
|
||||
("<duration> hence|ago",
|
||||
@ -133,8 +133,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (20..90)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
@ -248,24 +248,25 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 19}}),
|
||||
("at <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10919929196499197,
|
||||
unseen = -4.7535901911063645,
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
unseen = -4.787491742782046,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("noon|midnight|EOD|end of day", -3.6463198396951406),
|
||||
("integer after|past <hour-of-day>", -3.6463198396951406),
|
||||
("half after|past <hour-of-day>", -4.051784947803305),
|
||||
("time-of-day (latent)", -1.8004931491968097),
|
||||
("hhmm (latent)", -3.3586377672433594),
|
||||
("<time-of-day> am|pm", -1.749199854809259),
|
||||
("hh:mm", -3.1354942159291497),
|
||||
("about|exactly <time-of-day>", -3.6463198396951406),
|
||||
("hour", -1.16141318990714),
|
||||
("<time-of-day> sharp|exactly", -4.051784947803305),
|
||||
("minute", -1.8545603704670852)],
|
||||
n = 52},
|
||||
[("noon|midnight|EOD|end of day", -3.6805112044434196),
|
||||
("integer after|past <hour-of-day>", -3.6805112044434196),
|
||||
("half after|past <hour-of-day>", -4.085976312551584),
|
||||
("time-of-day (latent)", -1.7346010553881064),
|
||||
("hhmm (latent)", -3.392829131991639),
|
||||
("<time-of-day> am|pm", -1.7833912195575383),
|
||||
("hh:mm", -3.169685580677429),
|
||||
("about|exactly <time-of-day>", -3.6805112044434196),
|
||||
("hour", -1.1415373333851437),
|
||||
("<time-of-day> sharp|exactly", -4.085976312551584),
|
||||
("minute", -1.8887517352153647)],
|
||||
n = 54},
|
||||
koData =
|
||||
ClassData{prior = -2.268683541318364, unseen = -3.1780538303479458,
|
||||
ClassData{prior = -2.3025850929940455,
|
||||
unseen = -3.1780538303479458,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.1895840668738362),
|
||||
@ -343,11 +344,12 @@ classifiers
|
||||
n = 4}}),
|
||||
("integer (0..19)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -2.469261259037152e-2,
|
||||
unseen = -3.7376696182833684,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 40},
|
||||
ClassData{prior = -2.409755157906053e-2,
|
||||
unseen = -3.7612001156935624,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 41},
|
||||
koData =
|
||||
ClassData{prior = -3.713572066704308, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -3.7376696182833684,
|
||||
unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("between <time-of-day> and <time-of-day> (interval)",
|
||||
Classifier{okData =
|
||||
@ -532,13 +534,15 @@ classifiers
|
||||
n = 3}}),
|
||||
("one twenty two",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods =
|
||||
HashMap.fromList [("integer (numeric)integer (numeric)", 0.0)],
|
||||
n = 3}}),
|
||||
HashMap.fromList
|
||||
[("integer (numeric)integer (numeric)", -0.3364722366212129),
|
||||
("integer (0..19)integer (20..90)", -1.252762968495368)],
|
||||
n = 5}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4634795031687923, unseen = -6.169610732491456,
|
||||
@ -1021,15 +1025,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("at <time-of-day>integer (20..90)", -1.3862943611198906),
|
||||
("hour", -0.9808292530117262),
|
||||
("at <time-of-day>integer (numeric)", -1.3862943611198906)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("about|exactly <time-of-day>integer (numeric)",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
-1.0986122886681098),
|
||||
("hour", -1.0986122886681098)],
|
||||
n = 1}}),
|
||||
("nth <time> of <time>",
|
||||
Classifier{okData =
|
||||
@ -1348,14 +1359,14 @@ classifiers
|
||||
n = 1}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5500463369192721, unseen = -4.143134726391533,
|
||||
ClassData{prior = -0.5363047090669756, unseen = -4.174387269895637,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.10178269430994236),
|
||||
("integer (0..19)", -2.3353749158170367)],
|
||||
n = 60},
|
||||
[("integer (numeric)", -0.1158318155251217),
|
||||
("integer (0..19)", -2.2129729343043585)],
|
||||
n = 62},
|
||||
koData =
|
||||
ClassData{prior = -0.8602012652231115,
|
||||
ClassData{prior = -0.8792494601938059,
|
||||
unseen = -3.8501476017100584,
|
||||
likelihoods =
|
||||
HashMap.fromList [("integer (numeric)", -2.197890671877523e-2)],
|
||||
|
@ -95,69 +95,64 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect by `de`",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.16362942378180204,
|
||||
unseen = -4.890349128221754,
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
unseen = -4.859812404361672,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Miercoleseste|en un <cycle>", -4.189654742026425),
|
||||
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
|
||||
("el <day-of-month> (non ordinal)intersect by `de`",
|
||||
-3.784189633918261),
|
||||
("daymonth", -1.8382794848629478),
|
||||
("monthyear", -3.784189633918261),
|
||||
("el <day-of-month> (non ordinal)Abril", -4.189654742026425),
|
||||
("Marteseste|en un <cycle>", -4.189654742026425),
|
||||
("Miercolesel <cycle> (proximo|que viene)", -4.189654742026425),
|
||||
("el <time>Marzo", -3.784189633918261),
|
||||
-3.7534179752515073),
|
||||
("daymonth", -1.807507826196194),
|
||||
("monthyear", -3.7534179752515073),
|
||||
("el <day-of-month> (non ordinal)Abril", -4.1588830833596715),
|
||||
("Marteseste|en un <cycle>", -4.1588830833596715),
|
||||
("Miercolesel <cycle> (proximo|que viene)",
|
||||
-4.1588830833596715),
|
||||
("el <time>Marzo", -3.7534179752515073),
|
||||
("el <day-of-month> (non ordinal)Septiembre",
|
||||
-4.189654742026425),
|
||||
("Miercolesel proximo <cycle> ", -4.189654742026425),
|
||||
("Luneseste|en un <cycle>", -4.189654742026425),
|
||||
("dayyear", -2.243744592971112),
|
||||
("dd-dd <month>(interval)year", -4.189654742026425),
|
||||
("el <time>el <cycle> (proximo|que viene)", -4.189654742026425),
|
||||
("el <day-of-month> (non ordinal)Julio", -4.189654742026425),
|
||||
("el <time>year", -3.784189633918261),
|
||||
("Septiembreyear", -4.189654742026425),
|
||||
("el <time>la <cycle> pasado", -4.189654742026425),
|
||||
("day of month (1st)Marzo", -3.2733640101522705),
|
||||
("el <day-of-month> de <named-month>year", -3.784189633918261),
|
||||
("el <time>este|en un <cycle>", -3.784189633918261),
|
||||
("Mayoyear", -4.189654742026425),
|
||||
("<day-of-month> de <named-month>year", -3.784189633918261),
|
||||
("two time tokens separated by \",\"year", -3.4965075614664802),
|
||||
("el <day-of-month> (non ordinal)Febrero", -4.189654742026425),
|
||||
-4.1588830833596715),
|
||||
("Miercolesel proximo <cycle> ", -4.1588830833596715),
|
||||
("Luneseste|en un <cycle>", -4.1588830833596715),
|
||||
("dayyear", -2.2129729343043585),
|
||||
("dd-dd <month>(interval)year", -4.1588830833596715),
|
||||
("el <time>el <cycle> (proximo|que viene)",
|
||||
-4.1588830833596715),
|
||||
("el <day-of-month> (non ordinal)Julio", -4.1588830833596715),
|
||||
("el <time>year", -3.7534179752515073),
|
||||
("Septiembreyear", -4.1588830833596715),
|
||||
("el <time>la <cycle> pasado", -4.1588830833596715),
|
||||
("day of month (1st)Marzo", -3.242592351485517),
|
||||
("el <day-of-month> de <named-month>year", -3.7534179752515073),
|
||||
("el <time>este|en un <cycle>", -3.7534179752515073),
|
||||
("Mayoyear", -4.1588830833596715),
|
||||
("<day-of-month> de <named-month>year", -3.7534179752515073),
|
||||
("two time tokens separated by \",\"year", -3.4657359027997265),
|
||||
("el <day-of-month> (non ordinal)Febrero", -4.1588830833596715),
|
||||
("two time tokens separated by \",\"intersect by `de`",
|
||||
-4.189654742026425),
|
||||
("dayweek", -2.4849066497880004),
|
||||
("intersect by `de`year", -3.4965075614664802),
|
||||
("el <day-of-month> (non ordinal)Marzo", -3.4965075614664802),
|
||||
("Domingola <cycle> pasado", -4.189654742026425),
|
||||
-4.1588830833596715),
|
||||
("dayweek", -2.4541349911212467),
|
||||
("intersect by `de`year", -3.4657359027997265),
|
||||
("el <day-of-month> (non ordinal)Marzo", -3.4657359027997265),
|
||||
("Domingola <cycle> pasado", -4.1588830833596715),
|
||||
("two time tokens separated by \",\"Septiembre",
|
||||
-4.189654742026425),
|
||||
("el <day-of-month> (non ordinal)Mayo", -3.4965075614664802)],
|
||||
-4.1588830833596715),
|
||||
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
|
||||
n = 45},
|
||||
koData =
|
||||
ClassData{prior = -1.890850371872286, unseen = -4.07753744390572,
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthyear", -3.367295829986474),
|
||||
("Julioyear", -3.367295829986474),
|
||||
("hourmonth", -2.9618307218783095),
|
||||
("monthmonth", -3.367295829986474),
|
||||
("a las <time-of-day>Julio", -3.367295829986474),
|
||||
("dayyear", -3.367295829986474),
|
||||
("minutemonth", -2.9618307218783095),
|
||||
("<hour-of-day> <integer> (as relative minutes)Julio",
|
||||
-3.367295829986474),
|
||||
("<day-of-month> de <named-month>year", -3.367295829986474),
|
||||
("intersect by `de`year", -3.367295829986474),
|
||||
("a las <time-of-day>Enero", -3.367295829986474),
|
||||
("<hour-of-day> <integer> (as relative minutes)intersect by `de`",
|
||||
-3.367295829986474),
|
||||
[("monthyear", -3.1780538303479458),
|
||||
("Julioyear", -3.1780538303479458),
|
||||
("hourmonth", -2.772588722239781),
|
||||
("monthmonth", -3.1780538303479458),
|
||||
("a las <time-of-day>Julio", -3.1780538303479458),
|
||||
("dayyear", -3.1780538303479458),
|
||||
("<day-of-month> de <named-month>year", -3.1780538303479458),
|
||||
("a las <time-of-day>Enero", -3.1780538303479458),
|
||||
("de <datetime> - <datetime> (interval)Enero",
|
||||
-3.367295829986474),
|
||||
("minuteyear", -3.367295829986474)],
|
||||
n = 8}}),
|
||||
-3.1780538303479458)],
|
||||
n = 5}}),
|
||||
("n pasados <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
||||
@ -369,66 +364,62 @@ classifiers
|
||||
n = 4}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2578291093020998,
|
||||
unseen = -4.6443908991413725,
|
||||
ClassData{prior = -0.2113090936672069, unseen = -4.624972813284271,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> de <named-month>in the <part-of-day>",
|
||||
-3.9415818076696905),
|
||||
("dayhour", -1.9956716586143772),
|
||||
("Lunesin the <part-of-day>", -3.9415818076696905),
|
||||
("tomorrowin the <part-of-day>", -3.9415818076696905),
|
||||
-3.9219733362813143),
|
||||
("dayhour", -1.9760631872260008),
|
||||
("Lunesin the <part-of-day>", -3.9219733362813143),
|
||||
("tomorrowin the <part-of-day>", -3.9219733362813143),
|
||||
("el <day-of-month> de <named-month>in the <part-of-day>",
|
||||
-3.9415818076696905),
|
||||
("hourhour", -3.0252910757955354),
|
||||
-3.9219733362813143),
|
||||
("hourhour", -3.005682604407159),
|
||||
("now<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.9415818076696905),
|
||||
("dayyear", -3.0252910757955354),
|
||||
-3.9219733362813143),
|
||||
("dayyear", -3.005682604407159),
|
||||
("a las <time-of-day>in the <part-of-day>",
|
||||
-2.6888188391743224),
|
||||
("intersectin the <part-of-day>", -3.9415818076696905),
|
||||
("<named-month> <day-of-month>del <year>", -3.9415818076696905),
|
||||
("minutehour", -2.33214389523559),
|
||||
("intersect by `de`in the <part-of-day>", -3.9415818076696905),
|
||||
-2.6692103677859462),
|
||||
("intersectin the <part-of-day>", -3.9219733362813143),
|
||||
("<named-month> <day-of-month>del <year>", -3.9219733362813143),
|
||||
("minutehour", -2.312535423847214),
|
||||
("intersect by `de`in the <part-of-day>", -3.9219733362813143),
|
||||
("now<hour-of-day> and <relative minutes>",
|
||||
-3.9415818076696905),
|
||||
-3.9219733362813143),
|
||||
("<hour-of-day> and halfin the <part-of-day>",
|
||||
-3.536116699561526),
|
||||
("tomorrowa las <time-of-day>", -3.536116699561526),
|
||||
("Miercoles<time-of-day> <part-of-day>", -3.9415818076696905),
|
||||
("Miercoles<dim time> de la manana", -3.9415818076696905),
|
||||
("dayminute", -3.0252910757955354),
|
||||
("<named-month> <day-of-month>el <time>", -3.9415818076696905),
|
||||
("Miercolesa las <time-of-day>", -3.9415818076696905),
|
||||
("el <time>in the <part-of-day>", -3.9415818076696905),
|
||||
("Miercolesintersect", -3.9415818076696905),
|
||||
("dd[/-]mmyear", -3.536116699561526),
|
||||
("nowa las <time-of-day>", -3.536116699561526),
|
||||
-3.5165082281731497),
|
||||
("tomorrowa las <time-of-day>", -3.5165082281731497),
|
||||
("Miercoles<time-of-day> <part-of-day>", -3.9219733362813143),
|
||||
("Miercoles<dim time> de la manana", -3.9219733362813143),
|
||||
("dayminute", -3.005682604407159),
|
||||
("<named-month> <day-of-month>el <time>", -3.9219733362813143),
|
||||
("Miercolesa las <time-of-day>", -3.9219733362813143),
|
||||
("el <time>in the <part-of-day>", -3.9219733362813143),
|
||||
("Miercolesintersect", -3.9219733362813143),
|
||||
("dd[/-]mmyear", -3.5165082281731497),
|
||||
("nowa las <time-of-day>", -3.5165082281731497),
|
||||
("<hour-of-day> and quarterin the <part-of-day>",
|
||||
-3.0252910757955354),
|
||||
("yesterdayin the <part-of-day>", -3.9415818076696905)],
|
||||
-3.005682604407159),
|
||||
("yesterdayin the <part-of-day>", -3.9219733362813143)],
|
||||
n = 34},
|
||||
koData =
|
||||
ClassData{prior = -1.4816045409242156, unseen = -4.02535169073515,
|
||||
ClassData{prior = -1.6582280766035324, unseen = -3.912023005428146,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hourday", -3.3141860046725258),
|
||||
("dayhour", -2.6210388241125804),
|
||||
[("hourday", -3.1986731175506815),
|
||||
("dayhour", -2.505525936990736),
|
||||
("<day-of-month> de <named-month>a las <time-of-day>",
|
||||
-3.3141860046725258),
|
||||
-3.1986731175506815),
|
||||
("<time-of-day> am|pm<day-of-month> de <named-month>",
|
||||
-3.3141860046725258),
|
||||
("monthhour", -2.908720896564361),
|
||||
-3.1986731175506815),
|
||||
("monthhour", -2.793208009442517),
|
||||
("now<hour-of-day> and <relative minutes>",
|
||||
-3.3141860046725258),
|
||||
("Diciembrea las <time-of-day>", -3.3141860046725258),
|
||||
("dayminute", -2.908720896564361),
|
||||
("Febreroin the <part-of-day>", -3.3141860046725258),
|
||||
("nowa las <time-of-day>", -2.6210388241125804),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-2.908720896564361),
|
||||
("minuteyear", -2.908720896564361)],
|
||||
n = 10}}),
|
||||
-3.1986731175506815),
|
||||
("Diciembrea las <time-of-day>", -3.1986731175506815),
|
||||
("dayminute", -2.793208009442517),
|
||||
("Febreroin the <part-of-day>", -3.1986731175506815),
|
||||
("nowa las <time-of-day>", -2.505525936990736)],
|
||||
n = 8}}),
|
||||
("Miercoles",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.3978952727983707,
|
||||
@ -583,34 +574,31 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("el <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -5.406722127027582e-2,
|
||||
unseen = -4.499809670330265,
|
||||
ClassData{prior = -2.7398974188114388e-2,
|
||||
unseen = -4.477336814478207,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Martes", -3.39002408106403),
|
||||
("<named-month|named-day> past", -3.39002408106403),
|
||||
("dd[/-]mm", -3.1023420086122493),
|
||||
("intersect by `de`", -2.2914117923959205),
|
||||
("<day-of-month> de <named-month>", -2.0907410969337694),
|
||||
("<time-of-day> <part-of-day>", -3.7954891891721947),
|
||||
("intersect", -3.7954891891721947),
|
||||
("Miercoles", -3.39002408106403),
|
||||
("Domingo", -3.39002408106403), ("Lunes", -3.7954891891721947),
|
||||
("day", -0.9622758451159785), ("year", -3.7954891891721947),
|
||||
("day of month (1st)", -3.39002408106403),
|
||||
("<named-month|named-day> next", -3.7954891891721947),
|
||||
("hour", -3.39002408106403)],
|
||||
[("Martes", -3.367295829986474),
|
||||
("<named-month|named-day> past", -3.367295829986474),
|
||||
("dd[/-]mm", -3.079613757534693),
|
||||
("intersect by `de`", -2.268683541318364),
|
||||
("<day-of-month> de <named-month>", -2.068012845856213),
|
||||
("<time-of-day> <part-of-day>", -3.7727609380946383),
|
||||
("intersect", -3.7727609380946383),
|
||||
("Miercoles", -3.367295829986474),
|
||||
("Domingo", -3.367295829986474), ("Lunes", -3.7727609380946383),
|
||||
("day", -0.9395475940384223), ("year", -3.7727609380946383),
|
||||
("day of month (1st)", -3.367295829986474),
|
||||
("<named-month|named-day> next", -3.7727609380946383),
|
||||
("hour", -3.367295829986474)],
|
||||
n = 36},
|
||||
koData =
|
||||
ClassData{prior = -2.9444389791664407,
|
||||
unseen = -3.1354942159291497,
|
||||
ClassData{prior = -3.6109179126442243,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("noon", -2.3978952727983707), ("hour", -2.3978952727983707),
|
||||
("minute", -2.3978952727983707),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-2.3978952727983707)],
|
||||
n = 2}}),
|
||||
[("noon", -2.1972245773362196), ("hour", -2.1972245773362196)],
|
||||
n = 1}}),
|
||||
("Septiembre",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -741,7 +729,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3272129112084162,
|
||||
ClassData{prior = -0.20359895524123955,
|
||||
unseen = -3.5263605246161616,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -749,12 +737,13 @@ classifiers
|
||||
("number (0..15)", -0.3610133455373305)],
|
||||
n = 31},
|
||||
koData =
|
||||
ClassData{prior = -1.276293465905562, unseen = -2.70805020110221,
|
||||
ClassData{prior = -1.6916760106710724,
|
||||
unseen = -2.3025850929940455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.3364722366212129),
|
||||
("number (0..15)", -1.252762968495368)],
|
||||
n = 12}}),
|
||||
[("integer (numeric)", -0.587786664902119),
|
||||
("number (0..15)", -0.8109302162163288)],
|
||||
n = 7}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -1108,29 +1097,26 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.916290731874155, unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("minuteminute", -1.9459101490553135),
|
||||
("dayday", -1.9459101490553135),
|
||||
[("minuteminute", -1.791759469228055),
|
||||
("dayday", -1.791759469228055),
|
||||
("hh(:|.|h)mm (time-of-day)hh(:|.|h)mm (time-of-day)",
|
||||
-1.9459101490553135),
|
||||
-1.791759469228055),
|
||||
("<day-of-month> de <named-month><day-of-month> de <named-month>",
|
||||
-1.9459101490553135)],
|
||||
-1.791759469228055)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.044522437723423,
|
||||
ClassData{prior = -0.5108256237659907, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -2.3025850929940455),
|
||||
("dayyear", -1.8971199848858813),
|
||||
[("monthday", -1.9459101490553135),
|
||||
("dayyear", -1.540445040947149),
|
||||
("Diciembre<day-of-month> de <named-month>",
|
||||
-2.3025850929940455),
|
||||
("dd[/-]mmyear", -1.8971199848858813),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-1.8971199848858813),
|
||||
("minuteyear", -1.8971199848858813)],
|
||||
n = 5}}),
|
||||
-1.9459101490553135),
|
||||
("dd[/-]mmyear", -1.540445040947149)],
|
||||
n = 3}}),
|
||||
("Enero",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -1248,17 +1234,6 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 5}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.772588722239781,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -348,218 +348,214 @@ classifiers
|
||||
n = 2}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5133540701193493, unseen = -6.089044875446846,
|
||||
ClassData{prior = -0.5019253742957266,
|
||||
unseen = -6.0844994130751715,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("u <named-day><day-of-month>(ordinal) <named-month>",
|
||||
-5.393627546352362),
|
||||
("hourday", -4.988162438244197),
|
||||
("dd.mm<time-of-day> o'clock", -5.393627546352362),
|
||||
("dayhour", -2.719478896925833),
|
||||
("daymonth", -3.6018680771243066),
|
||||
-5.389071729816501),
|
||||
("hourday", -4.983606621708336),
|
||||
("dd.mm<time-of-day> o'clock", -5.389071729816501),
|
||||
("dayhour", -2.714923080389972),
|
||||
("daymonth", -3.597312260588446),
|
||||
("u <named-day><named-month> <day-of-month> (ordinal)",
|
||||
-5.393627546352362),
|
||||
("monthyear", -3.6888794541139363),
|
||||
("Wednesdayintersect", -5.393627546352362),
|
||||
("christmasyear", -5.393627546352362),
|
||||
("Wednesdaynext <cycle>", -5.393627546352362),
|
||||
("u <named-day><time-of-day> o'clock", -5.393627546352362),
|
||||
("<time> <part-of-day>u <named-day>", -4.007333185232471),
|
||||
("intersectat <time-of-day>", -5.393627546352362),
|
||||
("Saturday<time> <part-of-day>", -4.988162438244197),
|
||||
("day before yesterdayat <time-of-day>", -4.700480365792417),
|
||||
("Marchyear", -5.393627546352362),
|
||||
-5.389071729816501),
|
||||
("monthyear", -3.6843236375780757),
|
||||
("Wednesdayintersect", -5.389071729816501),
|
||||
("christmasyear", -5.389071729816501),
|
||||
("Wednesdaynext <cycle>", -5.389071729816501),
|
||||
("u <named-day><time-of-day> o'clock", -5.389071729816501),
|
||||
("<time> <part-of-day>u <named-day>", -4.00277736869661),
|
||||
("intersectat <time-of-day>", -5.389071729816501),
|
||||
("Saturday<time> <part-of-day>", -4.983606621708336),
|
||||
("day before yesterdayat <time-of-day>", -4.695924549256556),
|
||||
("Marchyear", -5.389071729816501),
|
||||
("<named-day> <day-of-month> (ordinal)September",
|
||||
-4.988162438244197),
|
||||
("Saturdayat <time-of-day>", -4.988162438244197),
|
||||
-4.983606621708336),
|
||||
("Saturdayat <time-of-day>", -4.983606621708336),
|
||||
("between <time-of-day> and <time-of-day> (interval)u <named-day>",
|
||||
-4.700480365792417),
|
||||
-4.695924549256556),
|
||||
("between <datetime> and <datetime> (interval)u <named-day>",
|
||||
-4.700480365792417),
|
||||
("last <cycle>u <named-day>", -5.393627546352362),
|
||||
("<time-of-day> o'clocktonight", -5.393627546352362),
|
||||
-4.695924549256556),
|
||||
("last <cycle>u <named-day>", -5.389071729816501),
|
||||
("<time-of-day> o'clocktonight", -5.389071729816501),
|
||||
("from <datetime> - <datetime> (interval)u <named-day>",
|
||||
-5.393627546352362),
|
||||
("today<time> <part-of-day>", -4.988162438244197),
|
||||
("todayat <time-of-day>", -5.393627546352362),
|
||||
("Thursday<time> timezone", -5.393627546352362),
|
||||
-5.389071729816501),
|
||||
("today<time> <part-of-day>", -4.983606621708336),
|
||||
("todayat <time-of-day>", -5.389071729816501),
|
||||
("Thursday<time> timezone", -5.389071729816501),
|
||||
("from <time-of-day> - <time-of-day> (interval)u <named-day>",
|
||||
-5.393627546352362),
|
||||
("next <cycle>u <named-day>", -5.393627546352362),
|
||||
("dayday", -3.142335747745866),
|
||||
("hourhour", -5.393627546352362),
|
||||
-5.389071729816501),
|
||||
("next <cycle>u <named-day>", -5.389071729816501),
|
||||
("dayday", -3.1377799312100056),
|
||||
("hourhour", -5.389071729816501),
|
||||
("intersect<named-month> <day-of-month> (non ordinal)",
|
||||
-4.988162438244197),
|
||||
-4.983606621708336),
|
||||
("Thursdaybetween <time-of-day> and <time-of-day> (interval)",
|
||||
-4.700480365792417),
|
||||
("dayyear", -3.8895501495760874),
|
||||
-4.695924549256556),
|
||||
("dayyear", -3.884994333040227),
|
||||
("Thursdaybetween <datetime> and <datetime> (interval)",
|
||||
-4.700480365792417),
|
||||
("<time-of-day> o'clocktomorrow", -5.393627546352362),
|
||||
("Thursday<time> <part-of-day>", -4.988162438244197),
|
||||
-4.695924549256556),
|
||||
("<time-of-day> o'clocktomorrow", -5.389071729816501),
|
||||
("Thursday<time> <part-of-day>", -4.983606621708336),
|
||||
("<time-of-day> - <time-of-day> (interval)u <named-day>",
|
||||
-4.477336814478207),
|
||||
-4.472780997942346),
|
||||
("<day-of-month>(ordinal) <named-month>year",
|
||||
-4.988162438244197),
|
||||
-4.983606621708336),
|
||||
("<datetime> - <datetime> (interval)u <named-day>",
|
||||
-4.477336814478207),
|
||||
-4.472780997942346),
|
||||
("absorption of , after named day<day-of-month>(ordinal) <named-month>",
|
||||
-4.007333185232471),
|
||||
("day after tomorrow<time> <part-of-day>", -5.393627546352362),
|
||||
("Thursdayhh:mm", -5.393627546352362),
|
||||
("minutemonth", -4.477336814478207),
|
||||
("day after tomorrowat <time-of-day>", -4.988162438244197),
|
||||
-4.00277736869661),
|
||||
("day after tomorrow<time> <part-of-day>", -5.389071729816501),
|
||||
("Thursdayhh:mm", -5.389071729816501),
|
||||
("minutemonth", -4.472780997942346),
|
||||
("day after tomorrowat <time-of-day>", -4.983606621708336),
|
||||
("absorption of , after named day<named-month> <day-of-month> (ordinal)",
|
||||
-4.477336814478207),
|
||||
-4.472780997942346),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.988162438244197),
|
||||
-4.983606621708336),
|
||||
("<named-day> <day-of-month> (ordinal)February",
|
||||
-4.140864577856994),
|
||||
("this <cycle>u <named-day>", -4.988162438244197),
|
||||
("last <day-of-week> <time>year", -4.988162438244197),
|
||||
("dd.mmat <time-of-day>", -4.988162438244197),
|
||||
-4.136308761321133),
|
||||
("this <cycle>u <named-day>", -4.983606621708336),
|
||||
("last <day-of-week> <time>year", -4.983606621708336),
|
||||
("dd.mmat <time-of-day>", -4.983606621708336),
|
||||
("intersect<day-of-month>(ordinal) <named-month>",
|
||||
-4.477336814478207),
|
||||
-4.472780997942346),
|
||||
("intersect<named-month> <day-of-month> (ordinal)",
|
||||
-4.988162438244197),
|
||||
("Saturday<time-of-day> o'clock", -5.393627546352362),
|
||||
-4.983606621708336),
|
||||
("Saturday<time-of-day> o'clock", -5.389071729816501),
|
||||
("day before yesterday<time-of-day> o'clock",
|
||||
-5.393627546352362),
|
||||
-5.389071729816501),
|
||||
("<time> <part-of-day><named-day> <day-of-month> (ordinal)",
|
||||
-4.477336814478207),
|
||||
("dayminute", -3.3141860046725258),
|
||||
("u <named-day>at <time-of-day>", -4.988162438244197),
|
||||
("<time> <part-of-day>intersect", -3.52182536945077),
|
||||
("u <named-day><time> <part-of-day>", -4.988162438244197),
|
||||
("Tuesdayu <named-month>", -5.393627546352362),
|
||||
("intersectyear", -5.393627546352362),
|
||||
("intersectSeptember", -4.477336814478207),
|
||||
("<ordinal> <cycle> of <time>year", -5.393627546352362),
|
||||
("minuteday", -2.0977906803480324),
|
||||
-4.472780997942346),
|
||||
("dayminute", -3.3096301881366648),
|
||||
("u <named-day>at <time-of-day>", -4.983606621708336),
|
||||
("<time> <part-of-day>intersect", -3.5172695529149096),
|
||||
("u <named-day><time> <part-of-day>", -4.983606621708336),
|
||||
("Tuesdayu <named-month>", -5.389071729816501),
|
||||
("intersectyear", -5.389071729816501),
|
||||
("intersectSeptember", -4.472780997942346),
|
||||
("<ordinal> <cycle> of <time>year", -5.389071729816501),
|
||||
("minuteday", -2.093234863812172),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.393627546352362),
|
||||
("<time> <part-of-day>intersect by \",\"", -4.477336814478207),
|
||||
("Octoberyear", -4.295015257684252),
|
||||
("intersect by \",\"at <time-of-day>", -4.477336814478207),
|
||||
-5.389071729816501),
|
||||
("<time> <part-of-day>intersect by \",\"", -4.472780997942346),
|
||||
("Octoberyear", -4.290459441148391),
|
||||
("intersect by \",\"at <time-of-day>", -4.472780997942346),
|
||||
("absorption of , after named dayintersect by \",\"",
|
||||
-4.295015257684252),
|
||||
("yearat <time-of-day>", -5.393627546352362),
|
||||
("Septemberyear", -4.988162438244197),
|
||||
-4.290459441148391),
|
||||
("yearat <time-of-day>", -5.389071729816501),
|
||||
("Septemberyear", -4.983606621708336),
|
||||
("<time> <part-of-day>absorption of , after named day",
|
||||
-4.700480365792417),
|
||||
("todaytonight", -5.393627546352362),
|
||||
("weekday", -4.477336814478207),
|
||||
("dayweek", -5.393627546352362),
|
||||
("weekyear", -4.988162438244197),
|
||||
("Wednesdayu <named-month>", -5.393627546352362),
|
||||
-4.695924549256556),
|
||||
("todaytonight", -5.389071729816501),
|
||||
("weekday", -4.472780997942346),
|
||||
("dayweek", -5.389071729816501),
|
||||
("weekyear", -4.983606621708336),
|
||||
("Wednesdayu <named-month>", -5.389071729816501),
|
||||
("u <named-day><named-month> <day-of-month> (non ordinal)",
|
||||
-5.393627546352362),
|
||||
("u <named-month>year", -4.988162438244197),
|
||||
("last <cycle> of <time>year", -4.988162438244197),
|
||||
-5.389071729816501),
|
||||
("u <named-month>year", -4.983606621708336),
|
||||
("last <cycle> of <time>year", -4.983606621708336),
|
||||
("<day-of-month> (non ordinal) <named-month>year",
|
||||
-5.393627546352362),
|
||||
("yearminute", -5.393627546352362)],
|
||||
-5.389071729816501),
|
||||
("yearminute", -5.389071729816501)],
|
||||
n = 158},
|
||||
koData =
|
||||
ClassData{prior = -0.9125100090342491, unseen = -5.820082930352362,
|
||||
ClassData{prior = -0.9297914190930576, unseen = -5.796057750765372,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("since <time-of-day>by <time>", -4.430816798843313),
|
||||
[("since <time-of-day>by <time>", -4.406719247264253),
|
||||
("year<time-of-day> - <time-of-day> (interval)",
|
||||
-5.123963979403259),
|
||||
("hourday", -4.207673247529104),
|
||||
-5.099866427824199),
|
||||
("hourday", -4.183575695950044),
|
||||
("<named-month> <day-of-month> (non ordinal)July",
|
||||
-5.123963979403259),
|
||||
("dayhour", -3.2521618025016674),
|
||||
-5.099866427824199),
|
||||
("dayhour", -3.228064250922607),
|
||||
("July<day-of-month> (non ordinal) <named-month>",
|
||||
-5.123963979403259),
|
||||
("daymonth", -2.983897815906988),
|
||||
("monthday", -3.7376696182833684),
|
||||
("monthyear", -3.5145260669691587),
|
||||
("yearhour", -4.718498871295094),
|
||||
("Wednesdayintersect", -5.123963979403259),
|
||||
("hh:mmu <named-day>", -4.02535169073515),
|
||||
("last <time>today", -4.430816798843313),
|
||||
("intersectat <time-of-day>", -5.123963979403259),
|
||||
("Marchyear", -4.718498871295094),
|
||||
("u <named-day>September", -5.123963979403259),
|
||||
-5.099866427824199),
|
||||
("daymonth", -2.9598002643279275),
|
||||
("monthday", -3.713572066704308),
|
||||
("monthyear", -3.4904285153900982),
|
||||
("yearhour", -4.694401319716034),
|
||||
("Wednesdayintersect", -5.099866427824199),
|
||||
("hh:mmu <named-day>", -4.001254139156089),
|
||||
("last <time>today", -4.406719247264253),
|
||||
("intersectat <time-of-day>", -5.099866427824199),
|
||||
("Marchyear", -4.694401319716034),
|
||||
("u <named-day>September", -5.099866427824199),
|
||||
("<named-day> <day-of-month> (ordinal)September",
|
||||
-5.123963979403259),
|
||||
("Thursdayafter <time-of-day>", -4.207673247529104),
|
||||
("until <time-of-day>u <named-day>", -5.123963979403259),
|
||||
("since <time-of-day>u <named-day>", -4.718498871295094),
|
||||
("Sundayu <named-month>", -5.123963979403259),
|
||||
("absorption of , after named dayJuly", -4.718498871295094),
|
||||
("JanuaryWednesday", -5.123963979403259),
|
||||
("Marchintersect", -5.123963979403259),
|
||||
("dayday", -4.02535169073515),
|
||||
("<time> <part-of-day>at <time-of-day>", -5.123963979403259),
|
||||
("monthmonth", -4.207673247529104),
|
||||
("hourhour", -5.123963979403259),
|
||||
("<time> <part-of-day>Thursday", -5.123963979403259),
|
||||
-5.099866427824199),
|
||||
("Thursdayafter <time-of-day>", -4.183575695950044),
|
||||
("until <time-of-day>u <named-day>", -5.099866427824199),
|
||||
("since <time-of-day>u <named-day>", -4.694401319716034),
|
||||
("Sundayu <named-month>", -5.099866427824199),
|
||||
("absorption of , after named dayJuly", -4.694401319716034),
|
||||
("JanuaryWednesday", -5.099866427824199),
|
||||
("Marchintersect", -5.099866427824199),
|
||||
("dayday", -4.001254139156089),
|
||||
("<time> <part-of-day>at <time-of-day>", -5.099866427824199),
|
||||
("monthmonth", -4.183575695950044),
|
||||
("hourhour", -5.099866427824199),
|
||||
("<time> <part-of-day>Thursday", -5.099866427824199),
|
||||
("Thursdaybetween <time-of-day> and <time-of-day> (interval)",
|
||||
-4.718498871295094),
|
||||
("dayyear", -4.430816798843313),
|
||||
-4.694401319716034),
|
||||
("dayyear", -4.406719247264253),
|
||||
("Thursdaybetween <datetime> and <datetime> (interval)",
|
||||
-4.718498871295094),
|
||||
("Thursday<time> <part-of-day>", -4.718498871295094),
|
||||
-4.694401319716034),
|
||||
("Thursday<time> <part-of-day>", -4.694401319716034),
|
||||
("<time-of-day> - <time-of-day> (interval)u <named-day>",
|
||||
-5.123963979403259),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-4.718498871295094),
|
||||
("FebruaryWednesday", -5.123963979403259),
|
||||
("monthminute", -4.718498871295094),
|
||||
-5.099866427824199),
|
||||
("FebruaryWednesday", -5.099866427824199),
|
||||
("monthminute", -5.099866427824199),
|
||||
("absorption of , after named day<day-of-month>(ordinal) <named-month>",
|
||||
-5.123963979403259),
|
||||
("minutemonth", -4.718498871295094),
|
||||
("MarchTuesday", -4.718498871295094),
|
||||
-5.099866427824199),
|
||||
("minutemonth", -4.694401319716034),
|
||||
("MarchTuesday", -4.694401319716034),
|
||||
("absorption of , after named day<named-month> <day-of-month> (ordinal)",
|
||||
-5.123963979403259),
|
||||
-5.099866427824199),
|
||||
("intersect<time-of-day> - <time-of-day> (interval)",
|
||||
-5.123963979403259),
|
||||
-5.099866427824199),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.430816798843313),
|
||||
-4.406719247264253),
|
||||
("intersect by \",\"<time-of-day> - <time-of-day> (interval)",
|
||||
-4.207673247529104),
|
||||
("Aprilyear", -5.123963979403259),
|
||||
-4.183575695950044),
|
||||
("Aprilyear", -5.099866427824199),
|
||||
("Julynumeral to|till|before <integer> (hour-of-day)",
|
||||
-5.123963979403259),
|
||||
("Thursdaysince <time-of-day>", -4.207673247529104),
|
||||
-5.099866427824199),
|
||||
("Thursdaysince <time-of-day>", -4.183575695950044),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-5.123963979403259),
|
||||
-5.099866427824199),
|
||||
("August<day-of-month> (non ordinal) <named-month>",
|
||||
-5.123963979403259),
|
||||
("dayminute", -3.109060958860994),
|
||||
("<time> <part-of-day>intersect", -4.718498871295094),
|
||||
("Tuesdayu <named-month>", -5.123963979403259),
|
||||
("intersectyear", -4.207673247529104),
|
||||
("after <time-of-day>by <time>", -4.430816798843313),
|
||||
("intersectSeptember", -4.718498871295094),
|
||||
("minuteday", -3.109060958860994),
|
||||
-5.099866427824199),
|
||||
("dayminute", -3.0849634072819336),
|
||||
("<time> <part-of-day>intersect", -4.694401319716034),
|
||||
("Tuesdayu <named-month>", -5.099866427824199),
|
||||
("intersectyear", -4.183575695950044),
|
||||
("after <time-of-day>by <time>", -4.406719247264253),
|
||||
("intersectSeptember", -4.694401319716034),
|
||||
("minuteday", -3.0849634072819336),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.123963979403259),
|
||||
("<time> <part-of-day>intersect by \",\"", -5.123963979403259),
|
||||
("intersect by \",\"at <time-of-day>", -4.207673247529104),
|
||||
-5.099866427824199),
|
||||
("<time> <part-of-day>intersect by \",\"", -5.099866427824199),
|
||||
("intersect by \",\"at <time-of-day>", -4.183575695950044),
|
||||
("absorption of , after named dayintersect by \",\"",
|
||||
-5.123963979403259),
|
||||
("yearat <time-of-day>", -5.123963979403259),
|
||||
-5.099866427824199),
|
||||
("yearat <time-of-day>", -5.099866427824199),
|
||||
("absorption of , after named daySeptember",
|
||||
-4.718498871295094),
|
||||
("MarchMarch", -4.430816798843313),
|
||||
("July<hour-of-day> <integer> (as relative minutes)",
|
||||
-5.123963979403259),
|
||||
("after <time-of-day>u <named-day>", -4.718498871295094),
|
||||
("Wednesdayu <named-month>", -5.123963979403259),
|
||||
("absorption of , after named dayFebruary", -5.123963979403259),
|
||||
("hh:mmby <time>", -4.430816798843313),
|
||||
("u <named-month>year", -4.02535169073515),
|
||||
("minutesecond", -3.5145260669691587),
|
||||
("Tuesdayintersect", -5.123963979403259),
|
||||
("JanuaryTuesday", -5.123963979403259),
|
||||
("Sundayintersect", -5.123963979403259),
|
||||
("yearminute", -4.718498871295094),
|
||||
("Mondayu <named-month>", -5.123963979403259)],
|
||||
n = 106}}),
|
||||
-4.694401319716034),
|
||||
("MarchMarch", -4.406719247264253),
|
||||
("after <time-of-day>u <named-day>", -4.694401319716034),
|
||||
("Wednesdayu <named-month>", -5.099866427824199),
|
||||
("absorption of , after named dayFebruary", -5.099866427824199),
|
||||
("hh:mmby <time>", -4.406719247264253),
|
||||
("u <named-month>year", -4.001254139156089),
|
||||
("minutesecond", -3.4904285153900982),
|
||||
("Tuesdayintersect", -5.099866427824199),
|
||||
("JanuaryTuesday", -5.099866427824199),
|
||||
("Sundayintersect", -5.099866427824199),
|
||||
("Mondayu <named-month>", -5.099866427824199)],
|
||||
n = 103}}),
|
||||
("early morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
@ -1090,23 +1086,22 @@ classifiers
|
||||
n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.9444616088408514, unseen = -3.713572066704308,
|
||||
ClassData{prior = -0.898999234764094, unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.2231435513142097),
|
||||
("integer (0..19)", -2.0794415416798357)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.49247648509779407,
|
||||
unseen = -4.110873864173311,
|
||||
ClassData{prior = -0.5225216635291818, unseen = -4.04305126783455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.4307829160924542),
|
||||
("integer (20..90)", -2.995732273553991),
|
||||
("few", -3.4011973816621555),
|
||||
("integer (0..19)", -1.455287232606842),
|
||||
("a pair", -3.4011973816621555)],
|
||||
n = 55}}),
|
||||
[("integer (numeric)", -0.4700036292457356),
|
||||
("integer (20..90)", -2.9267394020670396),
|
||||
("few", -3.332204510175204),
|
||||
("integer (0..19)", -1.3862943611198906),
|
||||
("a pair", -3.332204510175204)],
|
||||
n = 51}}),
|
||||
("for <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.11441035117774422,
|
||||
@ -1596,36 +1591,32 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -0.5596157879354228, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("since <time-of-day>hh:mm", -2.70805020110221),
|
||||
("minuteminute", -1.455287232606842),
|
||||
("hh:mmhh:mm", -1.791759469228055),
|
||||
("dayday", -2.3025850929940455),
|
||||
[("since <time-of-day>hh:mm", -2.639057329615259),
|
||||
("minuteminute", -1.3862943611198906),
|
||||
("hh:mmhh:mm", -1.7227665977411035),
|
||||
("dayday", -2.2335922215070942),
|
||||
("<named-month> <day-of-month> (non ordinal)<named-month> <day-of-month> (non ordinal)",
|
||||
-2.3025850929940455),
|
||||
("after <time-of-day>hh:mm", -2.70805020110221)],
|
||||
-2.2335922215070942),
|
||||
("after <time-of-day>hh:mm", -2.639057329615259)],
|
||||
n = 8},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -0.8472978603872037,
|
||||
unseen = -3.2188758248682006,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<named-month> <day-of-month> (non ordinal)July",
|
||||
-2.70805020110221),
|
||||
("daymonth", -2.3025850929940455),
|
||||
("minuteminute", -1.791759469228055),
|
||||
("after <time-of-day>intersect", -2.70805020110221),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-2.3025850929940455),
|
||||
("hh:mmintersect", -2.3025850929940455),
|
||||
-2.4849066497880004),
|
||||
("daymonth", -2.0794415416798357),
|
||||
("minuteminute", -1.5686159179138452),
|
||||
("after <time-of-day>intersect", -2.4849066497880004),
|
||||
("hh:mmintersect", -2.0794415416798357),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-2.70805020110221),
|
||||
("since <time-of-day>intersect", -2.70805020110221),
|
||||
("yearminute", -2.3025850929940455)],
|
||||
n = 8}}),
|
||||
-2.4849066497880004),
|
||||
("since <time-of-day>intersect", -2.4849066497880004)],
|
||||
n = 6}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
||||
@ -1935,17 +1926,6 @@ classifiers
|
||||
("October", -1.1631508098056809),
|
||||
("month", -0.8266785731844679)],
|
||||
n = 6}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -2.3978952727983707,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 4}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1670540846631662,
|
||||
|
@ -121,25 +121,23 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("at <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6325225587435105,
|
||||
unseen = -4.7535901911063645,
|
||||
ClassData{prior = -0.6234672599219555, unseen = -4.770684624465665,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("midnight", -4.051784947803305),
|
||||
("<time> timezone", -4.051784947803305),
|
||||
("<integer 0 12> del <part of day>", -2.665490586683414),
|
||||
("<integer> (latent time-of-day)", -1.5668782980153044),
|
||||
("hh(:|h)mm (time-of-day)", -2.1058747987479913),
|
||||
("<hour-of-day> and <relative minutes>", -4.051784947803305),
|
||||
("noon", -3.6463198396951406),
|
||||
[("midnight", -4.069026754237811),
|
||||
("<time> timezone", -4.069026754237811),
|
||||
("<integer 0 12> del <part of day>", -2.68273239311792),
|
||||
("<integer> (latent time-of-day)", -1.5432981099295555),
|
||||
("hh(:|h)mm (time-of-day)", -2.1231166051824975),
|
||||
("<hour-of-day> and <relative minutes>", -4.069026754237811),
|
||||
("noon", -3.6635616461296463),
|
||||
("hh <relative-minutes> del pomeriggio(time-of-day)",
|
||||
-3.6463198396951406),
|
||||
("<hour-of-day> minus quart", -4.051784947803305),
|
||||
("hour", -1.2185716037470886), ("minute", -1.8004931491968097)],
|
||||
n = 51},
|
||||
-3.6635616461296463),
|
||||
("<hour-of-day> minus quart", -4.069026754237811),
|
||||
("hour", -1.2068258733083426), ("minute", -1.8177349556313156)],
|
||||
n = 52},
|
||||
koData =
|
||||
ClassData{prior = -0.7576857016975165,
|
||||
unseen = -4.6443908991413725,
|
||||
ClassData{prior = -0.768048488733063, unseen = -4.6443908991413725,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("una", -3.9415818076696905),
|
||||
@ -555,7 +553,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
||||
("<integer> (latent time-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
ClassData{prior = -1.0822184788924334,
|
||||
unseen = -3.8066624897703196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -563,15 +561,15 @@ classifiers
|
||||
("number (0..19)", -1.3862943611198906)],
|
||||
n = 41},
|
||||
koData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -4.454347296253507,
|
||||
ClassData{prior = -0.41376391092285947,
|
||||
unseen = -4.430816798843313,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.3317773923170052),
|
||||
[("integer (numeric)", -0.34130316389087856),
|
||||
("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)",
|
||||
-3.3440389678222067),
|
||||
("number (0..19)", -1.3981288187668934)],
|
||||
n = 82}}),
|
||||
-3.3202283191284883),
|
||||
("number (0..19)", -1.374318170073175)],
|
||||
n = 80}}),
|
||||
("nth <time> of <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4700036292457356, unseen = -2.833213344056216,
|
||||
@ -1452,203 +1450,194 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("two time tokens in a row",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.35863380842406534,
|
||||
unseen = -6.030685260261263,
|
||||
ClassData{prior = -0.3402001067352274, unseen = -6.021023349349527,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Lunedi<day-of-month> <named-month>", -4.929666231562589),
|
||||
[("Lunedi<day-of-month> <named-month>", -4.919980925828125),
|
||||
("<datetime> - <datetime> (interval)Giovedi",
|
||||
-5.3351313396707525),
|
||||
-5.32544603393629),
|
||||
("intersect by \"di\", \"della\", \"del\"year (1000-2100 not latent)",
|
||||
-4.929666231562589),
|
||||
("dayhour", -3.3202283191284883),
|
||||
("Febbraioyear (1000-2100 not latent)", -5.3351313396707525),
|
||||
("Settembreat <time-of-day>", -4.641984159110808),
|
||||
("daymonth", -2.562542617430972),
|
||||
("<named-day> <day-of-month>Settembre", -4.236519051002643),
|
||||
-4.919980925828125),
|
||||
("dayhour", -3.3105430133940246),
|
||||
("Febbraioyear (1000-2100 not latent)", -5.32544603393629),
|
||||
("Settembreat <time-of-day>", -4.632298853376344),
|
||||
("daymonth", -2.552857311696508),
|
||||
("<named-day> <day-of-month>Settembre", -4.22683374526818),
|
||||
("day of month (1st)intersect by \"di\", \"della\", \"del\"",
|
||||
-4.641984159110808),
|
||||
("Ottobreyear (1000-2100 not latent)", -4.082368371175385),
|
||||
("monthyear", -3.195065176174482),
|
||||
-4.632298853376344),
|
||||
("Ottobreyear (1000-2100 not latent)", -4.072683065440922),
|
||||
("monthyear", -3.1853798704400185),
|
||||
("day of month (1st)two time tokens in a row",
|
||||
-4.236519051002643),
|
||||
-4.22683374526818),
|
||||
("<ordinal> <cycle> of <time>year (1000-2100 not latent)",
|
||||
-5.3351313396707525),
|
||||
("christmasyear (1000-2100 not latent)", -4.929666231562589),
|
||||
-5.32544603393629),
|
||||
("christmasyear (1000-2100 not latent)", -4.919980925828125),
|
||||
("<named-day> <day-of-month>two time tokens in a row",
|
||||
-4.929666231562589),
|
||||
("tomorrowdopo <time>", -5.3351313396707525),
|
||||
-4.919980925828125),
|
||||
("tomorrowdopo <time>", -5.32544603393629),
|
||||
("Giovedidalle <time-of-day> alle <time-of-day> (interval)",
|
||||
-4.929666231562589),
|
||||
-4.919980925828125),
|
||||
("intersect by \"di\", \"della\", \"del\"<day-of-month> <named-month>",
|
||||
-4.641984159110808),
|
||||
-4.632298853376344),
|
||||
("two time tokens separated by `di`Settembre",
|
||||
-4.641984159110808),
|
||||
("day of month (1st)Maggio", -5.3351313396707525),
|
||||
-4.632298853376344),
|
||||
("day of month (1st)Maggio", -5.32544603393629),
|
||||
("tra il <integer> e il <integer> (interval)Luglio",
|
||||
-4.929666231562589),
|
||||
("day of month (1st)Mercoledi", -5.3351313396707525),
|
||||
("dayday", -2.770181982209216),
|
||||
("il <time>year (1000-2100 not latent)", -5.3351313396707525),
|
||||
("Giovediat <time-of-day>", -5.3351313396707525),
|
||||
("entro il <integer>Aprile", -5.3351313396707525),
|
||||
("dayyear", -3.195065176174482),
|
||||
-4.919980925828125),
|
||||
("day of month (1st)Mercoledi", -5.32544603393629),
|
||||
("dayday", -2.7604966764747525),
|
||||
("il <time>year (1000-2100 not latent)", -5.32544603393629),
|
||||
("Giovediat <time-of-day>", -5.32544603393629),
|
||||
("entro il <integer>Aprile", -5.32544603393629),
|
||||
("dayyear", -3.1853798704400185),
|
||||
("tomorrowdalle <time-of-day> alle <time-of-day> (interval)",
|
||||
-5.3351313396707525),
|
||||
-5.32544603393629),
|
||||
("hh(:|h)mm (time-of-day)two time tokens in a row",
|
||||
-4.929666231562589),
|
||||
("dd[/-]mmat <time-of-day>", -5.3351313396707525),
|
||||
-4.919980925828125),
|
||||
("dd[/-]mmat <time-of-day>", -5.32544603393629),
|
||||
("dal <integer> al <integer> (interval)Luglio",
|
||||
-4.929666231562589),
|
||||
("tomorrowdopo le <time-of-day>", -4.929666231562589),
|
||||
("monthminute", -4.641984159110808),
|
||||
("minutemonth", -3.8310539428944788),
|
||||
("il <time>Marzo", -5.3351313396707525),
|
||||
("<named-day> <day-of-month>Febbraio", -4.418840607796598),
|
||||
-4.919980925828125),
|
||||
("tomorrowdopo le <time-of-day>", -4.919980925828125),
|
||||
("monthminute", -4.632298853376344),
|
||||
("minutemonth", -3.821368637160015),
|
||||
("il <time>Marzo", -5.32544603393629),
|
||||
("<named-day> <day-of-month>Febbraio", -4.409155302062135),
|
||||
("hh(:|h)mm (time-of-day)<named-day> <day-of-month>",
|
||||
-5.3351313396707525),
|
||||
("Settembreyear (1000-2100 not latent)", -4.929666231562589),
|
||||
("Mercoledi<day-of-month> <named-month>", -5.3351313396707525),
|
||||
-5.32544603393629),
|
||||
("Settembreyear (1000-2100 not latent)", -4.919980925828125),
|
||||
("Mercoledi<day-of-month> <named-month>", -5.32544603393629),
|
||||
("il <day-of-month> <named-month>at <time-of-day>",
|
||||
-5.3351313396707525),
|
||||
("day of month (1st)Marzo", -4.929666231562589),
|
||||
("Sabato<day-of-month> <named-month>", -5.3351313396707525),
|
||||
("il <day-of-month>Settembre", -5.3351313396707525),
|
||||
("Venerdi<day-of-month> <named-month>", -4.418840607796598),
|
||||
-5.32544603393629),
|
||||
("day of month (1st)Marzo", -4.919980925828125),
|
||||
("Sabato<day-of-month> <named-month>", -5.32544603393629),
|
||||
("il <day-of-month>Settembre", -5.32544603393629),
|
||||
("Venerdi<day-of-month> <named-month>", -4.409155302062135),
|
||||
("<day-of-month> <named-month>at <time-of-day>",
|
||||
-4.641984159110808),
|
||||
-4.632298853376344),
|
||||
("il <day-of-month> <named-month>year (1000-2100 not latent)",
|
||||
-5.3351313396707525),
|
||||
-5.32544603393629),
|
||||
("two time tokens separated by `di`year (1000-2100 not latent)",
|
||||
-4.929666231562589),
|
||||
-4.919980925828125),
|
||||
("last <cycle> of <time>year (1000-2100 not latent)",
|
||||
-4.641984159110808),
|
||||
-4.632298853376344),
|
||||
("day of month (1st)two time tokens separated by `di`",
|
||||
-4.641984159110808),
|
||||
("il <day-of-month>Febbraio", -4.418840607796598),
|
||||
("Gennaioyear (1000-2100 not latent)", -4.641984159110808),
|
||||
("the day after tomorrowat <time-of-day>", -4.929666231562589),
|
||||
-4.632298853376344),
|
||||
("il <day-of-month>Febbraio", -4.409155302062135),
|
||||
("Gennaioyear (1000-2100 not latent)", -4.632298853376344),
|
||||
("the day after tomorrowat <time-of-day>", -4.919980925828125),
|
||||
("two time tokens in a rowyear (1000-2100 not latent)",
|
||||
-4.641984159110808),
|
||||
-4.632298853376344),
|
||||
("il <day-of-month>two time tokens in a row",
|
||||
-4.929666231562589),
|
||||
("Giovedientro <time>", -5.3351313396707525),
|
||||
-4.919980925828125),
|
||||
("Giovedientro <time>", -5.32544603393629),
|
||||
("at <time-of-day>two time tokens in a row",
|
||||
-4.929666231562589),
|
||||
("dayminute", -2.9372360668723823),
|
||||
("Venerditwo time tokens in a row", -4.929666231562589),
|
||||
("two time tokens in a rowat <time-of-day>",
|
||||
-4.236519051002643),
|
||||
("minuteday", -3.137906762334534),
|
||||
-4.919980925828125),
|
||||
("dayminute", -2.927550761137919),
|
||||
("Venerditwo time tokens in a row", -4.919980925828125),
|
||||
("two time tokens in a rowat <time-of-day>", -4.22683374526818),
|
||||
("minuteday", -3.1282214566000697),
|
||||
("two time tokens separated by `di`<day-of-month> <named-month>",
|
||||
-4.641984159110808),
|
||||
("il <time>at <time-of-day>", -5.3351313396707525),
|
||||
("Sabatoat <time-of-day>", -5.3351313396707525),
|
||||
-4.632298853376344),
|
||||
("il <time>at <time-of-day>", -5.32544603393629),
|
||||
("Sabatoat <time-of-day>", -5.32544603393629),
|
||||
("intersect by \"di\", \"della\", \"del\"Settembre",
|
||||
-4.641984159110808),
|
||||
("Domenica<day-of-month> <named-month>", -5.3351313396707525),
|
||||
-4.632298853376344),
|
||||
("Domenica<day-of-month> <named-month>", -5.32544603393629),
|
||||
("last <day-of-week> of <time>year (1000-2100 not latent)",
|
||||
-5.3351313396707525),
|
||||
("immacolata concezioneat <time-of-day>", -5.3351313396707525),
|
||||
-5.32544603393629),
|
||||
("immacolata concezioneat <time-of-day>", -5.32544603393629),
|
||||
("at <time-of-day><named-day> <day-of-month>",
|
||||
-5.3351313396707525),
|
||||
("day of month (1st)Martedi", -4.418840607796598),
|
||||
("at <time-of-day>Venerdi", -5.3351313396707525),
|
||||
("weekyear", -4.929666231562589),
|
||||
("Giovedi<time> timezone", -5.3351313396707525),
|
||||
-5.32544603393629),
|
||||
("day of month (1st)Martedi", -4.409155302062135),
|
||||
("at <time-of-day>Venerdi", -5.32544603393629),
|
||||
("weekyear", -4.919980925828125),
|
||||
("Giovedi<time> timezone", -5.32544603393629),
|
||||
("Gioveditra il <datetime> e il <datetime> (interval)",
|
||||
-4.929666231562589),
|
||||
("two time tokens in a rowSettembre", -4.929666231562589),
|
||||
("tomorrowat <time-of-day>", -5.3351313396707525),
|
||||
-4.919980925828125),
|
||||
("two time tokens in a rowSettembre", -4.919980925828125),
|
||||
("tomorrowat <time-of-day>", -5.32544603393629),
|
||||
("two time tokens in a row<day-of-month> <named-month>",
|
||||
-4.929666231562589),
|
||||
("Giovedientro le <time-of-day>", -5.3351313396707525),
|
||||
-4.919980925828125),
|
||||
("Giovedientro le <time-of-day>", -5.32544603393629),
|
||||
("two time tokens in a rowin <named-month>",
|
||||
-4.641984159110808),
|
||||
("Dicembreyear (1000-2100 not latent)", -4.641984159110808),
|
||||
("Marzoyear (1000-2100 not latent)", -5.3351313396707525),
|
||||
("Martediin <named-month>", -4.641984159110808),
|
||||
-4.632298853376344),
|
||||
("Dicembreyear (1000-2100 not latent)", -4.632298853376344),
|
||||
("Marzoyear (1000-2100 not latent)", -5.32544603393629),
|
||||
("Martediin <named-month>", -4.632298853376344),
|
||||
("the day after tomorrowentro le <time-of-day>",
|
||||
-5.3351313396707525),
|
||||
-5.32544603393629),
|
||||
("<day-of-month> <named-month>year (1000-2100 not latent)",
|
||||
-4.929666231562589),
|
||||
-4.919980925828125),
|
||||
("commemorazione dei defuntiat <time-of-day>",
|
||||
-5.3351313396707525),
|
||||
("il <day-of-month>Marzo", -5.3351313396707525),
|
||||
("hh(:|h)mm (time-of-day)Venerdi", -5.3351313396707525)],
|
||||
-5.32544603393629),
|
||||
("il <day-of-month>Marzo", -5.32544603393629),
|
||||
("hh(:|h)mm (time-of-day)Venerdi", -5.32544603393629)],
|
||||
n = 153},
|
||||
koData =
|
||||
ClassData{prior = -1.1994169877900753, unseen = -5.488937726156687,
|
||||
ClassData{prior = -1.2435036430825712, unseen = -5.438079308923196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("at <time-of-day>prossimi <unit-of-duration>",
|
||||
-4.386184644822546),
|
||||
-4.33510971488613),
|
||||
("intersect by \"di\", \"della\", \"del\"year (1000-2100 not latent)",
|
||||
-4.098502572370764),
|
||||
("dayhour", -2.265921108622454),
|
||||
("Settembreat <time-of-day>", -3.8753590210565547),
|
||||
("daymonth", -4.791649752930709),
|
||||
("monthday", -4.386184644822546),
|
||||
("monthyear", -4.791649752930709),
|
||||
("Luglio<day-of-month> <named-month>", -4.791649752930709),
|
||||
-4.047427642434349),
|
||||
("dayhour", -2.214846178686039),
|
||||
("Settembreat <time-of-day>", -3.8242840911201395),
|
||||
("daymonth", -4.740574822994295),
|
||||
("monthday", -4.33510971488613),
|
||||
("monthyear", -4.740574822994295),
|
||||
("Luglio<day-of-month> <named-month>", -4.740574822994295),
|
||||
("<named-day> <day-of-month>two time tokens in a row",
|
||||
-4.098502572370764),
|
||||
-4.047427642434349),
|
||||
("Giovedidalle <time-of-day> alle <time-of-day> (interval)",
|
||||
-4.791649752930709),
|
||||
("<hour-of-day> <integer> (as relative minutes)Luglio",
|
||||
-4.791649752930709),
|
||||
("monthhour", -3.6930374642626003),
|
||||
("hourmonth", -4.386184644822546),
|
||||
("dayday", -4.791649752930709),
|
||||
("Febbraiothis <part-of-day>", -4.386184644822546),
|
||||
("Giovediat <time-of-day>", -4.386184644822546),
|
||||
-4.740574822994295),
|
||||
("monthhour", -3.6419625343261846),
|
||||
("hourmonth", -4.33510971488613),
|
||||
("dayday", -4.740574822994295),
|
||||
("Febbraiothis <part-of-day>", -4.33510971488613),
|
||||
("Giovediat <time-of-day>", -4.33510971488613),
|
||||
("tra il <datetime> e il <datetime> (interval)Luglio",
|
||||
-4.386184644822546),
|
||||
("dayyear", -3.2875723561544357),
|
||||
-4.33510971488613),
|
||||
("dayyear", -3.2364974262180204),
|
||||
("tomorrowdalle <time-of-day> alle <time-of-day> (interval)",
|
||||
-4.791649752930709),
|
||||
-4.740574822994295),
|
||||
("<hour-of-day> and <relative minutes>Luglio",
|
||||
-4.791649752930709),
|
||||
("tomorrowstanotte", -4.791649752930709),
|
||||
("year (1000-2100 not latent)<hour-of-day> <integer> (as relative minutes)",
|
||||
-4.386184644822546),
|
||||
("dd[/-]mmat <time-of-day>", -4.791649752930709),
|
||||
("il <day-of-month>Luglio", -4.791649752930709),
|
||||
("tomorrowdopo le <time-of-day>", -4.386184644822546),
|
||||
("monthminute", -4.791649752930709),
|
||||
("minutemonth", -4.386184644822546),
|
||||
-4.740574822994295),
|
||||
("tomorrowstanotte", -4.740574822994295),
|
||||
("dd[/-]mmat <time-of-day>", -4.740574822994295),
|
||||
("il <day-of-month>Luglio", -4.740574822994295),
|
||||
("tomorrowdopo le <time-of-day>", -4.33510971488613),
|
||||
("monthminute", -4.740574822994295),
|
||||
("minutemonth", -4.740574822994295),
|
||||
("il <day-of-month> <named-month>at <time-of-day>",
|
||||
-4.791649752930709),
|
||||
("dopo <time>at <time-of-day>", -4.791649752930709),
|
||||
-4.740574822994295),
|
||||
("dopo <time>at <time-of-day>", -4.740574822994295),
|
||||
("<day-of-month> <named-month>at <time-of-day>",
|
||||
-3.8753590210565547),
|
||||
("weekmonth", -4.386184644822546),
|
||||
-3.8242840911201395),
|
||||
("weekmonth", -4.33510971488613),
|
||||
("two time tokens separated by `di`year (1000-2100 not latent)",
|
||||
-4.098502572370764),
|
||||
("hourweek", -4.386184644822546),
|
||||
("the day after tomorrowat <time-of-day>", -4.791649752930709),
|
||||
-4.047427642434349),
|
||||
("hourweek", -4.33510971488613),
|
||||
("the day after tomorrowat <time-of-day>", -4.740574822994295),
|
||||
("il <day-of-month>two time tokens in a row",
|
||||
-4.791649752930709),
|
||||
("Agosto<day-of-month> <named-month>", -4.791649752930709),
|
||||
("dayminute", -2.999890283702655),
|
||||
("Venerditwo time tokens in a row", -4.098502572370764),
|
||||
-4.740574822994295),
|
||||
("Agosto<day-of-month> <named-month>", -4.740574822994295),
|
||||
("dayminute", -2.9488153537662396),
|
||||
("Venerditwo time tokens in a row", -4.047427642434349),
|
||||
("two time tokens in a rowat <time-of-day>",
|
||||
-3.405355391810819),
|
||||
("minuteday", -4.386184644822546),
|
||||
("il <time>at <time-of-day>", -4.791649752930709),
|
||||
("Giovedidopo le <time-of-day>", -4.098502572370764),
|
||||
("the <cycle> of <time>Ottobre", -4.386184644822546),
|
||||
-3.3542804618744038),
|
||||
("minuteday", -4.740574822994295),
|
||||
("il <time>at <time-of-day>", -4.740574822994295),
|
||||
("Giovedidopo le <time-of-day>", -4.047427642434349),
|
||||
("the <cycle> of <time>Ottobre", -4.33510971488613),
|
||||
("Gioveditra il <datetime> e il <datetime> (interval)",
|
||||
-4.791649752930709),
|
||||
("tomorrowat <time-of-day>", -4.791649752930709),
|
||||
("<hour-of-day> <integer> (as relative minutes)Giovedi",
|
||||
-4.791649752930709),
|
||||
("Martedidopo <time>", -4.791649752930709),
|
||||
("dopo <time>year (1000-2100 not latent)", -4.386184644822546),
|
||||
("hh(:|h)mm (time-of-day)Giovedi", -4.791649752930709),
|
||||
("Marzoyear (1000-2100 not latent)", -4.791649752930709),
|
||||
("yearminute", -4.386184644822546)],
|
||||
n = 66}}),
|
||||
-4.740574822994295),
|
||||
("tomorrowat <time-of-day>", -4.740574822994295),
|
||||
("Martedidopo <time>", -4.740574822994295),
|
||||
("dopo <time>year (1000-2100 not latent)", -4.33510971488613),
|
||||
("hh(:|h)mm (time-of-day)Giovedi", -4.740574822994295),
|
||||
("Marzoyear (1000-2100 not latent)", -4.740574822994295)],
|
||||
n = 62}}),
|
||||
("heure (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -1865,30 +1854,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -3.044522437723423,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -2.9444389791664407,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("minuteminute", -1.6094379124341003),
|
||||
[("minuteminute", -1.5040773967762742),
|
||||
("<day-of-month> <named-month><day-of-month> <named-month>",
|
||||
-1.8971199848858813),
|
||||
-1.791759469228055),
|
||||
("hh(:|h)mm (time-of-day)hh(:|h)mm (time-of-day)",
|
||||
-1.6094379124341003),
|
||||
("dayday", -1.8971199848858813)],
|
||||
-1.5040773967762742),
|
||||
("dayday", -1.791759469228055)],
|
||||
n = 5},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -3.044522437723423,
|
||||
ClassData{prior = -0.9808292530117262, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -1.8971199848858813),
|
||||
("Luglio<day-of-month> <named-month>", -2.3025850929940455),
|
||||
("minuteminute", -2.3025850929940455),
|
||||
[("monthday", -1.540445040947149),
|
||||
("Luglio<day-of-month> <named-month>", -1.9459101490553135),
|
||||
("minuteminute", -1.9459101490553135),
|
||||
("hh(:|h)mm (time-of-day)two time tokens in a row",
|
||||
-2.3025850929940455),
|
||||
("year (1000-2100 not latent)<hour-of-day> <integer> (as relative minutes)",
|
||||
-1.8971199848858813),
|
||||
("Agosto<day-of-month> <named-month>", -2.3025850929940455),
|
||||
("yearminute", -1.8971199848858813)],
|
||||
n = 5}}),
|
||||
-1.9459101490553135),
|
||||
("Agosto<day-of-month> <named-month>", -1.9459101490553135)],
|
||||
n = 3}}),
|
||||
("<day-of-month> <named-month>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1880522315029396, unseen = -4.219507705176107,
|
||||
@ -2183,23 +2170,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.6094379124341003,
|
||||
unseen = -1.6094379124341003,
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)integer (numeric)",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
[("hour", -0.6931471805599453),
|
||||
("at <time-of-day>integer (numeric)", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -0.2231435513142097,
|
||||
unseen = -2.3978952727983707,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)integer (numeric)",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 4}}),
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("dd-dd <month> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
|
@ -201,8 +201,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 32}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.45983651189029134,
|
||||
unseen = -5.958424693029782,
|
||||
ClassData{prior = -0.4488272263819219, unseen = -5.958424693029782,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("intersect<hour-of-day> <integer> (as relative minutes)",
|
||||
@ -271,68 +270,66 @@ classifiers
|
||||
("day-of-weektime-of-day", -5.262690188904886)],
|
||||
n = 173},
|
||||
koData =
|
||||
ClassData{prior = -0.9980075895468108, unseen = -5.616771097666572,
|
||||
ClassData{prior = -1.017151342209129, unseen = -5.594711379601839,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("year<time> \47560\51648\47561 <cycle>", -4.919980925828125),
|
||||
("day-of-weekintersect", -4.919980925828125),
|
||||
("dayhour", -2.2809235962128662),
|
||||
("daymonth", -4.5145158177199605),
|
||||
("monthday", -3.1282214566000697),
|
||||
("yearhour", -3.2152328335897),
|
||||
("<time> <part-of-day>time-of-day", -3.821368637160015),
|
||||
("houryear", -4.22683374526818),
|
||||
("day-of-weekafter <time-of-day>", -4.919980925828125),
|
||||
[("year<time> \47560\51648\47561 <cycle>", -4.897839799950911),
|
||||
("day-of-weekintersect", -4.897839799950911),
|
||||
("dayhour", -2.2587824703356527),
|
||||
("daymonth", -4.492374691842747),
|
||||
("monthday", -3.1060803307228566),
|
||||
("yearhour", -3.1930917077124863),
|
||||
("<time> <part-of-day>time-of-day", -3.7992275112828016),
|
||||
("houryear", -4.204692619390966),
|
||||
("day-of-weekafter <time-of-day>", -4.897839799950911),
|
||||
("after <time-of-day>by <time> - \44620\51648",
|
||||
-4.919980925828125),
|
||||
("intersectam|pm <time-of-day>", -4.5145158177199605),
|
||||
("intersect<time> <part-of-day>", -4.00369019395397),
|
||||
("yearintersect", -3.0481787489265337),
|
||||
-4.897839799950911),
|
||||
("intersectam|pm <time-of-day>", -4.492374691842747),
|
||||
("intersect<time> <part-of-day>", -3.9815490680767565),
|
||||
("yearintersect", -3.02603762304932),
|
||||
("day-of-week<time-of-day> - <time-of-day> (interval)",
|
||||
-4.00369019395397),
|
||||
("intersectmonth", -4.919980925828125),
|
||||
("time-of-day<duration> ago", -4.919980925828125),
|
||||
("this <cycle>day-of-week", -4.5145158177199605),
|
||||
("intersecttime-of-day", -4.5145158177199605),
|
||||
("monthhour", -3.0481787489265337),
|
||||
("intersectlast <time>", -4.919980925828125),
|
||||
("dayday", -4.00369019395397),
|
||||
("hourhour", -2.9740707767728116),
|
||||
("month<datetime> - <datetime> (interval)", -4.00369019395397),
|
||||
("dayam|pm <time-of-day>", -4.5145158177199605),
|
||||
("day-of-weekam|pm <time-of-day>", -4.919980925828125),
|
||||
("hourminute", -4.22683374526818),
|
||||
-3.9815490680767565),
|
||||
("intersectmonth", -4.897839799950911),
|
||||
("time-of-day<duration> ago", -4.897839799950911),
|
||||
("this <cycle>day-of-week", -4.492374691842747),
|
||||
("intersecttime-of-day", -4.492374691842747),
|
||||
("monthhour", -3.02603762304932),
|
||||
("intersectlast <time>", -4.897839799950911),
|
||||
("dayday", -3.9815490680767565),
|
||||
("hourhour", -2.951929650895598),
|
||||
("month<datetime> - <datetime> (interval)",
|
||||
-3.9815490680767565),
|
||||
("dayam|pm <time-of-day>", -4.492374691842747),
|
||||
("day-of-weekam|pm <time-of-day>", -4.897839799950911),
|
||||
("hourminute", -4.204692619390966),
|
||||
("<time-of-day> - <time-of-day> (interval)last <time>",
|
||||
-4.00369019395397),
|
||||
("intersectday", -4.5145158177199605),
|
||||
("<datetime> - <datetime> (interval)day", -4.00369019395397),
|
||||
("month<time> <part-of-day>", -4.5145158177199605),
|
||||
("yearmonth", -4.5145158177199605),
|
||||
("dayminute", -4.22683374526818),
|
||||
("<hour-of-day> <integer> (as relative minutes)seconds",
|
||||
-4.22683374526818),
|
||||
("<time> <part-of-day><date>\50640", -4.919980925828125),
|
||||
("last <time>time-of-day", -4.919980925828125),
|
||||
("monthintersect", -3.3105430133940246),
|
||||
("hoursecond", -4.919980925828125),
|
||||
("year<time> <part-of-day>", -4.5145158177199605),
|
||||
("intersectintersect", -3.667217957332757),
|
||||
("weekday", -4.5145158177199605),
|
||||
-3.9815490680767565),
|
||||
("intersectday", -4.492374691842747),
|
||||
("<datetime> - <datetime> (interval)day", -3.9815490680767565),
|
||||
("month<time> <part-of-day>", -4.492374691842747),
|
||||
("yearmonth", -4.492374691842747),
|
||||
("dayminute", -4.204692619390966),
|
||||
("<time> <part-of-day><date>\50640", -4.897839799950911),
|
||||
("last <time>time-of-day", -4.897839799950911),
|
||||
("monthintersect", -3.288401887516811),
|
||||
("hoursecond", -4.897839799950911),
|
||||
("year<time> <part-of-day>", -4.492374691842747),
|
||||
("intersectintersect", -3.6450768314555435),
|
||||
("weekday", -4.492374691842747),
|
||||
("intersectday with korean number - \51068\51068..\44396\51068",
|
||||
-4.5145158177199605),
|
||||
("day<time> <part-of-day>", -4.919980925828125),
|
||||
("yearday", -3.821368637160015),
|
||||
("day-of-weekhh:mm", -4.919980925828125),
|
||||
-4.492374691842747),
|
||||
("day<time> <part-of-day>", -4.897839799950911),
|
||||
("yearday", -3.7992275112828016),
|
||||
("day-of-weekhh:mm", -4.897839799950911),
|
||||
("<time-of-day> - <time-of-day> (interval)time-of-day",
|
||||
-4.5145158177199605),
|
||||
("intersectafter <time-of-day>", -3.415903529051851),
|
||||
("minutesecond", -4.22683374526818),
|
||||
-4.492374691842747),
|
||||
("intersectafter <time-of-day>", -3.3937624031746374),
|
||||
("<time> <part-of-day><hour-of-day> <integer> (as relative minutes)",
|
||||
-4.5145158177199605),
|
||||
("dayintersect", -4.919980925828125),
|
||||
("mm/ddafter <time-of-day>", -4.919980925828125),
|
||||
("todayafter <time-of-day>", -4.919980925828125)],
|
||||
n = 101}}),
|
||||
-4.492374691842747),
|
||||
("dayintersect", -4.897839799950911),
|
||||
("mm/ddafter <time-of-day>", -4.897839799950911),
|
||||
("todayafter <time-of-day>", -4.897839799950911)],
|
||||
n = 98}}),
|
||||
("season",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -684,27 +681,24 @@ classifiers
|
||||
n = 2}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.3596261140377293, unseen = -3.332204510175204,
|
||||
ClassData{prior = -1.289667525430819, unseen = -3.258096538021482,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.6567795363890705),
|
||||
("integer - TYPE 1", -2.6026896854443837),
|
||||
("integer (1..4) - for ordinals", -1.6863989535702288),
|
||||
("integer (1..10) - TYPE 2", -2.6026896854443837)],
|
||||
[("integer (numeric)", -0.579818495252942),
|
||||
("integer - TYPE 1", -2.5257286443082556),
|
||||
("integer (1..4) - for ordinals", -1.6094379124341003),
|
||||
("integer (1..10) - TYPE 2", -2.5257286443082556)],
|
||||
n = 19},
|
||||
koData =
|
||||
ClassData{prior = -0.2967319079716989,
|
||||
unseen = -4.1588830833596715,
|
||||
ClassData{prior = -0.32208349916911333, unseen = -4.04305126783455,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.052092273033217),
|
||||
("integer - TYPE 1", -0.924258901523332),
|
||||
("integer (20..90) - TYPE 2 and ordinals", -3.4499875458315876),
|
||||
("integer (21..99) - TYPE 2", -3.4499875458315876),
|
||||
("integer (1..4) - for ordinals", -2.3513752571634776),
|
||||
("integer - TYPE 1: powers of ten", -3.044522437723423),
|
||||
("compose by multiplication", -3.4499875458315876)],
|
||||
n = 55}}),
|
||||
[("integer (numeric)", -0.9343092373768334),
|
||||
("integer - TYPE 1", -0.8898574748059995),
|
||||
("integer (20..90) - TYPE 2 and ordinals", -3.332204510175204),
|
||||
("integer (21..99) - TYPE 2", -3.332204510175204),
|
||||
("integer (1..4) - for ordinals", -2.2335922215070942)],
|
||||
n = 50}}),
|
||||
("year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.006804739414987, unseen = -3.295836866004329,
|
||||
@ -883,19 +877,15 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> (hour-of-day) relative minutes \51204",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055,
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hour", -0.916290731874155),
|
||||
("time-of-dayinteger (21..99) - TYPE 2", -0.916290731874155)],
|
||||
[("hour", -0.6931471805599453),
|
||||
("time-of-dayinteger (21..99) - TYPE 2", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer - TYPE 1", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 1}}),
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<duration> ago",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.45198512374305727,
|
||||
@ -1207,7 +1197,7 @@ classifiers
|
||||
n = 10}}),
|
||||
("<time-of-day>\51060\51204",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5596157879354228, unseen = -2.70805020110221,
|
||||
ClassData{prior = -0.40546510810816444, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("am|pm <time-of-day>", -1.540445040947149),
|
||||
@ -1215,15 +1205,15 @@ classifiers
|
||||
("hour", -1.0296194171811581)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.8472978603872037,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.3978952727983707,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.791759469228055),
|
||||
("hour", -1.791759469228055), ("minute", -1.3862943611198906),
|
||||
[("time-of-day (latent)", -1.6094379124341003),
|
||||
("hour", -1.6094379124341003), ("minute", -1.6094379124341003),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-1.3862943611198906)],
|
||||
n = 3}}),
|
||||
-1.6094379124341003)],
|
||||
n = 2}}),
|
||||
("New Year's Day",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -1398,27 +1388,23 @@ classifiers
|
||||
n = 1}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0986122886681098, unseen = -2.639057329615259,
|
||||
ClassData{prior = -0.2876820724517809,
|
||||
unseen = -2.3978952727983707,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-daycompose by multiplication", -1.8718021769015913),
|
||||
("time-of-dayinteger (numeric)", -1.8718021769015913),
|
||||
("hour", -1.1786549963416462),
|
||||
("time-of-dayinteger (21..99) - TYPE 2", -1.8718021769015913)],
|
||||
[("time-of-daycompose by multiplication", -1.6094379124341003),
|
||||
("time-of-dayinteger (numeric)", -1.6094379124341003),
|
||||
("hour", -0.916290731874155),
|
||||
("time-of-dayinteger (21..99) - TYPE 2", -1.6094379124341003)],
|
||||
n = 3},
|
||||
koData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.995732273553991,
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (21..99) - TYPE 2",
|
||||
-2.2512917986064953),
|
||||
("time-of-day (latent)integer - TYPE 1", -1.55814461804655),
|
||||
("time-of-day (latent)integer - TYPE 1: powers of ten",
|
||||
-2.2512917986064953),
|
||||
("hour", -0.9985288301111273),
|
||||
("time-of-dayinteger (21..99) - TYPE 2", -2.2512917986064953)],
|
||||
n = 6}}),
|
||||
[("hour", -1.0986122886681098),
|
||||
("time-of-dayinteger (21..99) - TYPE 2", -1.0986122886681098)],
|
||||
n = 1}}),
|
||||
("few \47751",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
||||
|
@ -270,142 +270,134 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4392032477400145, unseen = -5.860786223465865,
|
||||
ClassData{prior = -0.4103550934023561, unseen = -5.846438775057725,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<datetime> - <datetime> (interval)on <date>",
|
||||
-4.0661736852554045),
|
||||
-4.051784947803305),
|
||||
("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.0661736852554045),
|
||||
("hourday", -5.1647859739235145),
|
||||
("dayhour", -2.9134941753170187),
|
||||
("daymonth", -2.9134941753170187),
|
||||
("monthyear", -3.0853444322436783),
|
||||
("intersecthh:mm", -5.1647859739235145),
|
||||
("the <day-of-month> (ordinal)named-month", -3.912023005428146),
|
||||
-4.051784947803305),
|
||||
("hourday", -5.150397236471415),
|
||||
("dayhour", -2.8991054378649195),
|
||||
("daymonth", -2.8991054378649195),
|
||||
("monthyear", -3.0709556947915786),
|
||||
("intersecthh:mm", -5.150397236471415),
|
||||
("the <day-of-month> (ordinal)named-month",
|
||||
-3.8976342679760467),
|
||||
("intersect by \"of\", \"from\", \"'s\"year",
|
||||
-4.75932086581535),
|
||||
("last <day-of-week> of <time>year", -4.75932086581535),
|
||||
("todayat <time-of-day>", -4.75932086581535),
|
||||
("dayday", -3.0247198104272432),
|
||||
("dd/mmat <time-of-day>", -4.248495242049359),
|
||||
("intersect by \",\"hh:mm", -4.248495242049359),
|
||||
("intersectnamed-month", -4.75932086581535),
|
||||
("dayyear", -3.2929837970219227),
|
||||
("named-daythis <time>", -4.0661736852554045),
|
||||
("tomorrow<time-of-day> sharp", -4.75932086581535),
|
||||
-4.74493212836325),
|
||||
("last <day-of-week> of <time>year", -4.74493212836325),
|
||||
("todayat <time-of-day>", -4.74493212836325),
|
||||
("dayday", -3.0103310729751436),
|
||||
("dd/mmat <time-of-day>", -4.23410650459726),
|
||||
("intersect by \",\"hh:mm", -4.23410650459726),
|
||||
("intersectnamed-month", -4.74493212836325),
|
||||
("dayyear", -3.278595059569823),
|
||||
("named-daythis <time>", -4.051784947803305),
|
||||
("tomorrow<time-of-day> sharp", -4.74493212836325),
|
||||
("<day-of-month>(ordinal) <named-month>year",
|
||||
-4.75932086581535),
|
||||
("named-day<time> timezone", -4.471638793363569),
|
||||
("named-monthyear", -3.0853444322436783),
|
||||
-4.74493212836325),
|
||||
("named-day<time> timezone", -4.457250055911469),
|
||||
("named-monthyear", -3.0709556947915786),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.0661736852554045),
|
||||
("on <date>named-month", -3.912023005428146),
|
||||
("tomorrowuntil <time-of-day>", -4.75932086581535),
|
||||
-4.051784947803305),
|
||||
("on <date>named-month", -3.8976342679760467),
|
||||
("tomorrowuntil <time-of-day>", -4.74493212836325),
|
||||
("absorption of , after named day<day-of-month> (non ordinal) <named-month>",
|
||||
-4.471638793363569),
|
||||
("after <time-of-day>at <time-of-day>", -4.75932086581535),
|
||||
-4.457250055911469),
|
||||
("after <time-of-day>at <time-of-day>", -4.74493212836325),
|
||||
("intersect by \",\"<day-of-month> (non ordinal) <named-month>",
|
||||
-4.75932086581535),
|
||||
-4.74493212836325),
|
||||
("named-day<day-of-month> (non ordinal) <named-month>",
|
||||
-5.1647859739235145),
|
||||
-5.150397236471415),
|
||||
("named-day<named-month> <day-of-month> (non ordinal)",
|
||||
-5.1647859739235145),
|
||||
-5.150397236471415),
|
||||
("named-dayfrom <datetime> - <datetime> (interval)",
|
||||
-4.75932086581535),
|
||||
("named-daynext <cycle>", -5.1647859739235145),
|
||||
("named-dayintersect", -4.75932086581535),
|
||||
-4.74493212836325),
|
||||
("named-daynext <cycle>", -5.150397236471415),
|
||||
("named-dayintersect", -4.74493212836325),
|
||||
("named-dayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.75932086581535),
|
||||
("tomorrowafter <time-of-day>", -4.75932086581535),
|
||||
-4.74493212836325),
|
||||
("tomorrowafter <time-of-day>", -4.74493212836325),
|
||||
("from <time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.248495242049359),
|
||||
("dayminute", -2.8134107167600364),
|
||||
-4.23410650459726),
|
||||
("dayminute", -2.7990219793079367),
|
||||
("from <datetime> - <datetime> (interval)on <date>",
|
||||
-4.471638793363569),
|
||||
("<ordinal> <cycle> of <time>year", -4.75932086581535),
|
||||
("minuteday", -2.5620962884791303),
|
||||
-4.457250055911469),
|
||||
("<ordinal> <cycle> of <time>year", -4.74493212836325),
|
||||
("minuteday", -2.5477075510270306),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.1647859739235145),
|
||||
-5.150397236471415),
|
||||
("named-daybetween <time-of-day> and <time-of-day> (interval)",
|
||||
-5.1647859739235145),
|
||||
("named-dayon <date>", -4.75932086581535),
|
||||
("named-dayat <time-of-day>", -4.75932086581535),
|
||||
("yearhh:mm", -5.1647859739235145),
|
||||
-5.150397236471415),
|
||||
("named-dayon <date>", -4.74493212836325),
|
||||
("named-dayat <time-of-day>", -4.74493212836325),
|
||||
("yearhh:mm", -5.150397236471415),
|
||||
("named-daybetween <datetime> and <datetime> (interval)",
|
||||
-5.1647859739235145),
|
||||
-5.150397236471415),
|
||||
("absorption of , after named dayintersect by \",\"",
|
||||
-4.75932086581535),
|
||||
("dd/mmyear", -4.75932086581535),
|
||||
("at <time-of-day>on <date>", -5.1647859739235145),
|
||||
-4.74493212836325),
|
||||
("dd/mmyear", -4.74493212836325),
|
||||
("at <time-of-day>on <date>", -5.150397236471415),
|
||||
("between <time-of-day> and <time-of-day> (interval)on <date>",
|
||||
-5.1647859739235145),
|
||||
-5.150397236471415),
|
||||
("between <datetime> and <datetime> (interval)on <date>",
|
||||
-5.1647859739235145),
|
||||
("dayweek", -4.0661736852554045),
|
||||
("weekyear", -4.248495242049359),
|
||||
("hh:mmtomorrow", -4.471638793363569),
|
||||
("tomorrowat <time-of-day>", -3.912023005428146),
|
||||
("named-daythis <cycle>", -4.471638793363569),
|
||||
("named-daythe <day-of-month> (ordinal)", -5.1647859739235145),
|
||||
("at <time-of-day>tomorrow", -4.75932086581535),
|
||||
("last <cycle> of <time>year", -4.248495242049359),
|
||||
-5.150397236471415),
|
||||
("dayweek", -4.051784947803305),
|
||||
("weekyear", -4.23410650459726),
|
||||
("hh:mmtomorrow", -4.457250055911469),
|
||||
("tomorrowat <time-of-day>", -3.8976342679760467),
|
||||
("named-daythis <cycle>", -4.457250055911469),
|
||||
("named-daythe <day-of-month> (ordinal)", -5.150397236471415),
|
||||
("at <time-of-day>tomorrow", -4.74493212836325),
|
||||
("last <cycle> of <time>year", -4.23410650459726),
|
||||
("<day-of-month> (non ordinal) <named-month>year",
|
||||
-4.75932086581535),
|
||||
("yearminute", -5.1647859739235145)],
|
||||
-4.74493212836325),
|
||||
("yearminute", -5.150397236471415)],
|
||||
n = 136},
|
||||
koData =
|
||||
ClassData{prior = -1.034370019939756, unseen = -5.43372200355424,
|
||||
ClassData{prior = -1.0889034745411488, unseen = -5.356586274672012,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("named-daynamed-month", -4.736198448394496),
|
||||
("dayhour", -3.2321210516182215),
|
||||
("daymonth", -2.133508762950112),
|
||||
("monthday", -3.8199077165203406),
|
||||
("monthyear", -3.8199077165203406),
|
||||
[("named-daynamed-month", -4.658710952916121),
|
||||
("dayhour", -3.154633556139847),
|
||||
("daymonth", -2.0560212674717375),
|
||||
("monthday", -3.742420221041966),
|
||||
("monthyear", -3.742420221041966),
|
||||
("intersect by \"of\", \"from\", \"'s\"year",
|
||||
-3.4834354798991276),
|
||||
("named-dayhh:mm", -4.736198448394496),
|
||||
("dd/mmat <time-of-day>", -3.8199077165203406),
|
||||
("hourhour", -3.4834354798991276),
|
||||
("dayyear", -3.4834354798991276),
|
||||
("named-daythis <time>", -2.596132284898225),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-4.330733340286331),
|
||||
("minutemonth", -4.330733340286331),
|
||||
("named-monthyear", -3.8199077165203406),
|
||||
-3.405947984420753),
|
||||
("named-dayhh:mm", -4.658710952916121),
|
||||
("dd/mmat <time-of-day>", -3.742420221041966),
|
||||
("hourhour", -3.405947984420753),
|
||||
("dayyear", -3.405947984420753),
|
||||
("named-daythis <time>", -2.5186447894198505),
|
||||
("named-monthyear", -3.742420221041966),
|
||||
("in|during the <part-of-day>until <time-of-day>",
|
||||
-4.330733340286331),
|
||||
-4.253245844807957),
|
||||
("absorption of , after named daynamed-month",
|
||||
-3.6375861597263857),
|
||||
-3.5600986642480117),
|
||||
("named-dayfrom <datetime> - <datetime> (interval)",
|
||||
-4.736198448394496),
|
||||
("<hour-of-day> <integer> (as relative minutes)named-month",
|
||||
-4.330733340286331),
|
||||
-4.658710952916121),
|
||||
("named-dayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.736198448394496),
|
||||
("until <time-of-day>on <date>", -4.736198448394496),
|
||||
("dayminute", -3.349904087274605),
|
||||
("minuteday", -3.2321210516182215),
|
||||
-4.658710952916121),
|
||||
("until <time-of-day>on <date>", -4.658710952916121),
|
||||
("dayminute", -3.2724165917962305),
|
||||
("minuteday", -3.154633556139847),
|
||||
("named-daybetween <time-of-day> and <time-of-day> (interval)",
|
||||
-4.736198448394496),
|
||||
("named-dayon <date>", -4.736198448394496),
|
||||
("named-dayat <time-of-day>", -3.8199077165203406),
|
||||
("hh:mmon <date>", -3.349904087274605),
|
||||
-4.658710952916121),
|
||||
("named-dayon <date>", -4.658710952916121),
|
||||
("named-dayat <time-of-day>", -3.742420221041966),
|
||||
("hh:mmon <date>", -3.2724165917962305),
|
||||
("named-daybetween <datetime> and <datetime> (interval)",
|
||||
-4.736198448394496),
|
||||
-4.658710952916121),
|
||||
("named-month<day-of-month> (non ordinal) <named-month>",
|
||||
-3.8199077165203406),
|
||||
-3.742420221041966),
|
||||
("<named-month> <day-of-month> (non ordinal)named-month",
|
||||
-3.8199077165203406),
|
||||
("this <part-of-day>until <time-of-day>", -4.330733340286331),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-4.330733340286331),
|
||||
("tomorrownoon", -4.736198448394496),
|
||||
("this <time>until <time-of-day>", -4.330733340286331),
|
||||
("minuteyear", -4.330733340286331),
|
||||
("yearminute", -4.330733340286331)],
|
||||
n = 75}}),
|
||||
-3.742420221041966),
|
||||
("this <part-of-day>until <time-of-day>", -4.253245844807957),
|
||||
("tomorrownoon", -4.658710952916121),
|
||||
("this <time>until <time-of-day>", -4.253245844807957)],
|
||||
n = 69}}),
|
||||
("<ordinal> <cycle> of <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
||||
@ -852,18 +844,17 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.9775343571148737, unseen = -3.713572066704308,
|
||||
ClassData{prior = -0.9057086225436182, unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList [("integer (numeric)", -2.5317807984289897e-2)],
|
||||
n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.47198579044972677,
|
||||
unseen = -4.189654742026425,
|
||||
ClassData{prior = -0.5179430915348547, unseen = -4.07753744390572,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.24256163717131135),
|
||||
("integer (0..19)", -1.5353299402803784)],
|
||||
n = 63}}),
|
||||
[("integer (numeric)", -0.27625337662815824),
|
||||
("integer (0..19)", -1.4213856809311607)],
|
||||
n = 56}}),
|
||||
("year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.1431008436406733, unseen = -3.332204510175204,
|
||||
@ -1306,35 +1297,28 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8362480242006186,
|
||||
unseen = -3.6888794541139363,
|
||||
ClassData{prior = -0.6931471805599453, unseen = -3.58351893845611,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("minuteminute", -1.466337068793427),
|
||||
("hh:mmhh:mm", -1.466337068793427),
|
||||
("dayday", -1.8718021769015913),
|
||||
[("minuteminute", -1.3581234841531944),
|
||||
("hh:mmhh:mm", -1.3581234841531944),
|
||||
("dayday", -1.7635885922613588),
|
||||
("<day-of-month> (non ordinal) <named-month><day-of-month> (non ordinal) <named-month>",
|
||||
-1.8718021769015913)],
|
||||
-1.7635885922613588)],
|
||||
n = 13},
|
||||
koData =
|
||||
ClassData{prior = -0.5679840376059393, unseen = -3.871201010907891,
|
||||
ClassData{prior = -0.6931471805599453, unseen = -3.58351893845611,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("monthday", -2.0583881324820035),
|
||||
("minuteminute", -1.9042374526547454),
|
||||
("hh:mmhh:mm", -3.1570004211501135),
|
||||
("dayyear", -2.751535313041949),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-2.751535313041949),
|
||||
("hh:mmintersect", -2.0583881324820035),
|
||||
("dd/mmyear", -2.751535313041949),
|
||||
[("monthday", -1.7635885922613588),
|
||||
("minuteminute", -1.6094379124341003),
|
||||
("hh:mmhh:mm", -2.8622008809294686),
|
||||
("dayyear", -2.456735772821304),
|
||||
("hh:mmintersect", -1.7635885922613588),
|
||||
("dd/mmyear", -2.456735772821304),
|
||||
("named-month<day-of-month> (non ordinal) <named-month>",
|
||||
-2.0583881324820035),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-2.751535313041949),
|
||||
("minuteyear", -2.751535313041949),
|
||||
("yearminute", -2.751535313041949)],
|
||||
n = 17}}),
|
||||
-1.7635885922613588)],
|
||||
n = 13}}),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8109302162163288, unseen = -3.044522437723423,
|
||||
@ -1552,17 +1536,6 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 7}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.2443240998495033,
|
||||
|
@ -177,22 +177,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("at <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.14058195062118944,
|
||||
unseen = -4.7535901911063645,
|
||||
ClassData{prior = -0.13580154115906176,
|
||||
unseen = -4.787491742782046,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<ordinal> (as hour)", -1.5260563034950494),
|
||||
("<integer> (latent time-of-day)", -2.3470368555648795),
|
||||
("about <time-of-day>", -4.051784947803305),
|
||||
("hh:mm", -3.6463198396951406),
|
||||
("<time-of-day> rano", -2.953172659135195),
|
||||
("hour", -0.832909122935104),
|
||||
[("<ordinal> (as hour)", -1.4832866271072003),
|
||||
("<integer> (latent time-of-day)", -2.381228220313159),
|
||||
("about <time-of-day>", -4.085976312551584),
|
||||
("hh:mm", -3.6805112044434196),
|
||||
("<time-of-day> rano", -2.987364023883474),
|
||||
("hour", -0.827879774530102),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocy",
|
||||
-2.26002547857525),
|
||||
("minute", -3.1354942159291497)],
|
||||
n = 53},
|
||||
-2.2942168433235293),
|
||||
("minute", -3.169685580677429)],
|
||||
n = 55},
|
||||
koData =
|
||||
ClassData{prior = -2.031432322493475, unseen = -3.258096538021482,
|
||||
ClassData{prior = -2.063693184711697, unseen = -3.258096538021482,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<ordinal> (as hour)", -1.8325814637483102),
|
||||
@ -429,230 +429,225 @@ classifiers
|
||||
n = 1}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.32992437765008176,
|
||||
unseen = -6.284134161070802,
|
||||
ClassData{prior = -0.3189150921417123, unseen = -6.280395838960195,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Tuesdayon <date>", -4.672828834461907),
|
||||
("Sundaylast <cycle>", -5.183654458227897),
|
||||
("Fridaynext <cycle>", -5.589119566336061),
|
||||
[("Tuesdayon <date>", -4.669083511731744),
|
||||
("Sundaylast <cycle>", -5.179909135497735),
|
||||
("Fridaynext <cycle>", -5.585374243605899),
|
||||
("<datetime> - <datetime> (interval)on <date>",
|
||||
-5.183654458227897),
|
||||
-5.179909135497735),
|
||||
("mm/dd<time-of-day> popo\322udniu/wieczorem/w nocy",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("<hour-of-day> - <hour-of-day> (interval)on <date>",
|
||||
-5.183654458227897),
|
||||
-5.179909135497735),
|
||||
("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-5.183654458227897),
|
||||
("hourday", -3.7973600971080064),
|
||||
("dayhour", -2.7269186854065928),
|
||||
("daymonth", -3.7973600971080064),
|
||||
-5.179909135497735),
|
||||
("hourday", -3.7936147743778443),
|
||||
("dayhour", -2.7231733626764307),
|
||||
("daymonth", -3.7936147743778443),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocyabsorption of , after named day",
|
||||
-4.672828834461907),
|
||||
("TuesdaySeptember", -5.589119566336061),
|
||||
("monthyear", -3.104212916548061),
|
||||
("Wednesdayintersect", -5.183654458227897),
|
||||
-4.669083511731744),
|
||||
("TuesdaySeptember", -5.585374243605899),
|
||||
("monthyear", -3.100467593817899),
|
||||
("Wednesdayintersect", -5.179909135497735),
|
||||
("from <hour-of-day> - <hour-of-day> (interval)on a named-day",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("from <time-of-day> - <time-of-day> (interval)on a named-day",
|
||||
-5.589119566336061),
|
||||
("intersecthh:mm", -5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("intersecthh:mm", -5.585374243605899),
|
||||
("from <datetime> - <datetime> (interval)on a named-day",
|
||||
-5.589119566336061),
|
||||
("Wednesdaynext <cycle>", -5.183654458227897),
|
||||
("Tuesdaythis <cycle>", -5.589119566336061),
|
||||
("Saturday<time> <part-of-day>", -5.589119566336061),
|
||||
("Marchyear", -5.183654458227897),
|
||||
("Saturdayat <time-of-day>", -5.183654458227897),
|
||||
("on a named-dayat <time-of-day>", -5.183654458227897),
|
||||
("at <time-of-day>on a named-day", -5.589119566336061),
|
||||
("<time> <part-of-day>on a named-day", -5.183654458227897),
|
||||
("Wednesdayon <date>", -4.490507277667952),
|
||||
("on a named-day<time> <part-of-day>", -5.589119566336061),
|
||||
("last <day-of-week> of <time>year", -5.589119566336061),
|
||||
("today<time> <part-of-day>", -5.589119566336061),
|
||||
("todayat <time-of-day>", -5.589119566336061),
|
||||
("on <date>at <time-of-day>", -5.183654458227897),
|
||||
("dayday", -2.9500622367208025),
|
||||
("on <date><time> <part-of-day>", -5.589119566336061),
|
||||
("intersect by \",\"hh:mm", -4.672828834461907),
|
||||
("mm/ddat <time-of-day>", -4.8959723857761155),
|
||||
("WednesdayOctober", -5.183654458227897),
|
||||
("last <cycle> <time>year", -4.672828834461907),
|
||||
-5.585374243605899),
|
||||
("Wednesdaynext <cycle>", -5.179909135497735),
|
||||
("Tuesdaythis <cycle>", -5.585374243605899),
|
||||
("Saturday<time> <part-of-day>", -5.585374243605899),
|
||||
("Marchyear", -5.179909135497735),
|
||||
("Saturdayat <time-of-day>", -5.179909135497735),
|
||||
("on a named-dayat <time-of-day>", -5.179909135497735),
|
||||
("at <time-of-day>on a named-day", -5.585374243605899),
|
||||
("<time> <part-of-day>on a named-day", -5.179909135497735),
|
||||
("Wednesdayon <date>", -4.48676195493779),
|
||||
("on a named-day<time> <part-of-day>", -5.585374243605899),
|
||||
("last <day-of-week> of <time>year", -5.585374243605899),
|
||||
("today<time> <part-of-day>", -5.585374243605899),
|
||||
("todayat <time-of-day>", -5.585374243605899),
|
||||
("on <date>at <time-of-day>", -5.179909135497735),
|
||||
("dayday", -2.9463169139906404),
|
||||
("on <date><time> <part-of-day>", -5.585374243605899),
|
||||
("intersect by \",\"hh:mm", -4.669083511731744),
|
||||
("mm/ddat <time-of-day>", -4.892227063045954),
|
||||
("WednesdayOctober", -5.179909135497735),
|
||||
("last <cycle> <time>year", -4.669083511731744),
|
||||
("intersect<named-month> <day-of-month> (non ordinal)",
|
||||
-4.8959723857761155),
|
||||
-4.892227063045954),
|
||||
("intersect<day-of-month> (non ordinal) <named-month>",
|
||||
-4.8959723857761155),
|
||||
("dayyear", -3.5742165457937967),
|
||||
-4.892227063045954),
|
||||
("dayyear", -3.5704712230636346),
|
||||
("Wednesday<day-of-month>(ordinal) <named-month>",
|
||||
-5.589119566336061),
|
||||
("Thursday<time> <part-of-day>", -5.183654458227897),
|
||||
-5.585374243605899),
|
||||
("Thursday<time> <part-of-day>", -5.179909135497735),
|
||||
("<day-of-month>(ordinal) <named-month>year",
|
||||
-5.183654458227897),
|
||||
-5.179909135497735),
|
||||
("day-after-tomorrow (single-word)at <time-of-day>",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("absorption of , after named day<day-of-month>(ordinal) <named-month>",
|
||||
-4.085042169559787),
|
||||
("Tuesdaynext <cycle>", -5.589119566336061),
|
||||
-4.081296846829625),
|
||||
("Tuesdaynext <cycle>", -5.585374243605899),
|
||||
("tomorrow<time-of-day> popo\322udniu/wieczorem/w nocy",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.202825205216171),
|
||||
-4.199079882486009),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-4.8959723857761155),
|
||||
-4.892227063045954),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.8959723857761155),
|
||||
("tomorrowuntil <time-of-day>", -5.183654458227897),
|
||||
-4.892227063045954),
|
||||
("tomorrowuntil <time-of-day>", -5.179909135497735),
|
||||
("absorption of , after named day<day-of-month> (non ordinal) <named-month>",
|
||||
-4.085042169559787),
|
||||
-4.081296846829625),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocyintersect by \",\"",
|
||||
-4.672828834461907),
|
||||
("TuesdayOctober", -5.589119566336061),
|
||||
("last <day-of-week> <time>year", -5.183654458227897),
|
||||
-4.669083511731744),
|
||||
("TuesdayOctober", -5.585374243605899),
|
||||
("last <day-of-week> <time>year", -5.179909135497735),
|
||||
("Monday<day-of-month>(ordinal) <named-month>",
|
||||
-5.183654458227897),
|
||||
("Mondaythis <cycle>", -5.589119566336061),
|
||||
("<time-of-day> ranoon <date>", -5.183654458227897),
|
||||
("on <date><time-of-day> rano", -5.589119566336061),
|
||||
-5.179909135497735),
|
||||
("Mondaythis <cycle>", -5.585374243605899),
|
||||
("<time-of-day> ranoon <date>", -5.179909135497735),
|
||||
("on <date><time-of-day> rano", -5.585374243605899),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocytomorrow",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("from <time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocyFriday",
|
||||
-4.672828834461907),
|
||||
("at <time-of-day>intersect", -5.183654458227897),
|
||||
("dayminute", -3.979681653901961),
|
||||
("<time-of-day> ranoon a named-day", -5.183654458227897),
|
||||
-4.669083511731744),
|
||||
("at <time-of-day>intersect", -5.179909135497735),
|
||||
("dayminute", -3.975936331171799),
|
||||
("<time-of-day> ranoon a named-day", -5.179909135497735),
|
||||
("from <hour-of-day> - <hour-of-day> (interval)on <date>",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("from <datetime> - <datetime> (interval)on <date>",
|
||||
-5.589119566336061),
|
||||
("intersectyear", -5.183654458227897),
|
||||
("on a named-day<time-of-day> rano", -5.589119566336061),
|
||||
("<ordinal> <cycle> of <time>year", -5.589119566336061),
|
||||
("minuteday", -2.39044644878538),
|
||||
-5.585374243605899),
|
||||
("intersectyear", -5.179909135497735),
|
||||
("on a named-day<time-of-day> rano", -5.585374243605899),
|
||||
("<ordinal> <cycle> of <time>year", -5.585374243605899),
|
||||
("minuteday", -2.386701126055218),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.589119566336061),
|
||||
("Saturday<time-of-day> rano", -5.589119566336061),
|
||||
("Octoberyear", -3.884371474097636),
|
||||
("yearhh:mm", -5.589119566336061),
|
||||
("at <time-of-day>intersect by \",\"", -5.183654458227897),
|
||||
-5.585374243605899),
|
||||
("Saturday<time-of-day> rano", -5.585374243605899),
|
||||
("Octoberyear", -3.880626151367474),
|
||||
("yearhh:mm", -5.585374243605899),
|
||||
("at <time-of-day>intersect by \",\"", -5.179909135497735),
|
||||
("absorption of , after named dayintersect by \",\"",
|
||||
-5.183654458227897),
|
||||
("tomorrowexactly <time-of-day>", -4.8959723857761155),
|
||||
-5.179909135497735),
|
||||
("tomorrowexactly <time-of-day>", -4.892227063045954),
|
||||
("at <time-of-day>absorption of , after named day",
|
||||
-5.183654458227897),
|
||||
("Septemberyear", -4.672828834461907),
|
||||
("at <time-of-day>on <date>", -5.589119566336061),
|
||||
("on <date>year", -4.202825205216171),
|
||||
("dayweek", -3.643209417280748),
|
||||
("Tuesdayin <duration>", -5.589119566336061),
|
||||
("<time> <part-of-day>on <date>", -5.183654458227897),
|
||||
("weekyear", -4.336356597840693),
|
||||
("<ordinal> <cycle> <time>year", -5.183654458227897),
|
||||
("tomorrowat <time-of-day>", -5.589119566336061),
|
||||
("tomorrow<time> <part-of-day>", -5.589119566336061),
|
||||
("at <time-of-day>Friday", -5.183654458227897),
|
||||
-5.179909135497735),
|
||||
("Septemberyear", -4.669083511731744),
|
||||
("at <time-of-day>on <date>", -5.585374243605899),
|
||||
("on <date>year", -4.199079882486009),
|
||||
("dayweek", -3.639464094550586),
|
||||
("Tuesdayin <duration>", -5.585374243605899),
|
||||
("<time> <part-of-day>on <date>", -5.179909135497735),
|
||||
("weekyear", -4.332611275110531),
|
||||
("<ordinal> <cycle> <time>year", -5.179909135497735),
|
||||
("tomorrowat <time-of-day>", -5.585374243605899),
|
||||
("tomorrow<time> <part-of-day>", -5.585374243605899),
|
||||
("at <time-of-day>Friday", -5.179909135497735),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocyintersect",
|
||||
-4.672828834461907),
|
||||
-4.669083511731744),
|
||||
("<named-month> <day-of-month> (ordinal)year",
|
||||
-5.589119566336061),
|
||||
("tomorrow<time-of-day> rano", -5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("tomorrow<time-of-day> rano", -5.585374243605899),
|
||||
("<datetime> - <datetime> (interval)on a named-day",
|
||||
-5.183654458227897),
|
||||
("last <cycle> of <time>year", -5.183654458227897),
|
||||
-5.179909135497735),
|
||||
("last <cycle> of <time>year", -5.179909135497735),
|
||||
("<named-month> <day-of-month> (non ordinal)year",
|
||||
-5.589119566336061),
|
||||
-5.585374243605899),
|
||||
("<time-of-day> - <time-of-day> (interval)on a named-day",
|
||||
-5.183654458227897),
|
||||
-5.179909135497735),
|
||||
("<day-of-month> (non ordinal) <named-month>year",
|
||||
-5.183654458227897),
|
||||
-5.179909135497735),
|
||||
("<hour-of-day> - <hour-of-day> (interval)on a named-day",
|
||||
-5.183654458227897),
|
||||
("yearminute", -5.589119566336061)],
|
||||
-5.179909135497735),
|
||||
("yearminute", -5.585374243605899)],
|
||||
n = 197},
|
||||
koData =
|
||||
ClassData{prior = -1.2693226845343863, unseen = -5.69035945432406,
|
||||
ClassData{prior = -1.298053727675531, unseen = -5.662960480135946,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Tuesdayon <date>", -4.993828175779875),
|
||||
("<time-of-day> ranoby <time>", -4.58836306767171),
|
||||
[("Tuesdayon <date>", -4.966335035199676),
|
||||
("<time-of-day> ranoby <time>", -4.560869927091511),
|
||||
("<named-month> <day-of-month> (non ordinal)July",
|
||||
-4.993828175779875),
|
||||
-4.966335035199676),
|
||||
("Julyrelative minutes to|till|before <integer> (hour-of-day)",
|
||||
-4.993828175779875),
|
||||
("dayhour", -3.895215887111765),
|
||||
-4.966335035199676),
|
||||
("dayhour", -3.867722746531566),
|
||||
("July<day-of-month> (non ordinal) <named-month>",
|
||||
-4.993828175779875),
|
||||
("daymonth", -2.5959329029815037),
|
||||
("monthday", -4.58836306767171),
|
||||
("monthyear", -4.07753744390572),
|
||||
("Wednesdayintersect", -4.58836306767171),
|
||||
("<time> <part-of-day>until <time-of-day>", -4.58836306767171),
|
||||
("Marchyear", -4.300680995219929),
|
||||
("Wednesdayon <date>", -4.993828175779875),
|
||||
("absorption of , after named dayJuly", -4.993828175779875),
|
||||
-4.966335035199676),
|
||||
("daymonth", -2.5684397624013053),
|
||||
("monthday", -4.560869927091511),
|
||||
("monthyear", -4.050044303325521),
|
||||
("Wednesdayintersect", -4.560869927091511),
|
||||
("<time> <part-of-day>until <time-of-day>", -4.560869927091511),
|
||||
("Marchyear", -4.273187854639731),
|
||||
("Wednesdayon <date>", -4.966335035199676),
|
||||
("absorption of , after named dayJuly", -4.966335035199676),
|
||||
("<time> <part-of-day><time> <part-of-day>",
|
||||
-4.300680995219929),
|
||||
("mm/ddat <time-of-day>", -4.993828175779875),
|
||||
("hourhour", -4.07753744390572),
|
||||
("<time> <part-of-day>by <time>", -4.58836306767171),
|
||||
("dayyear", -3.7410652072845063),
|
||||
("<time-of-day> ranoby the end of <time>", -4.58836306767171),
|
||||
-4.273187854639731),
|
||||
("mm/ddat <time-of-day>", -4.966335035199676),
|
||||
("hourhour", -4.050044303325521),
|
||||
("<time> <part-of-day>by <time>", -4.560869927091511),
|
||||
("dayyear", -3.713572066704308),
|
||||
("<time-of-day> ranoby the end of <time>", -4.560869927091511),
|
||||
("<named-month> <day-of-month> (non ordinal)until <time-of-day>",
|
||||
-4.993828175779875),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-4.58836306767171),
|
||||
("monthminute", -4.58836306767171),
|
||||
("minutemonth", -4.300680995219929),
|
||||
-4.966335035199676),
|
||||
("monthminute", -4.966335035199676),
|
||||
("minutemonth", -4.273187854639731),
|
||||
("Thursdayfrom <datetime> - <datetime> (interval)",
|
||||
-4.993828175779875),
|
||||
-4.966335035199676),
|
||||
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.993828175779875),
|
||||
("Aprilyear", -4.993828175779875),
|
||||
-4.966335035199676),
|
||||
("Aprilyear", -4.966335035199676),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocyintersect by \",\"",
|
||||
-4.58836306767171),
|
||||
("after <time-of-day>at <time-of-day>", -4.993828175779875),
|
||||
("SundayMarch", -4.993828175779875),
|
||||
("hh:mmby the end of <time>", -4.993828175779875),
|
||||
("daysecond", -4.58836306767171),
|
||||
("<time> <part-of-day>by the end of <time>", -4.58836306767171),
|
||||
("<time> <part-of-day><time-of-day> rano", -4.993828175779875),
|
||||
("<time-of-day> rano<time> <part-of-day>", -4.58836306767171),
|
||||
-4.560869927091511),
|
||||
("after <time-of-day>at <time-of-day>", -4.966335035199676),
|
||||
("SundayMarch", -4.966335035199676),
|
||||
("hh:mmby the end of <time>", -4.966335035199676),
|
||||
("daysecond", -4.560869927091511),
|
||||
("<time> <part-of-day>by the end of <time>",
|
||||
-4.560869927091511),
|
||||
("<time> <part-of-day><time-of-day> rano", -4.966335035199676),
|
||||
("<time-of-day> rano<time> <part-of-day>", -4.560869927091511),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-4.993828175779875),
|
||||
-4.966335035199676),
|
||||
("August<day-of-month> (non ordinal) <named-month>",
|
||||
-4.993828175779875),
|
||||
("at <time-of-day>intersect", -4.993828175779875),
|
||||
("dayminute", -4.58836306767171),
|
||||
-4.966335035199676),
|
||||
("at <time-of-day>intersect", -4.966335035199676),
|
||||
("dayminute", -4.560869927091511),
|
||||
("<named-month> <day-of-month> (non ordinal)by <time>",
|
||||
-4.993828175779875),
|
||||
("intersectyear", -3.7410652072845063),
|
||||
("intersectSeptember", -4.300680995219929),
|
||||
("minuteday", -3.289080083541449),
|
||||
("hh:mmon <date>", -4.58836306767171),
|
||||
("at <time-of-day>intersect by \",\"", -4.993828175779875),
|
||||
("MondayMarch", -4.993828175779875),
|
||||
-4.966335035199676),
|
||||
("intersectyear", -3.713572066704308),
|
||||
("intersectSeptember", -4.273187854639731),
|
||||
("minuteday", -3.2615869429612507),
|
||||
("hh:mmon <date>", -4.560869927091511),
|
||||
("at <time-of-day>intersect by \",\"", -4.966335035199676),
|
||||
("MondayMarch", -4.966335035199676),
|
||||
("<named-month> <day-of-month> (non ordinal)by the end of <time>",
|
||||
-4.993828175779875),
|
||||
("tomorrowexactly <time-of-day>", -4.993828175779875),
|
||||
("hoursecond", -3.122025998878283),
|
||||
-4.966335035199676),
|
||||
("tomorrowexactly <time-of-day>", -4.966335035199676),
|
||||
("hoursecond", -3.094532858298084),
|
||||
("absorption of , after named daySeptember",
|
||||
-4.993828175779875),
|
||||
("hh:mmon a named-day", -4.58836306767171),
|
||||
("Sundayon <date>", -4.58836306767171),
|
||||
("July<hour-of-day> <integer> (as relative minutes)",
|
||||
-4.993828175779875),
|
||||
("absorption of , after named dayFebruary", -3.895215887111765),
|
||||
("hh:mmby <time>", -4.993828175779875),
|
||||
("tomorrowat <time-of-day>", -4.993828175779875),
|
||||
("minutesecond", -4.58836306767171),
|
||||
-4.966335035199676),
|
||||
("hh:mmon a named-day", -4.560869927091511),
|
||||
("Sundayon <date>", -4.560869927091511),
|
||||
("absorption of , after named dayFebruary", -3.867722746531566),
|
||||
("hh:mmby <time>", -4.966335035199676),
|
||||
("tomorrowat <time-of-day>", -4.966335035199676),
|
||||
("minutesecond", -4.560869927091511),
|
||||
("<time-of-day> popo\322udniu/wieczorem/w nocyintersect",
|
||||
-4.58836306767171),
|
||||
("Tuesdayintersect", -4.58836306767171),
|
||||
("Sundayintersect", -4.58836306767171),
|
||||
("yearminute", -4.58836306767171)],
|
||||
n = 77}}),
|
||||
-4.560869927091511),
|
||||
("Tuesdayintersect", -4.560869927091511),
|
||||
("Sundayintersect", -4.560869927091511)],
|
||||
n = 74}}),
|
||||
("half after|past <integer> (hour-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
@ -902,7 +897,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<integer> (latent time-of-day)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4732877044469254,
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -3.7376696182833684,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -910,12 +905,13 @@ classifiers
|
||||
("fifteen", -3.0204248861443626)],
|
||||
n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.9753796482441617, unseen = -3.295836866004329,
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.12260232209233239),
|
||||
("one", -2.5649493574615367)],
|
||||
n = 23}}),
|
||||
[("integer (numeric)", -0.1466034741918754),
|
||||
("one", -2.3978952727983707)],
|
||||
n = 19}}),
|
||||
("nth <time> of <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5596157879354228, unseen = -2.833213344056216,
|
||||
@ -1855,37 +1851,33 @@ classifiers
|
||||
n = 3}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.1526795099383855, unseen = -3.332204510175204,
|
||||
ClassData{prior = -1.041453874828161, unseen = -3.258096538021482,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("minuteminute", -1.6863989535702288),
|
||||
("hh:mmhh:mm", -1.6863989535702288),
|
||||
("dayday", -2.1972245773362196),
|
||||
[("minuteminute", -1.6094379124341003),
|
||||
("hh:mmhh:mm", -1.6094379124341003),
|
||||
("dayday", -2.120263536200091),
|
||||
("<named-month> <day-of-month> (non ordinal)<named-month> <day-of-month> (non ordinal)",
|
||||
-2.1972245773362196)],
|
||||
-2.120263536200091)],
|
||||
n = 6},
|
||||
koData =
|
||||
ClassData{prior = -0.3794896217049037,
|
||||
unseen = -3.7376696182833684,
|
||||
ClassData{prior = -0.4353180712578455, unseen = -3.58351893845611,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<named-month> <day-of-month> (non ordinal)July",
|
||||
-3.0204248861443626),
|
||||
("daymonth", -2.6149597780361984),
|
||||
("about <time-of-day>noon", -3.0204248861443626),
|
||||
("minuteminute", -1.9218125974762528),
|
||||
("<time-of-day> rano<time-of-day> rano", -3.0204248861443626),
|
||||
("until <time-of-day>noon", -3.0204248861443626),
|
||||
("hh:mmhh:mm", -3.0204248861443626),
|
||||
("hourhour", -2.1041341542702074),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-2.6149597780361984),
|
||||
("hh:mmintersect", -2.1041341542702074),
|
||||
("at <time-of-day>noon", -3.0204248861443626),
|
||||
-2.8622008809294686),
|
||||
("daymonth", -2.456735772821304),
|
||||
("about <time-of-day>noon", -2.8622008809294686),
|
||||
("minuteminute", -1.7635885922613588),
|
||||
("<time-of-day> rano<time-of-day> rano", -2.8622008809294686),
|
||||
("until <time-of-day>noon", -2.8622008809294686),
|
||||
("hh:mmhh:mm", -2.8622008809294686),
|
||||
("hourhour", -1.9459101490553135),
|
||||
("hh:mmintersect", -1.9459101490553135),
|
||||
("at <time-of-day>noon", -2.8622008809294686),
|
||||
("<named-month> <day-of-month> (non ordinal)August",
|
||||
-3.0204248861443626),
|
||||
("yearminute", -2.6149597780361984)],
|
||||
n = 13}}),
|
||||
-2.8622008809294686)],
|
||||
n = 11}}),
|
||||
("Tuesday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -2231,23 +2223,16 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0986122886681098,
|
||||
unseen = -2.1972245773362196,
|
||||
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<ordinal> (as hour)twenty", -1.3862943611198906),
|
||||
("hour", -0.9808292530117262),
|
||||
("<ordinal> (as hour)fifteen", -1.3862943611198906)],
|
||||
[("at <time-of-day>fifteen", -1.252762968495368),
|
||||
("at <time-of-day>twenty", -1.252762968495368),
|
||||
("hour", -0.8472978603872037)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
unseen = -2.5649493574615367,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<integer> (latent time-of-day)integer (numeric)",
|
||||
-0.8754687373538999),
|
||||
("hour", -0.8754687373538999)],
|
||||
n = 4}}),
|
||||
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("23rd ordinal no space",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
|
@ -159,93 +159,85 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect by `da` or `de`",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.8588987720656835, unseen = -4.624972813284271,
|
||||
ClassData{prior = -1.8325814637483102, unseen = -4.574710978503383,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("day of month (1st)named-month", -3.228826155721369),
|
||||
("daymonth", -2.8233610476132043),
|
||||
[("day of month (1st)named-month", -3.1780538303479458),
|
||||
("daymonth", -2.772588722239781),
|
||||
("<day-of-month> de <named-month>two time tokens separated by \",\"2",
|
||||
-3.9219733362813143),
|
||||
-3.871201010907891),
|
||||
("<day-of-month> de <named-month>intersect",
|
||||
-3.9219733362813143),
|
||||
-3.871201010907891),
|
||||
("<day-of-month> de <named-month>two time tokens separated by \",\"",
|
||||
-3.9219733362813143),
|
||||
("dayday", -3.228826155721369),
|
||||
-3.871201010907891),
|
||||
("dayday", -3.1780538303479458),
|
||||
("dia <day-of-month> (non ordinal)named-month",
|
||||
-3.5165082281731497),
|
||||
("dayyear", -1.9760631872260008),
|
||||
("named-dayproximo <cycle> ", -3.9219733362813143),
|
||||
("dd-dd <month>(interval)year", -3.9219733362813143),
|
||||
("named-day<cycle> (que vem)", -3.9219733362813143),
|
||||
-3.4657359027997265),
|
||||
("dayyear", -1.9252908618525775),
|
||||
("named-dayproximo <cycle> ", -3.871201010907891),
|
||||
("dd-dd <month>(interval)year", -3.871201010907891),
|
||||
("named-day<cycle> (que vem)", -3.871201010907891),
|
||||
("two time tokens separated by \",\"2year",
|
||||
-3.5165082281731497),
|
||||
("intersectyear", -3.9219733362813143),
|
||||
("<day-of-month> de <named-month>year", -2.5356789751614235),
|
||||
("two time tokens separated by \",\"year", -3.5165082281731497),
|
||||
("dayweek", -3.228826155721369),
|
||||
("named-day<cycle> passado", -3.9219733362813143)],
|
||||
-3.4657359027997265),
|
||||
("intersectyear", -3.871201010907891),
|
||||
("<day-of-month> de <named-month>year", -2.4849066497880004),
|
||||
("two time tokens separated by \",\"year", -3.4657359027997265),
|
||||
("dayweek", -3.1780538303479458),
|
||||
("named-day<cycle> passado", -3.871201010907891)],
|
||||
n = 24},
|
||||
koData =
|
||||
ClassData{prior = -0.1694181519580468, unseen = -5.749392985908253,
|
||||
ClassData{prior = -0.1743533871447778, unseen = -5.707110264748875,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> <integer> (as relative minutes)intersect",
|
||||
-5.0530560099802075),
|
||||
("time-of-day (latent)<datetime> - <datetime> (interval)",
|
||||
-4.647590901872044),
|
||||
("hourday", -2.912989846483937),
|
||||
("monthday", -4.359908829420263),
|
||||
("monthyear", -3.548978613203934),
|
||||
("yearhour", -3.666761648860317),
|
||||
("houryear", -3.1071458609248945),
|
||||
[("time-of-day (latent)<datetime> - <datetime> (interval)",
|
||||
-4.605170185988091),
|
||||
("hourday", -2.870569130599985),
|
||||
("monthday", -4.31748811353631),
|
||||
("monthyear", -3.506557897319982),
|
||||
("yearhour", -3.624340932976365),
|
||||
("houryear", -3.0647251450409425),
|
||||
("time-of-day (latent)two time tokens separated by \",\"2",
|
||||
-4.647590901872044),
|
||||
("time-of-day (latent)intersect", -3.1071458609248945),
|
||||
-4.605170185988091),
|
||||
("time-of-day (latent)intersect", -3.0647251450409425),
|
||||
("year (latent)<time-of-day> <part-of-day>",
|
||||
-5.0530560099802075),
|
||||
("year (latent)intersect", -4.359908829420263),
|
||||
-5.0106352940962555),
|
||||
("year (latent)intersect", -4.31748811353631),
|
||||
("intersect by `da` or `de`two time tokens separated by \",\"",
|
||||
-5.0530560099802075),
|
||||
-5.0106352940962555),
|
||||
("year (latent)amanh\227 pela <part-of-day>",
|
||||
-5.0530560099802075),
|
||||
("hourmonth", -1.8750021796322622),
|
||||
-5.0106352940962555),
|
||||
("hourmonth", -1.8325814637483102),
|
||||
("time-of-day (latent)intersect by `da` or `de`",
|
||||
-3.261296540752153),
|
||||
("monthmonth", -5.0530560099802075),
|
||||
("dayyear", -5.0530560099802075),
|
||||
("year (latent)named-month", -2.345005808877998),
|
||||
("minutemonth", -4.359908829420263),
|
||||
("named-monthyear", -3.548978613203934),
|
||||
("year (latent)<dim time> da manha", -5.0530560099802075),
|
||||
-3.2188758248682006),
|
||||
("monthmonth", -5.0106352940962555),
|
||||
("dayyear", -5.0106352940962555),
|
||||
("year (latent)named-month", -2.3025850929940455),
|
||||
("named-monthyear", -3.506557897319982),
|
||||
("year (latent)<dim time> da manha", -5.0106352940962555),
|
||||
("de <datetime> - <datetime> (interval)named-month",
|
||||
-5.0530560099802075),
|
||||
("\224s <time-of-day>named-month", -4.647590901872044),
|
||||
("<hour-of-day> <integer> (as relative minutes)named-month",
|
||||
-5.0530560099802075),
|
||||
("yearmonth", -2.345005808877998),
|
||||
("two time tokens separated by \",\"2year", -4.647590901872044),
|
||||
("intersect by `da` or `de`intersect", -5.0530560099802075),
|
||||
("intersectyear", -5.0530560099802075),
|
||||
-5.0106352940962555),
|
||||
("\224s <time-of-day>named-month", -4.605170185988091),
|
||||
("yearmonth", -2.3025850929940455),
|
||||
("two time tokens separated by \",\"2year", -4.605170185988091),
|
||||
("intersect by `da` or `de`intersect", -5.0106352940962555),
|
||||
("intersectyear", -5.0106352940962555),
|
||||
("intersect by `da` or `de`two time tokens separated by \",\"2",
|
||||
-5.0530560099802075),
|
||||
("<day-of-month> de <named-month>year", -5.0530560099802075),
|
||||
("two time tokens separated by \",\"year", -4.647590901872044),
|
||||
-5.0106352940962555),
|
||||
("<day-of-month> de <named-month>year", -5.0106352940962555),
|
||||
("two time tokens separated by \",\"year", -4.605170185988091),
|
||||
("time-of-day (latent)two time tokens separated by \",\"",
|
||||
-4.647590901872044),
|
||||
("intersect by `da` or `de`year", -3.4436180975461075),
|
||||
-4.605170185988091),
|
||||
("intersect by `da` or `de`year", -3.506557897319982),
|
||||
("named-monthtwo time tokens separated by \",\"2",
|
||||
-5.0530560099802075),
|
||||
-5.0106352940962555),
|
||||
("year (latent)<datetime> - <datetime> (interval)",
|
||||
-4.647590901872044),
|
||||
("yearday", -5.0530560099802075),
|
||||
("named-monthintersect", -5.0530560099802075),
|
||||
("<hour-of-day> <integer> (as relative minutes)intersect by `da` or `de`",
|
||||
-5.0530560099802075),
|
||||
("minuteyear", -5.0530560099802075),
|
||||
-4.605170185988091),
|
||||
("yearday", -5.0106352940962555),
|
||||
("named-monthintersect", -5.0106352940962555),
|
||||
("named-monthtwo time tokens separated by \",\"",
|
||||
-5.0530560099802075),
|
||||
("time-of-day (latent)named-month", -2.3789073605536792)],
|
||||
n = 130}}),
|
||||
-5.0106352940962555),
|
||||
("time-of-day (latent)named-month", -2.336486644669727)],
|
||||
n = 126}}),
|
||||
("<hour-of-day> and half",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.1354942159291497,
|
||||
@ -398,123 +390,120 @@ classifiers
|
||||
n = 7}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.7215851158804788, unseen = -5.14166355650266,
|
||||
ClassData{prior = -0.702716631576096, unseen = -5.1298987149230735,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<day-of-month> de <named-month>in the <part-of-day>",
|
||||
-4.037186148382152),
|
||||
("dayhour", -2.3632097148104805),
|
||||
-4.02535169073515),
|
||||
("dayhour", -2.3513752571634776),
|
||||
("<day-of-month> de <named-month>two time tokens separated by \",\"2",
|
||||
-4.442651256490317),
|
||||
-4.430816798843313),
|
||||
("nowquinze para as <hour-of-day> (as relative minutes)",
|
||||
-4.442651256490317),
|
||||
("intersectnamed-day", -4.442651256490317),
|
||||
("now\224s <time-of-day>", -4.037186148382152),
|
||||
-4.430816798843313),
|
||||
("intersectnamed-day", -4.430816798843313),
|
||||
("now\224s <time-of-day>", -4.02535169073515),
|
||||
("<day-of-month> de <named-month>intersect",
|
||||
-4.442651256490317),
|
||||
("now<hour-of-day> and 3/4", -4.442651256490317),
|
||||
("intersect by `da` or `de`named-day", -4.442651256490317),
|
||||
-4.430816798843313),
|
||||
("now<hour-of-day> and 3/4", -4.430816798843313),
|
||||
("intersect by `da` or `de`named-day", -4.430816798843313),
|
||||
("<day-of-month> de <named-month>two time tokens separated by \",\"",
|
||||
-4.442651256490317),
|
||||
("dayday", -2.9385738597140425),
|
||||
("hourhour", -4.442651256490317),
|
||||
("named-day\224s <time-of-day>", -4.442651256490317),
|
||||
("dayyear", -2.4277482359480516),
|
||||
("minutehour", -3.1898882879949486),
|
||||
-4.430816798843313),
|
||||
("dayday", -2.9267394020670396),
|
||||
("hourhour", -4.430816798843313),
|
||||
("named-day\224s <time-of-day>", -4.430816798843313),
|
||||
("dayyear", -2.4159137783010487),
|
||||
("minutehour", -3.1780538303479458),
|
||||
("<hour-of-day> and quinzein the <part-of-day>",
|
||||
-4.037186148382152),
|
||||
("de <year>named-day", -4.442651256490317),
|
||||
-4.02535169073515),
|
||||
("de <year>named-day", -4.430816798843313),
|
||||
("intersect by `da` or `de`in the <part-of-day>",
|
||||
-4.02535169073515),
|
||||
("now<hour-of-day> and <relative minutes>", -4.430816798843313),
|
||||
("named-dayin the <part-of-day>", -4.430816798843313),
|
||||
("tomorrow<time-of-day> horas", -4.02535169073515),
|
||||
("now<integer> para as <hour-of-day> (as relative minutes)",
|
||||
-4.430816798843313),
|
||||
("\224s <time-of-day>in the <part-of-day>",
|
||||
-3.7376696182833684),
|
||||
("named-dayintersect", -4.430816798843313),
|
||||
("named-dayamanh\227 pela <part-of-day>", -4.430816798843313),
|
||||
("dayminute", -3.1780538303479458),
|
||||
("named-dayintersect by `da` or `de`", -4.430816798843313),
|
||||
("yearnamed-day", -4.430816798843313),
|
||||
("dd-dd <month>(interval)de <year>", -4.430816798843313),
|
||||
("named-day<day-of-month> de <named-month>",
|
||||
-4.430816798843313),
|
||||
("named-day<time-of-day> <part-of-day>", -4.430816798843313),
|
||||
("dia <day-of-month> de <named-month>in the <part-of-day>",
|
||||
-4.02535169073515),
|
||||
("yearday", -4.02535169073515),
|
||||
("named-day<dim time> da manha", -4.430816798843313),
|
||||
("two time tokens separated by \",\"de <year>",
|
||||
-4.02535169073515),
|
||||
("dd[/-]mmyear", -4.430816798843313),
|
||||
("<day-of-month> de <named-month>de <year>",
|
||||
-3.044522437723423),
|
||||
("tomorrowdepois das <time-of-day>", -4.02535169073515),
|
||||
("<hour-of-day> and <relative minutes>in the <part-of-day>",
|
||||
-4.02535169073515),
|
||||
("two time tokens separated by \",\"2de <year>",
|
||||
-4.02535169073515),
|
||||
("intersectde <year>", -4.430816798843313)],
|
||||
n = 52},
|
||||
koData =
|
||||
ClassData{prior = -0.6836684366054016, unseen = -5.14166355650266,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hourday", -2.9385738597140425),
|
||||
("dayhour", -3.056356895370426),
|
||||
("daymonth", -4.442651256490317),
|
||||
("monthday", -3.3440389678222067),
|
||||
("named-month\224s <time-of-day>", -4.442651256490317),
|
||||
("monthyear", -2.9385738597140425),
|
||||
("intersectnamed-day", -4.037186148382152),
|
||||
("now\224s <time-of-day>", -4.037186148382152),
|
||||
("houryear", -2.496741107435003),
|
||||
("<time-of-day> am|pm<day-of-month> de <named-month>",
|
||||
-4.442651256490317),
|
||||
("intersect by `da` or `de`named-day", -3.5263605246161616),
|
||||
("monthhour", -3.1898882879949486),
|
||||
("intersect by `da` or `de`two time tokens separated by \",\"",
|
||||
-4.442651256490317),
|
||||
("hourmonth", -4.442651256490317),
|
||||
("<time-of-day> am|pmintersect by `da` or `de`",
|
||||
-4.442651256490317),
|
||||
("dayyear", -4.442651256490317),
|
||||
("intersect by `da` or `de`\224s <time-of-day>",
|
||||
-4.442651256490317),
|
||||
("intersect by `da` or `de`in the <part-of-day>",
|
||||
-4.037186148382152),
|
||||
("now<hour-of-day> and <relative minutes>", -4.442651256490317),
|
||||
("named-dayin the <part-of-day>", -4.442651256490317),
|
||||
("tomorrow<time-of-day> horas", -4.037186148382152),
|
||||
("now<integer> para as <hour-of-day> (as relative minutes)",
|
||||
-4.442651256490317),
|
||||
("\224s <time-of-day>in the <part-of-day>",
|
||||
-3.7495040759303713),
|
||||
("daysecond", -4.442651256490317),
|
||||
("named-dayright now", -4.442651256490317),
|
||||
("named-dayintersect", -4.442651256490317),
|
||||
("named-dayamanh\227 pela <part-of-day>", -4.442651256490317),
|
||||
("dayminute", -3.1898882879949486),
|
||||
("named-dayintersect by `da` or `de`", -4.442651256490317),
|
||||
("yearnamed-day", -4.442651256490317),
|
||||
("dd-dd <month>(interval)de <year>", -4.442651256490317),
|
||||
("named-day<day-of-month> de <named-month>",
|
||||
-4.442651256490317),
|
||||
("named-day<time-of-day> <part-of-day>", -4.442651256490317),
|
||||
("dia <day-of-month> de <named-month>in the <part-of-day>",
|
||||
-4.037186148382152),
|
||||
("yearday", -4.037186148382152),
|
||||
("named-day<dim time> da manha", -4.442651256490317),
|
||||
("two time tokens separated by \",\"de <year>",
|
||||
-4.037186148382152),
|
||||
("dd[/-]mmyear", -4.442651256490317),
|
||||
("<day-of-month> de <named-month>de <year>",
|
||||
-3.056356895370426),
|
||||
("tomorrowdepois das <time-of-day>", -4.037186148382152),
|
||||
("<hour-of-day> and <relative minutes>in the <part-of-day>",
|
||||
-4.037186148382152),
|
||||
("two time tokens separated by \",\"2de <year>",
|
||||
-4.037186148382152),
|
||||
("intersectde <year>", -4.442651256490317)],
|
||||
n = 52},
|
||||
koData =
|
||||
ClassData{prior = -0.6654956492294354, unseen = -5.176149732573829,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hourday", -2.9732594177019323),
|
||||
("dayhour", -3.0910424533583156),
|
||||
("daymonth", -4.477336814478207),
|
||||
("monthday", -3.378724525810097),
|
||||
("named-month\224s <time-of-day>", -4.477336814478207),
|
||||
("monthyear", -2.9732594177019323),
|
||||
("intersectnamed-day", -4.071871706370042),
|
||||
("now\224s <time-of-day>", -4.071871706370042),
|
||||
("houryear", -2.531426665422893),
|
||||
("<time-of-day> am|pm<day-of-month> de <named-month>",
|
||||
-4.477336814478207),
|
||||
("intersect by `da` or `de`named-day", -3.5610460826040513),
|
||||
("monthhour", -3.2245738459828384),
|
||||
("intersect by `da` or `de`two time tokens separated by \",\"",
|
||||
-4.477336814478207),
|
||||
("hourmonth", -4.477336814478207),
|
||||
("<time-of-day> am|pmintersect by `da` or `de`",
|
||||
-4.477336814478207),
|
||||
("dayyear", -4.477336814478207),
|
||||
("intersect by `da` or `de`\224s <time-of-day>",
|
||||
-4.477336814478207),
|
||||
("intersect by `da` or `de`in the <part-of-day>",
|
||||
-4.071871706370042),
|
||||
("now<hour-of-day> and <relative minutes>", -4.477336814478207),
|
||||
("daysecond", -4.477336814478207),
|
||||
("named-dayright now", -4.477336814478207),
|
||||
("named-dayintersect", -4.477336814478207),
|
||||
("dayminute", -4.071871706370042),
|
||||
("named-monthde <year>", -2.9732594177019323),
|
||||
("intersect by `da` or `de`intersect", -4.477336814478207),
|
||||
("dayminute", -4.037186148382152),
|
||||
("named-monthde <year>", -2.9385738597140425),
|
||||
("intersect by `da` or `de`intersect", -4.442651256490317),
|
||||
("intersect by `da` or `de`two time tokens separated by \",\"2",
|
||||
-4.477336814478207),
|
||||
("named-dayintersect by `da` or `de`", -3.378724525810097),
|
||||
("named-monthin the <part-of-day>", -4.071871706370042),
|
||||
-4.442651256490317),
|
||||
("named-dayintersect by `da` or `de`", -3.3440389678222067),
|
||||
("named-monthin the <part-of-day>", -4.037186148382152),
|
||||
("named-monthtwo time tokens separated by \",\"2",
|
||||
-4.477336814478207),
|
||||
-4.442651256490317),
|
||||
("two time tokens separated by \",\"de <year>",
|
||||
-4.071871706370042),
|
||||
("intersect by `da` or `de`de <year>", -2.867898902044106),
|
||||
("named-monthintersect", -4.477336814478207),
|
||||
-4.037186148382152),
|
||||
("intersect by `da` or `de`de <year>", -2.9385738597140425),
|
||||
("named-monthintersect", -4.442651256490317),
|
||||
("<day-of-month> de <named-month>\224s <time-of-day>",
|
||||
-4.477336814478207),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-4.477336814478207),
|
||||
-4.442651256490317),
|
||||
("<day-of-month> de <named-month>de <year>",
|
||||
-4.477336814478207),
|
||||
-4.442651256490317),
|
||||
("two time tokens separated by \",\"2de <year>",
|
||||
-4.071871706370042),
|
||||
("intersectde <year>", -4.477336814478207),
|
||||
("minuteyear", -4.071871706370042),
|
||||
-4.037186148382152),
|
||||
("intersectde <year>", -4.442651256490317),
|
||||
("named-monthtwo time tokens separated by \",\"",
|
||||
-4.477336814478207)],
|
||||
n = 55}}),
|
||||
-4.442651256490317)],
|
||||
n = 53}}),
|
||||
("season",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
@ -857,21 +846,20 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.9650808960435872, unseen = -3.332204510175204,
|
||||
ClassData{prior = -0.9328200338253656, unseen = -3.332204510175204,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.0986122886681098),
|
||||
("number (0..15)", -0.46262352194811296)],
|
||||
n = 24},
|
||||
koData =
|
||||
ClassData{prior = -0.4795730802618862,
|
||||
unseen = -3.7612001156935624,
|
||||
ClassData{prior = -0.4999559515290868, unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.4795730802618862),
|
||||
("number (0..15)", -1.0986122886681098),
|
||||
("number (20..90)", -3.044522437723423)],
|
||||
n = 39}}),
|
||||
[("integer (numeric)", -0.5108256237659907),
|
||||
("number (0..15)", -1.0498221244986778),
|
||||
("number (20..90)", -2.995732273553991)],
|
||||
n = 37}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2719337154836418, unseen = -3.713572066704308,
|
||||
@ -1160,44 +1148,40 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.8718021769015913,
|
||||
unseen = -3.2188758248682006,
|
||||
ClassData{prior = -1.791759469228055, unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("minuteminute", -2.4849066497880004),
|
||||
("dayday", -2.4849066497880004),
|
||||
[("minuteminute", -2.3978952727983707),
|
||||
("dayday", -2.3978952727983707),
|
||||
("hh(:|.|h)mm (time-of-day)hh(:|.|h)mm (time-of-day)",
|
||||
-2.4849066497880004),
|
||||
-2.3978952727983707),
|
||||
("<day-of-month> de <named-month><day-of-month> de <named-month>",
|
||||
-2.4849066497880004)],
|
||||
-2.3978952727983707)],
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -0.1670540846631662,
|
||||
unseen = -3.7612001156935624,
|
||||
ClassData{prior = -0.1823215567939546,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("hourday", -3.044522437723423),
|
||||
("dayhour", -3.044522437723423),
|
||||
("daymonth", -3.044522437723423),
|
||||
("monthday", -2.639057329615259),
|
||||
[("hourday", -2.9444389791664407),
|
||||
("dayhour", -2.9444389791664407),
|
||||
("daymonth", -2.9444389791664407),
|
||||
("monthday", -2.538973871058276),
|
||||
("<day-of-month> de <named-month>intersect by `da` or `de`",
|
||||
-2.639057329615259),
|
||||
("monthhour", -2.639057329615259),
|
||||
("monthmonth", -3.044522437723423),
|
||||
("hourhour", -3.044522437723423),
|
||||
("dayyear", -3.044522437723423),
|
||||
-2.538973871058276),
|
||||
("monthhour", -2.538973871058276),
|
||||
("monthmonth", -2.9444389791664407),
|
||||
("hourhour", -2.9444389791664407),
|
||||
("dayyear", -2.9444389791664407),
|
||||
("named-month<day-of-month> de <named-month>",
|
||||
-3.044522437723423),
|
||||
-2.9444389791664407),
|
||||
("intersect by `da` or `de`<day-of-month> de <named-month>",
|
||||
-2.639057329615259),
|
||||
-2.538973871058276),
|
||||
("intersect by `da` or `de`intersect by `da` or `de`",
|
||||
-2.639057329615259),
|
||||
("dd[/-]mmyear", -3.044522437723423),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-3.044522437723423),
|
||||
("named-monthintersect by `da` or `de`", -2.639057329615259),
|
||||
("minuteyear", -3.044522437723423)],
|
||||
n = 11}}),
|
||||
-2.538973871058276),
|
||||
("dd[/-]mmyear", -2.9444389791664407),
|
||||
("named-monthintersect by `da` or `de`", -2.538973871058276)],
|
||||
n = 10}}),
|
||||
("segundo (grain)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
@ -1311,17 +1295,6 @@ classifiers
|
||||
("<hour-of-day> and <relative minutes>", -2.120263536200091),
|
||||
("hour", -1.4271163556401458), ("minute", -2.120263536200091)],
|
||||
n = 7}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 2}}),
|
||||
("fazem <duration>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.772588722239781,
|
||||
|
@ -49,29 +49,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13353139262452263,
|
||||
unseen = -3.1354942159291497,
|
||||
ClassData{prior = 0.0, unseen = -3.044522437723423,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("daymonth", -1.9924301646902063),
|
||||
("martithe <day-of-month> (number)", -2.3978952727983707),
|
||||
("dayday", -1.2992829841302609),
|
||||
[("daymonth", -1.8971199848858813),
|
||||
("martithe <day-of-month> (number)", -2.3025850929940455),
|
||||
("dayday", -1.2039728043259361),
|
||||
("absorption of , after named day<day-of-month>(number) <named-month>",
|
||||
-1.9924301646902063),
|
||||
-1.8971199848858813),
|
||||
("absorption of , after named day<day-of-month> (non ordinal) <named-month>",
|
||||
-1.9924301646902063),
|
||||
-1.8971199848858813),
|
||||
("<named-day> <day-of-month> (number)februarie",
|
||||
-1.9924301646902063)],
|
||||
-1.8971199848858813)],
|
||||
n = 7},
|
||||
koData =
|
||||
ClassData{prior = -2.0794415416798357,
|
||||
unseen = -2.3978952727983707,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("iunie<hour-of-day> <integer> (as relative minutes)",
|
||||
-1.6094379124341003),
|
||||
("monthminute", -1.6094379124341003)],
|
||||
n = 1}}),
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<named-day> <day-of-month> (number)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
||||
@ -157,14 +150,6 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
||||
n = 1}}),
|
||||
("vineri",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -286,17 +271,6 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1}}),
|
||||
("<day-of-month>(number) <named-month>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
|
@ -302,150 +302,143 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("intersect",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4434925036974037, unseen = -5.84354441703136,
|
||||
ClassData{prior = -0.4131871542020747,
|
||||
unseen = -5.8289456176102075,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Onsdagthis <cycle>", -5.147494476813453),
|
||||
("Torsdag<time> timezone", -4.454347296253507),
|
||||
[("Onsdagthis <cycle>", -5.1328529268205045),
|
||||
("Torsdag<time> timezone", -4.43970574626056),
|
||||
("<datetime> - <datetime> (interval)on <date>",
|
||||
-4.048882188145344),
|
||||
-4.034240638152395),
|
||||
("<time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.048882188145344),
|
||||
("hourday", -5.147494476813453),
|
||||
("dayhour", -2.896202678206958),
|
||||
("daymonth", -3.0074283133171824),
|
||||
("monthyear", -3.132591456271188),
|
||||
-4.034240638152395),
|
||||
("hourday", -5.1328529268205045),
|
||||
("dayhour", -2.8815611282140097),
|
||||
("daymonth", -2.992786763324234),
|
||||
("monthyear", -3.1179499062782403),
|
||||
("Torsdagbetween <time-of-day> and <time-of-day> (interval)",
|
||||
-5.147494476813453),
|
||||
("Mandagon <date>", -5.147494476813453),
|
||||
("intersecthh:mm", -5.147494476813453),
|
||||
-5.1328529268205045),
|
||||
("Mandagon <date>", -5.1328529268205045),
|
||||
("intersecthh:mm", -5.1328529268205045),
|
||||
("Torsdagbetween <datetime> and <datetime> (interval)",
|
||||
-5.147494476813453),
|
||||
("Torsdagat <time-of-day>", -4.742029368705289),
|
||||
("Marsyear", -5.147494476813453),
|
||||
-5.1328529268205045),
|
||||
("Torsdagat <time-of-day>", -4.727387818712341),
|
||||
("Marsyear", -5.1328529268205045),
|
||||
("intersect by \"of\", \"from\", \"'s\"year",
|
||||
-4.742029368705289),
|
||||
("Oktoberyear", -3.5380565643793527),
|
||||
-4.727387818712341),
|
||||
("Oktoberyear", -3.5234150143864045),
|
||||
("Torsdagfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.742029368705289),
|
||||
-4.727387818712341),
|
||||
("Torsdagfrom <datetime> - <datetime> (interval)",
|
||||
-4.742029368705289),
|
||||
("last <day-of-week> of <time>year", -5.147494476813453),
|
||||
("todayat <time-of-day>", -4.742029368705289),
|
||||
("the <day-of-month> (ordinal)Februari", -5.147494476813453),
|
||||
("dayday", -3.275692299911862),
|
||||
("dd/mmat <time-of-day>", -4.231203744939298),
|
||||
("intersect by \",\"hh:mm", -4.231203744939298),
|
||||
("dayyear", -3.355735007585398),
|
||||
("tomorrow<time-of-day> sharp", -4.742029368705289),
|
||||
-4.727387818712341),
|
||||
("last <day-of-week> of <time>year", -5.1328529268205045),
|
||||
("todayat <time-of-day>", -4.727387818712341),
|
||||
("the <day-of-month> (ordinal)Februari", -5.1328529268205045),
|
||||
("dayday", -3.2610507499189136),
|
||||
("dd/mmat <time-of-day>", -4.21656219494635),
|
||||
("intersect by \",\"hh:mm", -4.21656219494635),
|
||||
("dayyear", -3.34109345759245),
|
||||
("tomorrow<time-of-day> sharp", -4.727387818712341),
|
||||
("<day-of-month>(ordinal) <named-month>year",
|
||||
-4.742029368705289),
|
||||
-4.727387818712341),
|
||||
("Onsdag<named-month> <day-of-month> (non ordinal)",
|
||||
-5.147494476813453),
|
||||
("Onsdagthis <time>", -4.454347296253507),
|
||||
-5.1328529268205045),
|
||||
("Onsdagthis <time>", -4.43970574626056),
|
||||
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
||||
-4.048882188145344),
|
||||
("tomorrowuntil <time-of-day>", -4.742029368705289),
|
||||
-4.034240638152395),
|
||||
("tomorrowuntil <time-of-day>", -4.727387818712341),
|
||||
("absorption of , after named day<day-of-month> (non ordinal) <named-month>",
|
||||
-4.454347296253507),
|
||||
("after <time-of-day>at <time-of-day>", -4.742029368705289),
|
||||
("the <day-of-month> (ordinal)Mars", -4.048882188145344),
|
||||
-4.43970574626056),
|
||||
("after <time-of-day>at <time-of-day>", -4.727387818712341),
|
||||
("the <day-of-month> (ordinal)Mars", -4.034240638152395),
|
||||
("intersect by \",\"<day-of-month> (non ordinal) <named-month>",
|
||||
-4.742029368705289),
|
||||
("Mandagthis <cycle>", -5.147494476813453),
|
||||
("tomorrowafter <time-of-day>", -4.742029368705289),
|
||||
-4.727387818712341),
|
||||
("Mandagthis <cycle>", -5.1328529268205045),
|
||||
("tomorrowafter <time-of-day>", -4.727387818712341),
|
||||
("from <time-of-day> - <time-of-day> (interval)on <date>",
|
||||
-4.231203744939298),
|
||||
("dayminute", -2.7961192196499756),
|
||||
-4.21656219494635),
|
||||
("dayminute", -2.7814776696570274),
|
||||
("from <datetime> - <datetime> (interval)on <date>",
|
||||
-4.454347296253507),
|
||||
("on <date>Mars", -4.048882188145344),
|
||||
("<ordinal> <cycle> of <time>year", -4.742029368705289),
|
||||
("minuteday", -2.5448047913690695),
|
||||
-4.43970574626056),
|
||||
("on <date>Mars", -4.034240638152395),
|
||||
("<ordinal> <cycle> of <time>year", -4.727387818712341),
|
||||
("minuteday", -2.5301632413761213),
|
||||
("absorption of , after named dayintersect",
|
||||
-5.147494476813453),
|
||||
("yearhh:mm", -5.147494476813453),
|
||||
("Tisdagthis <time>", -4.742029368705289),
|
||||
("Onsdagnext <cycle>", -5.147494476813453),
|
||||
-5.1328529268205045),
|
||||
("yearhh:mm", -5.1328529268205045),
|
||||
("Tisdagthis <time>", -4.727387818712341),
|
||||
("Onsdagnext <cycle>", -5.1328529268205045),
|
||||
("absorption of , after named dayintersect by \",\"",
|
||||
-4.742029368705289),
|
||||
("Sondaglast <cycle>", -5.147494476813453),
|
||||
("dd/mmyear", -4.742029368705289),
|
||||
("Septemberyear", -4.231203744939298),
|
||||
("at <time-of-day>on <date>", -5.147494476813453),
|
||||
-4.727387818712341),
|
||||
("Sondaglast <cycle>", -5.1328529268205045),
|
||||
("dd/mmyear", -4.727387818712341),
|
||||
("Septemberyear", -4.21656219494635),
|
||||
("at <time-of-day>on <date>", -5.1328529268205045),
|
||||
("between <time-of-day> and <time-of-day> (interval)on <date>",
|
||||
-5.147494476813453),
|
||||
-5.1328529268205045),
|
||||
("between <datetime> and <datetime> (interval)on <date>",
|
||||
-5.147494476813453),
|
||||
("dayweek", -3.894731508318085),
|
||||
("Tisdagthis <cycle>", -5.147494476813453),
|
||||
("on <date>Februari", -5.147494476813453),
|
||||
("weekyear", -4.231203744939298),
|
||||
("hh:mmtomorrow", -4.454347296253507),
|
||||
("tomorrowat <time-of-day>", -3.894731508318085),
|
||||
("at <time-of-day>tomorrow", -4.742029368705289),
|
||||
-5.1328529268205045),
|
||||
("dayweek", -3.880089958325137),
|
||||
("Tisdagthis <cycle>", -5.1328529268205045),
|
||||
("on <date>Februari", -5.1328529268205045),
|
||||
("weekyear", -4.21656219494635),
|
||||
("hh:mmtomorrow", -4.43970574626056),
|
||||
("tomorrowat <time-of-day>", -3.880089958325137),
|
||||
("at <time-of-day>tomorrow", -4.727387818712341),
|
||||
("Sondag<day-of-month> (non ordinal) <named-month>",
|
||||
-5.147494476813453),
|
||||
("last <cycle> of <time>year", -4.231203744939298),
|
||||
-5.1328529268205045),
|
||||
("last <cycle> of <time>year", -4.21656219494635),
|
||||
("<day-of-month> (non ordinal) <named-month>year",
|
||||
-4.742029368705289),
|
||||
("yearminute", -5.147494476813453)],
|
||||
-4.727387818712341),
|
||||
("yearminute", -5.1328529268205045)],
|
||||
n = 129},
|
||||
koData =
|
||||
ClassData{prior = -1.0266387890430204, unseen = -5.442417710521793,
|
||||
ClassData{prior = -1.0833448165373212, unseen = -5.365976015021851,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("OnsdagFebruari", -4.74493212836325),
|
||||
("dayhour", -3.240854731586976),
|
||||
("daymonth", -2.1799827709017134),
|
||||
("monthday", -3.828641396489095),
|
||||
("monthyear", -3.828641396489095),
|
||||
[("OnsdagFebruari", -4.66814498514948),
|
||||
("dayhour", -3.164067588373206),
|
||||
("daymonth", -2.103195627687943),
|
||||
("monthday", -3.751854253275325),
|
||||
("monthyear", -3.751854253275325),
|
||||
("Torsdagbetween <time-of-day> and <time-of-day> (interval)",
|
||||
-4.74493212836325),
|
||||
("Mandagon <date>", -4.339467020255086),
|
||||
-4.66814498514948),
|
||||
("Mandagon <date>", -4.2626798770413155),
|
||||
("Torsdagbetween <datetime> and <datetime> (interval)",
|
||||
-4.74493212836325),
|
||||
("Torsdagat <time-of-day>", -3.828641396489095),
|
||||
("Marsyear", -4.051784947803305),
|
||||
-4.66814498514948),
|
||||
("Torsdagat <time-of-day>", -3.751854253275325),
|
||||
("Marsyear", -3.9749978045895347),
|
||||
("intersect by \"of\", \"from\", \"'s\"year",
|
||||
-3.6463198396951406),
|
||||
-3.56953269648137),
|
||||
("Torsdagfrom <time-of-day> - <time-of-day> (interval)",
|
||||
-4.74493212836325),
|
||||
-4.66814498514948),
|
||||
("Torsdagfrom <datetime> - <datetime> (interval)",
|
||||
-4.339467020255086),
|
||||
("Mandagintersect", -4.339467020255086),
|
||||
("absorption of , after named dayJuli", -4.339467020255086),
|
||||
("hourmonth", -4.339467020255086),
|
||||
("dd/mmat <time-of-day>", -3.828641396489095),
|
||||
("dayyear", -3.3586377672433594),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-4.339467020255086),
|
||||
-4.2626798770413155),
|
||||
("Mandagintersect", -4.2626798770413155),
|
||||
("absorption of , after named dayJuli", -4.2626798770413155),
|
||||
("hourmonth", -4.2626798770413155),
|
||||
("dd/mmat <time-of-day>", -3.751854253275325),
|
||||
("dayyear", -3.2818506240295893),
|
||||
("<named-month> <day-of-month> (non ordinal)Augusti",
|
||||
-3.828641396489095),
|
||||
-3.751854253275325),
|
||||
("Augusti<day-of-month> (non ordinal) <named-month>",
|
||||
-3.828641396489095),
|
||||
("minutemonth", -4.339467020255086),
|
||||
("Onsdagthis <time>", -3.492169159867882),
|
||||
("Aprilyear", -4.74493212836325),
|
||||
("yearmonth", -4.74493212836325),
|
||||
("until <time-of-day>on <date>", -4.74493212836325),
|
||||
("Torsdaghh:mm", -4.74493212836325),
|
||||
("dayminute", -3.3586377672433594),
|
||||
("minuteday", -3.240854731586976),
|
||||
("Tisdagthis <time>", -3.828641396489095),
|
||||
("hh:mmon <date>", -3.3586377672433594),
|
||||
("on <date>Februari", -4.339467020255086),
|
||||
("absorption of , after named dayFebruari", -4.051784947803305),
|
||||
("<hour-of-day> <integer> (as relative minutes)Juli",
|
||||
-4.339467020255086),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-4.339467020255086),
|
||||
("intersectFebruari", -4.339467020255086),
|
||||
("Mandagthis <time>", -4.74493212836325),
|
||||
("Sondagthis <time>", -4.339467020255086),
|
||||
("minuteyear", -4.339467020255086),
|
||||
("yearminute", -4.339467020255086)],
|
||||
n = 72}}),
|
||||
-3.751854253275325),
|
||||
("Onsdagthis <time>", -3.4153820166541116),
|
||||
("Aprilyear", -4.66814498514948),
|
||||
("yearmonth", -4.66814498514948),
|
||||
("until <time-of-day>on <date>", -4.66814498514948),
|
||||
("Torsdaghh:mm", -4.66814498514948),
|
||||
("dayminute", -3.2818506240295893),
|
||||
("minuteday", -3.164067588373206),
|
||||
("Tisdagthis <time>", -3.751854253275325),
|
||||
("hh:mmon <date>", -3.2818506240295893),
|
||||
("on <date>Februari", -4.2626798770413155),
|
||||
("absorption of , after named dayFebruari",
|
||||
-3.9749978045895347),
|
||||
("intersectFebruari", -4.2626798770413155),
|
||||
("Mandagthis <time>", -4.66814498514948),
|
||||
("Sondagthis <time>", -4.2626798770413155)],
|
||||
n = 66}}),
|
||||
("<ordinal> <cycle> of <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
||||
@ -862,19 +855,19 @@ classifiers
|
||||
n = 2}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.9675840262617056, unseen = -3.713572066704308,
|
||||
ClassData{prior = -0.8950133334268701, unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -5.129329438755058e-2),
|
||||
("integer (0..19)", -2.995732273553991)],
|
||||
n = 38},
|
||||
koData =
|
||||
ClassData{prior = -0.4780358009429998, unseen = -4.174387269895637,
|
||||
ClassData{prior = -0.525266307920785, unseen = -4.060443010546419,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -0.2076393647782445),
|
||||
("integer (0..19)", -1.6739764335716716)],
|
||||
n = 62}}),
|
||||
[("integer (numeric)", -0.2363887780642304),
|
||||
("integer (0..19)", -1.55814461804655)],
|
||||
n = 55}}),
|
||||
("year",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.14842000511827333,
|
||||
@ -1357,36 +1350,32 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8362480242006186, unseen = -3.713572066704308,
|
||||
ClassData{prior = -0.6931471805599453,
|
||||
unseen = -3.6109179126442243,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("minuteminute", -1.491654876777717),
|
||||
("hh:mmhh:mm", -1.491654876777717),
|
||||
("dayday", -1.8971199848858813),
|
||||
[("minuteminute", -1.3862943611198906),
|
||||
("hh:mmhh:mm", -1.3862943611198906),
|
||||
("dayday", -1.791759469228055),
|
||||
("<day-of-month> (non ordinal) <named-month><day-of-month> (non ordinal) <named-month>",
|
||||
-1.8971199848858813)],
|
||||
-1.791759469228055)],
|
||||
n = 13},
|
||||
koData =
|
||||
ClassData{prior = -0.5679840376059393, unseen = -3.891820298110627,
|
||||
ClassData{prior = -0.6931471805599453,
|
||||
unseen = -3.6109179126442243,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("Juli<day-of-month> (non ordinal) <named-month>",
|
||||
-3.1780538303479458),
|
||||
("monthday", -2.0794415416798357),
|
||||
("minuteminute", -1.9252908618525775),
|
||||
("hh:mmhh:mm", -3.1780538303479458),
|
||||
("dayyear", -2.772588722239781),
|
||||
("year<hour-of-day> <integer> (as relative minutes)",
|
||||
-2.772588722239781),
|
||||
-2.890371757896165),
|
||||
("monthday", -1.791759469228055),
|
||||
("minuteminute", -1.6376087894007967),
|
||||
("hh:mmhh:mm", -2.890371757896165),
|
||||
("dayyear", -2.4849066497880004),
|
||||
("Augusti<day-of-month> (non ordinal) <named-month>",
|
||||
-2.2617630984737906),
|
||||
("hh:mmintersect", -2.0794415416798357),
|
||||
("dd/mmyear", -2.772588722239781),
|
||||
("<hour-of-day> <integer> (as relative minutes)year",
|
||||
-2.772588722239781),
|
||||
("minuteyear", -2.772588722239781),
|
||||
("yearminute", -2.772588722239781)],
|
||||
n = 17}}),
|
||||
-1.9740810260220096),
|
||||
("hh:mmintersect", -1.791759469228055),
|
||||
("dd/mmyear", -2.4849066497880004)],
|
||||
n = 13}}),
|
||||
("<time-of-day> - <time-of-day> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.8109302162163288, unseen = -3.044522437723423,
|
||||
@ -1596,17 +1585,6 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0},
|
||||
koData =
|
||||
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 7}}),
|
||||
("this <time>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.276293465905562, unseen = -3.6635616461296463,
|
||||
|
@ -13,21 +13,19 @@
|
||||
module Duckling.Time.DA.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Text (Text)
|
||||
import Prelude
|
||||
|
||||
import Duckling.Dimensions.Types
|
||||
import Duckling.Numeral.Helpers (parseInt)
|
||||
import Duckling.Ordinal.Types (OrdinalData (..))
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import Duckling.Time.Helpers
|
||||
import Duckling.Time.Types (TimeData (..))
|
||||
import qualified Duckling.Time.Types as TTime
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
import Duckling.Regex.Types
|
||||
import Duckling.Types
|
||||
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import qualified Duckling.Time.Types as TTime
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
|
||||
daysOfWeek :: [(Text, String)]
|
||||
daysOfWeek =
|
||||
@ -680,7 +678,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1562,7 +1560,7 @@ ruleTimeofdayTimeofdayInterval :: Rule
|
||||
ruleTimeofdayTimeofdayInterval = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|til|indtil"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
@ -1720,7 +1718,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -13,7 +13,6 @@
|
||||
module Duckling.Time.DE.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Prelude
|
||||
import Data.Text (Text)
|
||||
import qualified Data.Text as Text
|
||||
@ -683,7 +682,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1274,7 +1273,7 @@ ruleYearLatent = Rule
|
||||
{ name = "year (latent)"
|
||||
, pattern =
|
||||
[ Predicate $
|
||||
liftM2 (||) (isIntegerBetween (- 10000) 0) (isIntegerBetween 25 999)
|
||||
or . sequence [isIntegerBetween (- 10000) 0, isIntegerBetween 25 999]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(token:_) -> do
|
||||
@ -1514,7 +1513,7 @@ ruleTimeofdayTimeofdayInterval :: Rule
|
||||
ruleTimeofdayTimeofdayInterval = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|bis"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
@ -1530,7 +1529,7 @@ ruleTimeofdayTimeofdayInterval2 = Rule
|
||||
, pattern =
|
||||
[ Predicate isATimeOfDay
|
||||
, regex "\\-|/|bis"
|
||||
, Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
, Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(Token Time td1:_:Token Time td2:_) ->
|
||||
@ -1657,7 +1656,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -45,6 +45,8 @@ negativeCorpus = (testContext, examples)
|
||||
, "dozens o'clock"
|
||||
, "Rat 6"
|
||||
, "rat 6"
|
||||
, "3 30"
|
||||
, "three twenty"
|
||||
]
|
||||
|
||||
allExamples :: [Example]
|
||||
@ -312,6 +314,7 @@ allExamples = concat
|
||||
, "3:15pm"
|
||||
, "3:15PM"
|
||||
, "3:15p"
|
||||
, "at 3 15"
|
||||
]
|
||||
, examples (datetime (2013, 2, 12, 15, 20, 0) Minute)
|
||||
[ "at 20 past 3pm"
|
||||
@ -319,6 +322,7 @@ allExamples = concat
|
||||
, "3:20 in afternoon"
|
||||
, "twenty after 3pm"
|
||||
, "3:20p"
|
||||
, "at three twenty"
|
||||
]
|
||||
, examples (datetime (2013, 2, 12, 15, 30, 0) Minute)
|
||||
[ "at half past three pm"
|
||||
|
@ -13,7 +13,6 @@
|
||||
module Duckling.Time.EN.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Maybe
|
||||
import Data.Text (Text)
|
||||
import Prelude
|
||||
@ -315,7 +314,7 @@ ruleYearPastLatent = Rule
|
||||
{ name = "past year (latent)"
|
||||
, pattern =
|
||||
[ Predicate $
|
||||
liftM2 (||) (isIntegerBetween (- 10000) 0) (isIntegerBetween 25 999)
|
||||
or . sequence [isIntegerBetween (- 10000) 0, isIntegerBetween 25 999]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(token:_) -> do
|
||||
@ -378,7 +377,7 @@ ruleNamedDOMOrdinal :: Rule
|
||||
ruleNamedDOMOrdinal = Rule
|
||||
{ name = "<named-month>|<named-day> <day-of-month> (ordinal)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (||) isAMonth isADayOfWeek
|
||||
[ Predicate $ or . sequence [isAMonth, isADayOfWeek]
|
||||
, Predicate isDOMOrdinal
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -457,7 +456,7 @@ ruleTODLatent :: Rule
|
||||
ruleTODLatent = Rule
|
||||
{ name = "time-of-day (latent)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isNumeralSafeToUse (isIntegerBetween 0 23)
|
||||
[ Predicate $ and . sequence [isNumeralSafeToUse, isIntegerBetween 0 23]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(token:_) -> do
|
||||
@ -562,7 +561,7 @@ ruleHONumeral :: Rule
|
||||
ruleHONumeral = Rule
|
||||
{ name = "<hour-of-day> <integer>"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isNotLatent isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1061,7 +1060,7 @@ ruleIntervalTODDash :: Rule
|
||||
ruleIntervalTODDash = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isNotLatent isATimeOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|:|to|th?ru|through|(un)?til(l)?"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
@ -1629,7 +1628,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -13,20 +13,19 @@
|
||||
module Duckling.Time.ES.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import qualified Data.Text as Text
|
||||
import Prelude
|
||||
import qualified Data.Text as Text
|
||||
|
||||
import Duckling.Dimensions.Types
|
||||
import Duckling.Numeral.Helpers (parseInt)
|
||||
import Duckling.Ordinal.Types (OrdinalData (..))
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import Duckling.Regex.Types
|
||||
import Duckling.Time.Helpers
|
||||
import Duckling.Time.Types (TimeData (..))
|
||||
import Duckling.Types
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import qualified Duckling.Time.Types as TTime
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
import Duckling.Types
|
||||
|
||||
ruleTheDayAfterTomorrow :: Rule
|
||||
ruleTheDayAfterTomorrow = Rule
|
||||
@ -441,7 +440,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1336,7 +1335,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isATimeOfDay, isNotLatent]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -31,6 +31,8 @@ negativeCorpus = (testContext {lang = FR}, examples)
|
||||
where
|
||||
examples =
|
||||
[ "Ana a un court de tennis"
|
||||
, "deux trois"
|
||||
, "deux trois minutes"
|
||||
]
|
||||
|
||||
allExamples :: [Example]
|
||||
|
@ -13,10 +13,8 @@
|
||||
module Duckling.Time.FR.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Prelude
|
||||
|
||||
import Data.Text (Text)
|
||||
import Prelude
|
||||
import qualified Data.Text as Text
|
||||
|
||||
import Duckling.Dimensions.Types
|
||||
@ -656,7 +654,7 @@ ruleHourofdayInteger :: Rule
|
||||
ruleHourofdayInteger = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isAnHourOfDay hasNoDirection
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay, hasNoDirection]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -672,7 +670,7 @@ ruleHourofdayIntegerMinutes :: Rule
|
||||
ruleHourofdayIntegerMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> minutes"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
, regex "min\\.?(ute)?s?"
|
||||
]
|
||||
@ -1465,7 +1463,7 @@ ruleVersTimeofday = Rule
|
||||
{ name = "à|vers <time-of-day>"
|
||||
, pattern =
|
||||
[ regex "(vers|autour de|(a|à) environ|aux alentours de|(a|à))"
|
||||
, Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
, Predicate $ and . sequence [isATimeOfDay, isNotLatent]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(_:x:_) -> Just x
|
||||
@ -1886,7 +1884,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -11,7 +11,7 @@
|
||||
module Duckling.Time.HR.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (join, liftM2)
|
||||
import Control.Monad (join)
|
||||
import Data.Maybe
|
||||
import Data.String
|
||||
import Data.Text (Text)
|
||||
@ -172,7 +172,7 @@ ruleHourofdayNumeral :: Rule
|
||||
ruleHourofdayNumeral = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1203,7 +1203,7 @@ ruleYearLatent = Rule
|
||||
{ name = "year (latent)"
|
||||
, pattern =
|
||||
[ Predicate $
|
||||
liftM2 (||) (isIntegerBetween (- 10000) 0) (isIntegerBetween 25 999)
|
||||
or . sequence [isIntegerBetween (- 10000) 0, isIntegerBetween 25 999]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(token:_) -> do
|
||||
@ -1359,7 +1359,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) (isGrainFinerThan TG.Day) isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isGrainFinerThan TG.Day]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1470,7 +1470,7 @@ ruleTimeofdayTimeofdayInterval :: Rule
|
||||
ruleTimeofdayTimeofdayInterval = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isNotLatent isATimeOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|:"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
|
@ -13,7 +13,6 @@
|
||||
module Duckling.Time.HU.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Maybe
|
||||
import Data.String
|
||||
import Data.Text (Text)
|
||||
@ -183,7 +182,7 @@ ruleTODLatent :: Rule
|
||||
ruleTODLatent = Rule
|
||||
{ name = "time-of-day (latent)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isNumeralSafeToUse (isIntegerBetween 0 23)
|
||||
[ Predicate $ and . sequence [isNumeralSafeToUse, isIntegerBetween 0 23]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(token:_) -> do
|
||||
|
@ -28,7 +28,6 @@ module Duckling.Time.Helpers
|
||||
, getIntValue
|
||||
) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Maybe
|
||||
import Data.Text (Text)
|
||||
import Prelude
|
||||
@ -300,7 +299,7 @@ isDOMInteger :: Predicate
|
||||
isDOMInteger = isIntegerBetween 1 31
|
||||
|
||||
isDOMValue :: Predicate
|
||||
isDOMValue = liftM2 (||) isDOMOrdinal isDOMInteger
|
||||
isDOMValue = or . sequence [isDOMOrdinal, isDOMInteger]
|
||||
|
||||
-- -----------------------------------------------------------------
|
||||
-- Production
|
||||
|
@ -13,8 +13,8 @@ module Duckling.Time.IT.Corpus
|
||||
, negativeCorpus
|
||||
) where
|
||||
|
||||
import Prelude
|
||||
import Data.String
|
||||
import Prelude
|
||||
|
||||
import Duckling.Lang
|
||||
import Duckling.Resolve
|
||||
@ -31,6 +31,7 @@ negativeCorpus = (testContext {lang = IT}, examples)
|
||||
where
|
||||
examples =
|
||||
[ "ma"
|
||||
, "3 20"
|
||||
]
|
||||
|
||||
allExamples :: [Example]
|
||||
@ -342,7 +343,7 @@ allExamples = concat
|
||||
, "tre e 20"
|
||||
, "3 e 20"
|
||||
, "3:20"
|
||||
, "3 20"
|
||||
, "alle 3 20"
|
||||
]
|
||||
, examples (datetime (2013, 2, 12, 15, 30, 0) Minute)
|
||||
[ "15:30"
|
||||
|
@ -13,7 +13,6 @@
|
||||
module Duckling.Time.IT.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Text (Text)
|
||||
import Prelude
|
||||
import qualified Data.Text as Text
|
||||
@ -514,7 +513,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -576,7 +575,7 @@ ruleHhRelativeminutesDelPomeriggiotimeofday :: Rule
|
||||
ruleHhRelativeminutesDelPomeriggiotimeofday = Rule
|
||||
{ name = "hh <relative-minutes> del pomeriggio(time-of-day)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
, regex "d(i|el(la)?) (pomeriggio|(sta)?(sera|notte))"
|
||||
]
|
||||
@ -609,11 +608,12 @@ ruleHhIntegerminutesDelPomeriggiotimeofday2 = Rule
|
||||
tt $ hourMinute False h n
|
||||
_ -> Nothing
|
||||
}
|
||||
|
||||
ruleHourofdayIntegerMinutes :: Rule
|
||||
ruleHourofdayIntegerMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> minutes"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
, regex "min(ut[oi]|\\.)?"
|
||||
]
|
||||
@ -2242,7 +2242,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -13,20 +13,19 @@
|
||||
module Duckling.Time.KO.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import qualified Data.Text as Text
|
||||
import Prelude
|
||||
import qualified Data.Text as Text
|
||||
|
||||
import Duckling.Dimensions.Types
|
||||
import Duckling.Numeral.Helpers (parseInt)
|
||||
import Duckling.Ordinal.Types (OrdinalData (..))
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import Duckling.Regex.Types
|
||||
import Duckling.Time.Helpers
|
||||
import Duckling.Time.Types (TimeData (..))
|
||||
import Duckling.Types
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import qualified Duckling.Time.Types as TTime
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
import Duckling.Types
|
||||
|
||||
ruleNamedday :: Rule
|
||||
ruleNamedday = Rule
|
||||
@ -253,7 +252,7 @@ ruleIntegerHourofdayRelativeMinutes :: Rule
|
||||
ruleIntegerHourofdayRelativeMinutes = Rule
|
||||
{ name = "<integer> (hour-of-day) relative minutes 전"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
, regex "분전"
|
||||
]
|
||||
@ -269,7 +268,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
, regex "분"
|
||||
]
|
||||
@ -936,7 +935,7 @@ ruleAfterTimeofday :: Rule
|
||||
ruleAfterTimeofday = Rule
|
||||
{ name = "after <time-of-day>"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (||) isATimeOfDay isAPartOfDay
|
||||
[ Predicate $ or . sequence [isATimeOfDay, isAPartOfDay]
|
||||
, regex "지나서|(이)?후(에)?"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1132,7 +1131,7 @@ ruleTimeofdayTimeofdayInterval :: Rule
|
||||
ruleTimeofdayTimeofdayInterval = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|\\~|부터"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
@ -1245,7 +1244,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -13,7 +13,6 @@
|
||||
module Duckling.Time.NB.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Prelude
|
||||
|
||||
import Duckling.Dimensions.Types
|
||||
@ -92,7 +91,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1356,7 +1355,7 @@ ruleYearLatent = Rule
|
||||
{ name = "year (latent)"
|
||||
, pattern =
|
||||
[ Predicate $
|
||||
liftM2 (||) (isIntegerBetween (- 10000) 0) (isIntegerBetween 25 999)
|
||||
or . sequence [isIntegerBetween (- 10000) 0, isIntegerBetween 25 999]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(token:_) -> do
|
||||
@ -1619,7 +1618,7 @@ ruleTimeofdayTimeofdayInterval :: Rule
|
||||
ruleTimeofdayTimeofdayInterval = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|tilogmed|til"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
@ -1804,7 +1803,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -13,8 +13,8 @@ module Duckling.Time.PL.Corpus
|
||||
, negativeCorpus
|
||||
) where
|
||||
|
||||
import Prelude
|
||||
import Data.String
|
||||
import Prelude
|
||||
|
||||
import Duckling.Lang
|
||||
import Duckling.Resolve
|
||||
@ -38,6 +38,7 @@ negativeCorpus = (testContext {lang = PL}, examples)
|
||||
, "no nic"
|
||||
, "pierwszy"
|
||||
, "drugiej"
|
||||
, "trzecia piętnaście"
|
||||
]
|
||||
|
||||
allExamples :: [Example]
|
||||
@ -459,14 +460,14 @@ allExamples = concat
|
||||
[ "piętnaście po trzeciej"
|
||||
, "15 po trzeciej"
|
||||
, "kwadrans po 3"
|
||||
, "trzecia piętnaście"
|
||||
, "o trzecia piętnaście"
|
||||
, "15:15"
|
||||
]
|
||||
, examples (datetime (2013, 2, 12, 15, 20, 0) Minute)
|
||||
[ "20 po 3"
|
||||
, "3:20"
|
||||
, "3:20 w poludnie"
|
||||
, "trzecia dwadzieścia"
|
||||
, "o trzecia dwadzieścia"
|
||||
]
|
||||
, examples (datetime (2013, 2, 12, 15, 30, 0) Minute)
|
||||
[ "w pół do szesnastej"
|
||||
|
@ -13,7 +13,6 @@
|
||||
module Duckling.Time.PL.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Prelude
|
||||
import qualified Data.Text as Text
|
||||
|
||||
@ -125,7 +124,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -583,7 +582,7 @@ ruleHourofdayHourofdayInterval = Rule
|
||||
, pattern =
|
||||
[ Predicate isATimeOfDay
|
||||
, regex "-|do|aż po|po"
|
||||
, Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
, Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(Token Time td1:_:Token Time td2:_) ->
|
||||
@ -1343,7 +1342,7 @@ ruleFromHourofdayHourofdayInterval = Rule
|
||||
[ regex "od"
|
||||
, Predicate isATimeOfDay
|
||||
, regex "-|to|th?ru|through|until"
|
||||
, Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
, Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
(_:Token Time td1:_:Token Time td2:_) ->
|
||||
@ -1498,7 +1497,7 @@ ruleTimeofdayTimeofdayInterval :: Rule
|
||||
ruleTimeofdayTimeofdayInterval = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|:|do|po|aż do|az do|aż po|az po"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
@ -1657,7 +1656,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -32,6 +32,8 @@ negativeCorpus = (testContext {lang = PT}, examples)
|
||||
examples =
|
||||
[ "no 987"
|
||||
, "um"
|
||||
, "um dos"
|
||||
, "um dos minutos"
|
||||
]
|
||||
|
||||
allExamples :: [Example]
|
||||
|
@ -380,7 +380,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -428,7 +428,7 @@ ruleHourofdayIntegerAsRelativeMinutes2 :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes2 = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes) minutos"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
, regex "min\\.?(uto)?s?"
|
||||
]
|
||||
|
@ -13,7 +13,6 @@
|
||||
module Duckling.Time.RO.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Text (Text)
|
||||
import Prelude
|
||||
|
||||
@ -22,9 +21,9 @@ import Duckling.Numeral.Helpers (parseInt)
|
||||
import Duckling.Regex.Types
|
||||
import Duckling.Time.Helpers
|
||||
import Duckling.Time.Types (TimeData (..))
|
||||
import Duckling.Types
|
||||
import qualified Duckling.Time.Types as TTime
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
import Duckling.Types
|
||||
|
||||
ruleAcum :: Rule
|
||||
ruleAcum = Rule
|
||||
@ -363,7 +362,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1006,7 +1005,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -13,20 +13,19 @@
|
||||
module Duckling.Time.SV.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Text (Text)
|
||||
import Prelude
|
||||
|
||||
import Duckling.Dimensions.Types
|
||||
import Duckling.Numeral.Helpers (parseInt)
|
||||
import Duckling.Ordinal.Types (OrdinalData (..))
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import Duckling.Regex.Types
|
||||
import Duckling.Time.Helpers
|
||||
import Duckling.Time.Types (TimeData (..))
|
||||
import Duckling.Types
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import qualified Duckling.Time.Types as TTime
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
import Duckling.Types
|
||||
|
||||
daysOfWeek :: [(Text, String)]
|
||||
daysOfWeek =
|
||||
@ -120,7 +119,7 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
|
||||
ruleHourofdayIntegerAsRelativeMinutes = Rule
|
||||
{ name = "<hour-of-day> <integer> (as relative minutes)"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
@ -1494,7 +1493,7 @@ ruleTimeofdayTimeofdayInterval :: Rule
|
||||
ruleTimeofdayTimeofdayInterval = Rule
|
||||
{ name = "<time-of-day> - <time-of-day> (interval)"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\-|till|till och med|tom"
|
||||
, Predicate isATimeOfDay
|
||||
]
|
||||
@ -1642,7 +1641,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -12,7 +12,6 @@
|
||||
module Duckling.Time.VI.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Prelude
|
||||
import Data.Text (Text)
|
||||
import qualified Data.Text as Text
|
||||
@ -859,7 +858,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) (isGrainFinerThan TG.Day) isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isGrainFinerThan TG.Day]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -13,21 +13,19 @@
|
||||
module Duckling.Time.ZH.Rules
|
||||
( rules ) where
|
||||
|
||||
import Control.Monad (liftM2)
|
||||
import Data.Text (Text)
|
||||
import qualified Data.Text as Text
|
||||
import Prelude
|
||||
import qualified Data.Text as Text
|
||||
|
||||
import Duckling.Dimensions.Types
|
||||
import Duckling.Numeral.Helpers (parseInt)
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import Duckling.Regex.Types
|
||||
import Duckling.Time.Helpers
|
||||
import Duckling.Time.Types (TimeData (..))
|
||||
import Duckling.Types
|
||||
import qualified Duckling.Ordinal.Types as TOrdinal
|
||||
import qualified Duckling.Time.Types as TTime
|
||||
import qualified Duckling.TimeGrain.Types as TG
|
||||
import Duckling.Types
|
||||
|
||||
|
||||
ruleTheDayAfterTomorrow :: Rule
|
||||
ruleTheDayAfterTomorrow = Rule
|
||||
@ -963,7 +961,7 @@ ruleTimezone :: Rule
|
||||
ruleTimezone = Rule
|
||||
{ name = "<time> timezone"
|
||||
, pattern =
|
||||
[ Predicate $ liftM2 (&&) isATimeOfDay isNotLatent
|
||||
[ Predicate $ and . sequence [isNotLatent, isATimeOfDay]
|
||||
, regex "\\b(YEKT|YEKST|YAKT|YAKST|WITA|WIT|WIB|WGT|WGST|WFT|WET|WEST|WAT|WAST|VUT|VLAT|VLAST|VET|UZT|UYT|UYST|UTC|ULAT|TVT|TMT|TLT|TKT|TJT|TFT|TAHT|SST|SRT|SGT|SCT|SBT|SAST|SAMT|RET|PYT|PYST|PWT|PST|PONT|PMST|PMDT|PKT|PHT|PHOT|PGT|PETT|PETST|PET|PDT|OMST|OMSST|NZST|NZDT|NUT|NST|NPT|NOVT|NOVST|NFT|NDT|NCT|MYT|MVT|MUT|MST|MSK|MSD|MMT|MHT|MDT|MAWT|MART|MAGT|MAGST|LINT|LHST|LHDT|KUYT|KST|KRAT|KRAST|KGT|JST|IST|IRST|IRKT|IRKST|IRDT|IOT|IDT|ICT|HOVT|HKT|GYT|GST|GMT|GILT|GFT|GET|GAMT|GALT|FNT|FKT|FKST|FJT|FJST|EST|EGT|EGST|EET|EEST|EDT|ECT|EAT|EAST|EASST|DAVT|ChST|CXT|CVT|CST|COT|CLT|CLST|CKT|CHAST|CHADT|CET|CEST|CDT|CCT|CAT|CAST|BTT|BST|BRT|BRST|BOT|BNT|AZT|AZST|AZOT|AZOST|AWST|AWDT|AST|ART|AQTT|ANAT|ANAST|AMT|AMST|ALMT|AKST|AKDT|AFT|AEST|AEDT|ADT|ACST|ACDT)\\b"
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
@ -651,6 +651,7 @@ test-suite duckling-test
|
||||
, Duckling.Ordinal.DA.Tests
|
||||
, Duckling.Ordinal.DE.Tests
|
||||
, Duckling.Ordinal.EN.Tests
|
||||
, Duckling.Ordinal.ES.Tests
|
||||
, Duckling.Ordinal.ET.Tests
|
||||
, Duckling.Ordinal.FR.Tests
|
||||
, Duckling.Ordinal.GA.Tests
|
||||
|
Loading…
Reference in New Issue
Block a user