mirror of
https://github.com/facebook/duckling.git
synced 2024-09-11 21:27:13 +03:00
Added new rule to parse ES phrase for time of day (in the afternoon) (#496)
Summary: Current: "seis dos de lar tarde" -> "dos de lar tarde" or 2pm; note that the term "seis" is dropped. Expected: "seis dos de lar tarde" -> "seis dos de lar tarde" or 6:02pm Pull Request resolved: https://github.com/facebook/duckling/pull/496 Test Plan: H.io $ debug (makeLocale ES Nothing) "seis dos de la tarde" [This Time] Reviewed By: chinmay87 Differential Revision: D22054328 Pulled By: yuanbing fbshipit-source-id: 1ecb05885fc506176cc04768aa158279c7e7fd4f
This commit is contained in:
parent
eb9ddcbd95
commit
36a3d2011f
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
@ -1301,26 +1314,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
@ -1301,26 +1314,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
@ -1301,26 +1314,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
@ -1301,26 +1314,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("decimal number .",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
@ -1308,26 +1321,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
@ -1301,26 +1314,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
@ -1301,26 +1314,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -48,11 +48,11 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (numeric)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.5930637220029626, unseen = -4.174387269895637,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 63},
|
||||
ClassData{prior = -0.6109090823229733, unseen = -4.07753744390572,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
||||
koData =
|
||||
ClassData{prior = -0.8043728156701697, unseen = -3.970291913552122,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 51}}),
|
||||
ClassData{prior = -0.7827593392496325, unseen = -3.912023005428146,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 48}}),
|
||||
("the day before yesterday",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
@ -291,7 +291,7 @@ classifiers
|
||||
n = 2}}),
|
||||
("<time-of-day> <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10536051565782628,
|
||||
ClassData{prior = -0.13815033848081718,
|
||||
unseen = -4.330733340286331,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -320,17 +320,18 @@ classifiers
|
||||
-2.70805020110221)],
|
||||
n = 27},
|
||||
koData =
|
||||
ClassData{prior = -2.3025850929940455, unseen = -3.332204510175204,
|
||||
ClassData{prior = -2.0476928433652555,
|
||||
unseen = -3.4011973816621555,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("yearhour", -2.6026896854443837),
|
||||
("year (latent)del mediod\237a", -2.6026896854443837),
|
||||
("monthhour", -2.6026896854443837),
|
||||
("hourhour", -2.6026896854443837),
|
||||
("Febreroin the <part-of-day>", -2.6026896854443837),
|
||||
[("yearhour", -2.6741486494265287),
|
||||
("year (latent)del mediod\237a", -2.6741486494265287),
|
||||
("monthhour", -2.6741486494265287),
|
||||
("hourhour", -2.268683541318364),
|
||||
("Febreroin the <part-of-day>", -2.6741486494265287),
|
||||
("time-of-day (latent)in the <part-of-day>",
|
||||
-2.6026896854443837)],
|
||||
n = 3}}),
|
||||
-2.268683541318364)],
|
||||
n = 4}}),
|
||||
("de <datetime> - <datetime> (interval)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
||||
@ -427,24 +428,24 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("a las <time-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.10008345855698253,
|
||||
unseen = -4.8283137373023015,
|
||||
ClassData{prior = -0.11778303565638351,
|
||||
unseen = -4.672828834461907,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -3.4339872044851463),
|
||||
("<time-of-day> horas", -4.127134385045092),
|
||||
("<hour-of-day> and quarter", -3.2108436531709366),
|
||||
("time-of-day (latent)", -1.1067094989007291),
|
||||
("<hour-of-day> and <relative minutes>", -3.028522096376982),
|
||||
("<time-of-day> am|pm", -4.127134385045092),
|
||||
[("<hour-of-day> and half", -3.2771447329921766),
|
||||
("<time-of-day> horas", -3.970291913552122),
|
||||
("<hour-of-day> and quarter", -3.054001181677967),
|
||||
("time-of-day (latent)", -1.1977031913123406),
|
||||
("<hour-of-day> and <relative minutes>", -2.871679624884012),
|
||||
("<time-of-day> am|pm", -3.970291913552122),
|
||||
("<hour-of-day> minus <integer> (as relative minutes)",
|
||||
-4.127134385045092),
|
||||
-3.970291913552122),
|
||||
("<hour-of-day> minus quarter (as relative minutes)",
|
||||
-3.721669276936927),
|
||||
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
|
||||
n = 57},
|
||||
-3.5648268054439574),
|
||||
("hour", -1.1370785694959058), ("minute", -1.890850371872286)],
|
||||
n = 48},
|
||||
koData =
|
||||
ClassData{prior = -2.3513752571634776,
|
||||
ClassData{prior = -2.1972245773362196,
|
||||
unseen = -3.1354942159291497,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
@ -506,6 +507,17 @@ classifiers
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)number (0..15)", -0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 1},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> and quarter",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.0910424533583156,
|
||||
@ -648,13 +660,12 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("number (0..15)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.13534134786976212,
|
||||
unseen = -4.2626798770413155,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 69},
|
||||
ClassData{prior = -6.559728248581323e-2,
|
||||
unseen = -4.110873864173311,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
|
||||
koData =
|
||||
ClassData{prior = -2.0668627594729756,
|
||||
unseen = -2.4849066497880004,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
|
||||
ClassData{prior = -2.7568403652716422, unseen = -1.791759469228055,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
||||
("D\237a Internacional de las Cooperativas",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
||||
@ -759,30 +770,30 @@ classifiers
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
|
||||
("afternoon",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129,
|
||||
ClassData{prior = -0.4700036292457356,
|
||||
unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
||||
koData =
|
||||
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
||||
ClassData{prior = -0.9808292530117262,
|
||||
unseen = -1.6094379124341003,
|
||||
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
||||
("time-of-day (latent)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.4872951263557965,
|
||||
unseen = -3.8501476017100584,
|
||||
ClassData{prior = -0.25131442828090605,
|
||||
unseen = -3.6635616461296463,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.2636920390275583),
|
||||
("number (0..15)", -0.3629054936893685)],
|
||||
n = 43},
|
||||
[("integer (numeric)", -1.3350010667323402),
|
||||
("number (0..15)", -0.3417492937220567)],
|
||||
n = 35},
|
||||
koData =
|
||||
ClassData{prior = -0.9526583760450299,
|
||||
unseen = -3.4339872044851463,
|
||||
ClassData{prior = -1.5040773967762742, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.455287232606842),
|
||||
("number (0..15)", -1.0033021088637848),
|
||||
("integer (0-9) with two digits", -0.916290731874155)],
|
||||
n = 27}}),
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.7731898882334817),
|
||||
("integer (0-9) with two digits", -1.466337068793427)],
|
||||
n = 10}}),
|
||||
("<hour-of-day> and <relative minutes>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
|
||||
@ -912,23 +923,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<time-of-day> am|pm",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -1.0185695809945732,
|
||||
unseen = -3.4657359027997265,
|
||||
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>", -2.740840023925201),
|
||||
("time-of-day (latent)", -2.740840023925201),
|
||||
("hour", -2.3353749158170367), ("minute", -0.9490805546971459),
|
||||
[("a las <time-of-day>", -1.8718021769015913),
|
||||
("time-of-day (latent)", -1.8718021769015913),
|
||||
("hour", -1.466337068793427), ("minute", -1.466337068793427),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
-0.9490805546971459)],
|
||||
n = 13},
|
||||
-1.466337068793427)],
|
||||
n = 4},
|
||||
koData =
|
||||
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
|
||||
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -0.7537718023763802),
|
||||
("hour", -0.7537718023763802)],
|
||||
n = 23}}),
|
||||
[("time-of-day (latent)", -0.916290731874155),
|
||||
("hour", -0.916290731874155)],
|
||||
n = 5}}),
|
||||
("n proximas <cycle>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
||||
@ -1059,7 +1069,8 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<dim time> de la tarde",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.713572066704308,
|
||||
ClassData{prior = -5.715841383994864e-2,
|
||||
unseen = -3.713572066704308,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("<hour-of-day> and half", -2.5902671654458267),
|
||||
@ -1069,8 +1080,12 @@ classifiers
|
||||
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
|
||||
n = 17},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("time-of-day (latent)", -1.3862943611198906),
|
||||
("hour", -1.3862943611198906)],
|
||||
n = 1}}),
|
||||
("el proximo <cycle> ",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
||||
@ -1237,7 +1252,7 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("in the <part-of-day>",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.2876820724517809, unseen = -3.367295829986474,
|
||||
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.540445040947149),
|
||||
@ -1245,14 +1260,12 @@ classifiers
|
||||
("morning", -1.7227665977411035)],
|
||||
n = 12},
|
||||
koData =
|
||||
ClassData{prior = -1.3862943611198906,
|
||||
unseen = -2.5649493574615367,
|
||||
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("afternoon", -1.3862943611198906),
|
||||
("hour", -0.8754687373538999),
|
||||
("morning", -1.3862943611198906)],
|
||||
n = 4}}),
|
||||
[("afternoon", -1.252762968495368),
|
||||
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
|
||||
n = 5}}),
|
||||
("morning",
|
||||
Classifier{okData =
|
||||
ClassData{prior = -0.40546510810816444,
|
||||
@ -1301,26 +1314,22 @@ classifiers
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("<hour-of-day> <integer> (as relative minutes)",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
||||
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("a las <time-of-day>integer (0-9) with two digits",
|
||||
-0.6931471805599453),
|
||||
("hour", -0.6931471805599453)],
|
||||
n = 11},
|
||||
n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("integer (0-9) with two digits",
|
||||
Classifier{okData =
|
||||
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
||||
likelihoods =
|
||||
HashMap.fromList
|
||||
[("integer (numeric)", -1.1786549963416462),
|
||||
("number (0..15)", -0.3677247801253174)],
|
||||
n = 11},
|
||||
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
||||
likelihoods = HashMap.fromList [("number (0..15)", 0.0)], n = 2},
|
||||
koData =
|
||||
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
||||
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
||||
likelihoods = HashMap.fromList [], n = 0}}),
|
||||
("ce <time>",
|
||||
Classifier{okData =
|
||||
|
@ -478,4 +478,7 @@ allExamples = concat
|
||||
, "a las 6 0 2 pm"
|
||||
, "al las 6 0 2 pm"
|
||||
]
|
||||
, examples (datetime (2013, 2, 12, 18, 2, 0) Minute)
|
||||
[ "seis dos de la tarde"
|
||||
]
|
||||
]
|
||||
|
@ -689,6 +689,28 @@ ruleDimTimeDeLaTarde = Rule
|
||||
_ -> Nothing
|
||||
}
|
||||
|
||||
ruleDimTimeDeLaTarde2 :: Rule
|
||||
ruleDimTimeDeLaTarde2 = Rule
|
||||
{ name = "<time-of-day> de la tarde"
|
||||
, pattern =
|
||||
[ Predicate isAnHourOfDay
|
||||
, Predicate $ isIntegerBetween 1 59
|
||||
, regex "(a|en|de) la tarde"
|
||||
]
|
||||
, prod = \case
|
||||
(Token Time TimeData {
|
||||
TTime.form = Just (TTime.TimeOfDay (Just hours) is12H)
|
||||
}:
|
||||
minutesToken:
|
||||
_:
|
||||
_) -> do
|
||||
minutes <- getIntValue minutesToken
|
||||
let td = hourMinute is12H hours minutes
|
||||
tarde <- interval TTime.Open (hour False 12) (hour False 21)
|
||||
Token Time <$> intersect td (mkLatent $ partOfDay tarde)
|
||||
_ -> Nothing
|
||||
}
|
||||
|
||||
ruleIntegerInThePartofday :: Rule
|
||||
ruleIntegerInThePartofday = Rule
|
||||
{ name = "<integer> in the <part-of-day>"
|
||||
@ -1517,6 +1539,7 @@ rules =
|
||||
, ruleDentroDeDuration
|
||||
, ruleDimTimeDeLaManana
|
||||
, ruleDimTimeDeLaTarde
|
||||
, ruleDimTimeDeLaTarde2
|
||||
, ruleElCycleAntesTime
|
||||
, ruleElCycleProximoqueViene
|
||||
, ruleElCycleProximoqueVieneTime
|
||||
|
Loading…
Reference in New Issue
Block a user