Time/es: Fix ruleYearLatent

Summary: Fix `ruleYearLatent` to be the same as the one in `en`. We don't want to match numerals that could have been hours.

Reviewed By: patapizza

Differential Revision: D20683975

fbshipit-source-id: cdef9b1b5f8a21dc5e207ed2a7afcad84c56a596
This commit is contained in:
Chinmay Deshmukh 2020-03-27 14:49:56 -07:00 committed by Facebook GitHub Bot
parent 7166286a6f
commit d91a2dd4c0
10 changed files with 815 additions and 921 deletions

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -97,64 +97,59 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by `de`",
Classifier{okData =
ClassData{prior = -0.10536051565782628,
unseen = -4.859812404361672,
ClassData{prior = -8.515780834030683e-2,
unseen = -4.844187086458591,
likelihoods =
HashMap.fromList
[("Miercoleseste|en un <cycle>", -4.1588830833596715),
[("Miercoleseste|en un <cycle>", -4.143134726391533),
("el <day-of-month> (non ordinal)intersect by `de`",
-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),
-3.7376696182833684),
("daymonth", -1.791759469228055),
("monthyear", -3.7376696182833684),
("el <day-of-month> (non ordinal)Abril", -4.143134726391533),
("Marteseste|en un <cycle>", -4.143134726391533),
("Miercolesel <cycle> (proximo|que viene)", -4.143134726391533),
("el <time>Marzo", -3.7376696182833684),
("el <day-of-month> (non ordinal)Septiembre",
-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),
-4.143134726391533),
("Miercolesel proximo <cycle> ", -4.143134726391533),
("Luneseste|en un <cycle>", -4.143134726391533),
("dayyear", -2.1972245773362196),
("dd-dd <month>(interval)year", -4.143134726391533),
("el <time>el <cycle> (proximo|que viene)", -4.143134726391533),
("el <day-of-month> (non ordinal)Julio", -4.143134726391533),
("el <time>year", -3.7376696182833684),
("Septiembreyear", -4.143134726391533),
("el <time>la <cycle> pasado", -4.143134726391533),
("day of month (1st)Marzo", -3.2268439945173775),
("el <day-of-month> de <named-month>year", -3.7376696182833684),
("el <time>este|en un <cycle>", -3.7376696182833684),
("Mayoyear", -4.143134726391533),
("<day-of-month> de <named-month>year", -3.7376696182833684),
("two time tokens separated by \",\"year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Febrero", -4.143134726391533),
("two time tokens separated by \",\"intersect by `de`",
-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),
-4.143134726391533),
("dayweek", -2.4383866341531073),
("intersect by `de`year", -3.4499875458315876),
("el <day-of-month> (non ordinal)Marzo", -3.4499875458315876),
("Domingola <cycle> pasado", -4.143134726391533),
("two time tokens separated by \",\"Septiembre",
-4.1588830833596715),
("el <day-of-month> (non ordinal)Mayo", -3.4657359027997265)],
-4.143134726391533),
("el <day-of-month> (non ordinal)Mayo", -3.4499875458315876)],
n = 45},
koData =
ClassData{prior = -2.3025850929940455, unseen = -3.891820298110627,
ClassData{prior = -2.505525936990736, unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("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.1780538303479458)],
n = 5}}),
[("monthyear", -3.0910424533583156),
("Julioyear", -3.0910424533583156),
("hourmonth", -2.6855773452501515),
("a las <time-of-day>Julio", -3.0910424533583156),
("dayyear", -3.0910424533583156),
("<day-of-month> de <named-month>year", -3.0910424533583156),
("a las <time-of-day>Enero", -3.0910424533583156)],
n = 4}}),
("n pasados <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
@ -296,63 +291,60 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3528213746227423, unseen = -4.31748811353631,
ClassData{prior = -0.10536051565782628,
unseen = -4.330733340286331,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("dayhour", -2.2246235515243336),
("Lunesin the <part-of-day>", -3.6109179126442243),
("tomorrowin the <part-of-day>", -3.6109179126442243),
("a las <time-of-day>del mediod\237a", -3.6109179126442243),
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.6109179126442243),
("hourhour", -2.2246235515243336),
("a las <time-of-day>in the <part-of-day>",
-2.3581549441488563),
("intersectin the <part-of-day>", -3.6109179126442243),
("minutehour", -1.739115735742633),
("intersect by `de`in the <part-of-day>", -3.6109179126442243),
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and halfin the <part-of-day>",
-3.20545280453606),
-3.2188758248682006),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.20545280453606),
("el <time>in the <part-of-day>", -3.6109179126442243),
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
("<hour-of-day> and quarterin the <part-of-day>",
-2.6946271807700692),
("yesterdayin the <part-of-day>", -3.6109179126442243),
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
("time-of-day (latent)in the <part-of-day>",
-2.917770732084279)],
n = 26},
-2.70805020110221)],
n = 27},
koData =
ClassData{prior = -1.213022639845854, unseen = -3.8066624897703196,
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
likelihoods =
HashMap.fromList
[("yearhour", -1.4816045409242156),
("year (latent)del mediod\237a", -3.0910424533583156),
("monthhour", -3.0910424533583156),
("hourhour", -3.0910424533583156),
("Febreroin the <part-of-day>", -3.0910424533583156),
("year (latent)in the <part-of-day>", -1.5869650565820417),
[("yearhour", -2.6026896854443837),
("year (latent)del mediod\237a", -2.6026896854443837),
("monthhour", -2.6026896854443837),
("hourhour", -2.6026896854443837),
("Febreroin the <part-of-day>", -2.6026896854443837),
("time-of-day (latent)in the <part-of-day>",
-3.0910424533583156)],
n = 11}}),
-2.6026896854443837)],
n = 3}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("monthday", -1.791759469228055),
("monthyear", -1.791759469228055),
("Diciembretime-of-day (latent)", -1.791759469228055),
("monthhour", -1.791759469228055),
("Diciembreyear (latent)", -1.791759469228055),
[("monthday", -1.3862943611198906),
("Diciembretime-of-day (latent)", -1.3862943611198906),
("monthhour", -1.3862943611198906),
("Diciembre<day-of-month> de <named-month>",
-1.791759469228055)],
n = 3}}),
-1.3862943611198906)],
n = 2}}),
("<time-of-day> horas",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
@ -485,16 +477,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("year (latent)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.6190392084062235),
("number (20..90)", -1.8718021769015913)],
n = 10}}),
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("number (20..90)", 0.0)],
n = 1}}),
("Viernes",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
@ -659,12 +647,11 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -4.000533461369913e-2,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49},
ClassData{prior = -3.922071315328127e-2,
unseen = -3.951243718581427,
likelihoods = HashMap.fromList [("", 0.0)], n = 50},
koData =
ClassData{prior = -3.2386784521643803,
unseen = -1.3862943611198906,
ClassData{prior = -3.258096538021482, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
@ -778,15 +765,16 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.25489224962879004,
unseen = -3.5263605246161616,
ClassData{prior = -0.2478361639045812,
unseen = -3.5553480614894135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1939224684724346),
("number (0..15)", -0.3610133455373305)],
n = 31},
[("integer (numeric)", -1.2237754316221157),
("number (0..15)", -0.3483066942682157)],
n = 32},
koData =
ClassData{prior = -1.491654876777717, unseen = -2.4849066497880004,
ClassData{prior = -1.5163474893680884,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.7884573603642702),
@ -1138,8 +1126,8 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
@ -1227,15 +1215,15 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3101549283038396, unseen = -3.295836866004329,
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -1.466337068793427),
("hour", -0.7731898882334817), ("evening", -2.159484249353372),
("morning", -1.6486586255873816)],
n = 11},
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
koData =
ClassData{prior = -1.3217558399823195,
ClassData{prior = -1.3862943611198906,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList

View File

@ -323,6 +323,9 @@ allExamples = concat
[ "ano nuevo"
, "año nuevo"
]
, examples (datetime (2013, 2, 12, 21, 0, 0) Hour)
[ "nueve de la noche"
]
, examples (datetimeInterval ((2013, 2, 12, 18, 0, 0), (2013, 2, 13, 0, 0, 0)) Hour)
[ "esta noche"
]

View File

@ -277,19 +277,6 @@ ruleElDayofmonthNonOrdinal = Rule
_ -> Nothing
}
ruleYearLatent2 :: Rule
ruleYearLatent2 = Rule
{ name = "year (latent)"
, pattern =
[ Predicate $ isIntegerBetween 2101 10000
]
, prod = \tokens -> case tokens of
(token:_) -> do
v <- getIntValue token
tt . mkLatent $ year v
_ -> Nothing
}
ruleNoon :: Rule
ruleNoon = Rule
{ name = "noon"
@ -653,7 +640,7 @@ ruleTimeofdayLatent = Rule
, prod = \tokens -> case tokens of
(token:_) -> do
v <- getIntValue token
tt . mkLatent $ hour True v
tt . mkLatent $ hour (v < 13) v
_ -> Nothing
}
@ -977,8 +964,9 @@ ruleYearLatent :: Rule
ruleYearLatent = Rule
{ name = "year (latent)"
, pattern =
[ Predicate $ isIntegerBetween (- 10000) 999
]
[ Predicate $
or . sequence [isIntegerBetween (- 10000) 0, isIntegerBetween 25 10000]
]
, prod = \tokens -> case tokens of
(token:_) -> do
n <- getIntValue token
@ -1557,7 +1545,6 @@ rules =
, ruleWeekend
, ruleYear
, ruleYearLatent
, ruleYearLatent2
, ruleYesterday
, ruleYyyymmdd
, ruleHourofdayAndThreeQuarter