Fixed a problem in parsing mult-word timestamp for ES

Summary:
Current:
"seis cero cinco pm" [dimension Time] -> "cero cinco pm" or "5 pm"
here the term "seis" was dropped because it was treated as "6" in "Numeral" dimension.

Expected:
"seis cero cinco pm" -> "6:05 pm"

The root cause was that the rule "<hour-of-day> <integer> (as relative minutes)" dropped the first term "hour-of-day" if it was parsed as a latent token.

Reviewed By: chinmay87

Differential Revision: D22553028

fbshipit-source-id: abc92bb369c23d2b3084641eab2a2dabb87dbc66
This commit is contained in:
Bing Yuan 2020-07-17 11:28:54 -07:00 committed by Facebook GitHub Bot
parent 780bd0aac5
commit 5af4d617ba
10 changed files with 1397 additions and 1244 deletions

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("morning",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
@ -1358,24 +1367,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("morning",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
@ -1358,24 +1367,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("morning",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
@ -1358,24 +1367,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("morning",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
@ -1358,24 +1367,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("decimal number .",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
@ -1365,24 +1374,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("morning",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
@ -1358,24 +1367,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("morning",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
@ -1358,24 +1367,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -295,46 +295,49 @@ classifiers
n = 2}}),
("<time-of-day> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.13815033848081718,
unseen = -4.330733340286331,
ClassData{prior = -0.13353139262452263,
unseen = -4.3694478524670215,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("dayhour", -2.2380465718564744),
("Lunesin the <part-of-day>", -3.624340932976365),
("tomorrowin the <part-of-day>", -3.624340932976365),
("a las <time-of-day>del mediod\237a", -3.624340932976365),
-3.6635616461296463),
("dayhour", -2.277267285009756),
("Lunesin the <part-of-day>", -3.6635616461296463),
("tomorrowin the <part-of-day>", -3.6635616461296463),
("a las <time-of-day>del mediod\237a", -3.6635616461296463),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.624340932976365),
("hourhour", -2.120263536200091),
("a las <time-of-day>in the <part-of-day>", -2.371577964480997),
("intersectin the <part-of-day>", -3.624340932976365),
("minutehour", -1.7525387560747736),
("intersect by `de`in the <part-of-day>", -3.624340932976365),
-3.6635616461296463),
("hourhour", -2.159484249353372),
("a las <time-of-day>in the <part-of-day>",
-2.4107986776342782),
("intersectin the <part-of-day>", -3.6635616461296463),
("minutehour", -1.717651497074333),
("intersect by `de`in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and halfin the <part-of-day>",
-3.2188758248682006),
-3.258096538021482),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.6635616461296463),
("<hour-of-day> and <relative minutes>del mediod\237a",
-3.2188758248682006),
("el <time>in the <part-of-day>", -3.624340932976365),
-3.258096538021482),
("el <time>in the <part-of-day>", -3.6635616461296463),
("<hour-of-day> and quarterin the <part-of-day>",
-2.70805020110221),
("yesterdayin the <part-of-day>", -3.624340932976365),
-2.7472709142554916),
("yesterdayin the <part-of-day>", -3.6635616461296463),
("time-of-day (latent)in the <part-of-day>",
-2.70805020110221)],
n = 27},
-2.7472709142554916)],
n = 28},
koData =
ClassData{prior = -2.0476928433652555,
unseen = -3.4011973816621555,
ClassData{prior = -2.0794415416798357,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("yearhour", -2.6741486494265287),
("year (latent)del mediod\237a", -2.6741486494265287),
("monthhour", -2.6741486494265287),
("hourhour", -2.268683541318364),
("Febreroin the <part-of-day>", -2.6741486494265287),
[("yearhour", -2.70805020110221),
("year (latent)del mediod\237a", -2.70805020110221),
("monthhour", -2.70805020110221),
("hourhour", -2.3025850929940455),
("Febreroin the <part-of-day>", -2.70805020110221),
("time-of-day (latent)in the <part-of-day>",
-2.268683541318364)],
-2.3025850929940455)],
n = 4}}),
("de <datetime> - <datetime> (interval)",
Classifier{okData =
@ -363,65 +366,65 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.2113090936672069, unseen = -4.634728988229636,
ClassData{prior = -0.20585205420414873,
unseen = -4.663439094112067,
likelihoods =
HashMap.fromList
[("<day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
("dayhour", -1.9859154836690123),
("Lunesin the <part-of-day>", -3.9318256327243257),
("tomorrowin the <part-of-day>", -3.9318256327243257),
-3.960813169597578),
("dayhour", -2.0149030205422647),
("Lunesin the <part-of-day>", -3.960813169597578),
("tomorrowin the <part-of-day>", -3.960813169597578),
("el <day-of-month> de <named-month>in the <part-of-day>",
-3.9318256327243257),
-3.960813169597578),
("D\237a Internacional de las Cooperativasel <time>",
-3.9318256327243257),
("hourhour", -3.0155349008501706),
-3.960813169597578),
("hourhour", -3.044522437723423),
("now<hour-of-day> minus quarter (as relative minutes)",
-3.9318256327243257),
("dayyear", -3.0155349008501706),
("a las <time-of-day>in the <part-of-day>",
-2.6790626642289577),
("intersectin the <part-of-day>", -3.9318256327243257),
("<named-month> <day-of-month>del <year>", -3.9318256327243257),
("minutehour", -2.322387720290225),
("intersect by `de`in the <part-of-day>", -3.9318256327243257),
("now<hour-of-day> and <relative minutes>",
-3.9318256327243257),
-3.960813169597578),
("dayyear", -3.044522437723423),
("a las <time-of-day>in the <part-of-day>", -2.70805020110221),
("intersectin the <part-of-day>", -3.960813169597578),
("<named-month> <day-of-month>del <year>", -3.960813169597578),
("minutehour", -2.256065077359153),
("intersect by `de`in the <part-of-day>", -3.960813169597578),
("now<hour-of-day> and <relative minutes>", -3.960813169597578),
("<hour-of-day> and halfin the <part-of-day>",
-3.5263605246161616),
("tomorrowa las <time-of-day>", -3.5263605246161616),
("Miercoles<time-of-day> <part-of-day>", -3.9318256327243257),
("Miercoles<dim time> de la manana", -3.9318256327243257),
("dayminute", -3.0155349008501706),
("<named-month> <day-of-month>el <time>", -3.9318256327243257),
("Miercolesa las <time-of-day>", -3.9318256327243257),
("el <time>in the <part-of-day>", -3.9318256327243257),
("Miercolesintersect", -3.9318256327243257),
("nowa las <time-of-day>", -3.5263605246161616),
-3.5553480614894135),
("tomorrowa las <time-of-day>", -3.5553480614894135),
("Miercoles<time-of-day> <part-of-day>", -3.960813169597578),
("<hour-of-day> <integer> (as relative minutes)in the <part-of-day>",
-3.960813169597578),
("Miercoles<dim time> de la manana", -3.960813169597578),
("dayminute", -3.044522437723423),
("<named-month> <day-of-month>el <time>", -3.960813169597578),
("Miercolesa las <time-of-day>", -3.960813169597578),
("el <time>in the <part-of-day>", -3.960813169597578),
("Miercolesintersect", -3.960813169597578),
("nowa las <time-of-day>", -3.5553480614894135),
("D\237a Internacional de las Cooperativasdel <year>",
-3.9318256327243257),
-3.960813169597578),
("<hour-of-day> and quarterin the <part-of-day>",
-3.0155349008501706),
("yesterdayin the <part-of-day>", -3.9318256327243257)],
n = 34},
-3.044522437723423),
("yesterdayin the <part-of-day>", -3.960813169597578)],
n = 35},
koData =
ClassData{prior = -1.6582280766035324,
unseen = -3.9318256327243257,
ClassData{prior = -1.6817585740137264, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("hourday", -3.2188758248682006),
("dayhour", -2.5257286443082556),
[("hourday", -3.2386784521643803),
("dayhour", -2.5455312716044354),
("<day-of-month> de <named-month>a las <time-of-day>",
-3.2188758248682006),
-3.2386784521643803),
("<time-of-day> am|pm<day-of-month> de <named-month>",
-3.2188758248682006),
("monthhour", -2.8134107167600364),
-3.2386784521643803),
("monthhour", -2.833213344056216),
("now<hour-of-day> and <relative minutes>",
-3.2188758248682006),
("Diciembrea las <time-of-day>", -3.2188758248682006),
("dayminute", -2.8134107167600364),
("Febreroin the <part-of-day>", -3.2188758248682006),
("nowa las <time-of-day>", -2.5257286443082556)],
-3.2386784521643803),
("Diciembrea las <time-of-day>", -3.2386784521643803),
("dayminute", -2.833213344056216),
("Febreroin the <part-of-day>", -3.2386784521643803),
("nowa las <time-of-day>", -2.5455312716044354)],
n = 8}}),
("Miercoles",
Classifier{okData =
@ -432,30 +435,32 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("a las <time-of-day>",
Classifier{okData =
ClassData{prior = -0.10008345855698253,
unseen = -4.8283137373023015,
ClassData{prior = -7.320340402329494e-2,
unseen = -5.135798437050262,
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.7436043538031827),
("<time-of-day> horas", -4.436751534363128),
("<hour-of-day> and quarter", -3.520460802488973),
("time-of-day (latent)", -1.4163266482187657),
("<hour-of-day> and <relative minutes>", -3.3381392456950185),
("<time-of-day> am|pm", -2.5649493574615367),
("<hour-of-day> minus <integer> (as relative minutes)",
-4.127134385045092),
-4.436751534363128),
("<hour-of-day> minus quarter (as relative minutes)",
-3.721669276936927),
("hour", -1.0590814499114745), ("minute", -2.0476928433652555)],
n = 57},
-4.0312864262549635),
("hour", -1.3686985992295109), ("minute", -1.4923125551966876),
("<hour-of-day> <integer> (as relative minutes)",
-2.644992065135073)],
n = 79},
koData =
ClassData{prior = -2.3513752571634776,
unseen = -3.1354942159291497,
ClassData{prior = -2.6508917872622613,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.4816045409242156),
("<hour-of-day> and <relative minutes>", -1.9924301646902063),
("hour", -1.4816045409242156), ("minute", -1.9924301646902063)],
[("time-of-day (latent)", -1.5260563034950494),
("<hour-of-day> and <relative minutes>", -2.03688192726104),
("hour", -1.5260563034950494), ("minute", -2.03688192726104)],
n = 6}}),
("minutos (grain)",
Classifier{okData =
@ -664,13 +669,12 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("number (0..15)",
Classifier{okData =
ClassData{prior = -0.13005312824819779,
unseen = -4.304065093204169,
likelihoods = HashMap.fromList [("", 0.0)], n = 72},
ClassData{prior = -0.13858616328614667,
unseen = -4.330733340286331,
likelihoods = HashMap.fromList [("", 0.0)], n = 74},
koData =
ClassData{prior = -2.1041341542702074,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
ClassData{prior = -2.044755983691946, unseen = -2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11}}),
("D\237a Internacional de las Cooperativas",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
@ -774,31 +778,29 @@ classifiers
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.4700036292457356,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
ClassData{prior = -0.2876820724517809,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
ClassData{prior = -1.3862943611198906,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = -0.49247648509779407,
unseen = -3.871201010907891,
ClassData{prior = -0.6592456288842639, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.285198244248522),
("number (0..15)", -0.3536400402435783)],
n = 44},
[("integer (numeric)", -1.3062516534463542),
("number (0..15)", -0.3448404862917295)],
n = 45},
koData =
ClassData{prior = -0.9444616088408514,
unseen = -3.4657359027997265,
ClassData{prior = -0.7282385003712154, unseen = -3.828641396489095,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.488077055429833),
("number (0..15)", -0.9490805546971459),
("integer (0-9) with two digits", -0.9490805546971459)],
n = 28}}),
[("integer (numeric)", -1.5040773967762742),
("number (0..15)", -0.7156200364120039),
("integer (0-9) with two digits", -1.241713132308783)],
n = 42}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -0.3364722366212129, unseen = -3.332204510175204,
@ -932,23 +934,24 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4657359027997265,
ClassData{prior = -0.7069405026922811, unseen = -4.356708826689592,
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.7788560643921472),
("time-of-day (latent)", -3.6506582412937383),
("hour", -3.245193133185574), ("minute", -0.7884573603642702),
("<hour-of-day> <integer> (as relative minutes)",
-0.9490805546971459)],
n = 13},
-1.1657515915057381)],
n = 36},
koData =
ClassData{prior = -0.4480247225269604, unseen = -3.951243718581427,
ClassData{prior = -0.6795415285041666, unseen = -4.382026634673881,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -0.7537718023763802),
("hour", -0.7537718023763802)],
n = 23}}),
[("time-of-day (latent)", -1.1113513144455396),
("hour", -1.1113513144455396), ("minute", -1.8044984950054848),
("<hour-of-day> <integer> (as relative minutes)",
-1.8044984950054848)],
n = 37}}),
("n proximas <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
@ -1079,22 +1082,25 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> de la tarde",
Classifier{okData =
ClassData{prior = -5.715841383994864e-2,
unseen = -3.713572066704308,
ClassData{prior = -5.406722127027582e-2,
unseen = -3.784189633918261,
likelihoods =
HashMap.fromList
[("<hour-of-day> and half", -2.5902671654458267),
("a las <time-of-day>", -1.6094379124341003),
("<hour-of-day> and quarter", -2.0794415416798357),
("time-of-day (latent)", -2.0794415416798357),
("hour", -1.491654876777717), ("minute", -1.3862943611198906)],
n = 17},
[("<hour-of-day> and half", -2.662587827025453),
("a las <time-of-day>", -1.6817585740137264),
("<hour-of-day> and quarter", -2.151762203259462),
("time-of-day (latent)", -2.151762203259462),
("hour", -1.563975538357343), ("minute", -1.363304842895192),
("<hour-of-day> <integer> (as relative minutes)",
-3.068052935133617)],
n = 18},
koData =
ClassData{prior = -2.890371757896165, unseen = -2.1972245773362196,
ClassData{prior = -2.9444389791664407,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", -1.3862943611198906),
("hour", -1.3862943611198906)],
[("time-of-day (latent)", -1.5040773967762742),
("hour", -1.5040773967762742)],
n = 1}}),
("el proximo <cycle> ",
Classifier{okData =
@ -1287,20 +1293,23 @@ classifiers
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3483066942682157, unseen = -3.367295829986474,
ClassData{prior = -0.2682639865946794,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("afternoon", -1.540445040947149),
("hour", -0.7672551527136672), ("evening", -1.9459101490553135),
("morning", -1.7227665977411035)],
n = 12},
[("afternoon", -1.455287232606842),
("hour", -0.7621400520468967), ("evening", -2.0149030205422647),
("morning", -1.791759469228055)],
n = 13},
koData =
ClassData{prior = -1.2237754316221157, unseen = -2.70805020110221,
ClassData{prior = -1.4469189829363254,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("afternoon", -1.252762968495368),
("hour", -0.8472978603872037), ("morning", -1.540445040947149)],
n = 5}}),
[("afternoon", -1.3862943611198906),
("hour", -0.8754687373538999),
("morning", -1.3862943611198906)],
n = 4}}),
("morning",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
@ -1358,24 +1367,34 @@ 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.40546510810816444,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("a las <time-of-day>integer (0-9) with two digits",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 11},
-1.4853852637641216),
("time-of-day (latent)integer (0-9) with two digits",
-1.405342556090585),
("time-of-day (latent)number (0..15)", -3.2771447329921766),
("hour", -0.7514160886839211)],
n = 24},
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,
ClassData{prior = -1.0986122886681098,
unseen = -3.4011973816621555,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.1786549963416462),
("number (0..15)", -0.3677247801253174)],
n = 11},
[("time-of-day (latent)integer (numeric)", -1.9810014688665833),
("time-of-day (latent)number (0..15)", -1.0647107369924282),
("hour", -0.8023464725249373)],
n = 12}}),
("integer (0-9) with two digits",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.252762968495368),
("number (0..15)", -0.3364722366212129)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),

View File

@ -535,6 +535,7 @@ allExamples = concat
, "para las 6 0 2 pm"
, "a las 6 0 2 pm"
, "al las 6 0 2 pm"
, "seis cero dos pm"
]
, examples (datetime (2013, 2, 12, 18, 2, 0) Minute)
[ "seis dos de la tarde"

View File

@ -391,14 +391,14 @@ ruleHourofdayIntegerAsRelativeMinutes :: Rule
ruleHourofdayIntegerAsRelativeMinutes = Rule
{ name = "<hour-of-day> <integer> (as relative minutes)"
, pattern =
[ Predicate $ and . sequence [isNotLatent, isAnHourOfDay]
[ Predicate $ and . sequence [isAnHourOfDay]
, Predicate $ isIntegerBetween 1 59
]
, prod = \tokens -> case tokens of
, prod = \case
(Token Time TimeData {TTime.form = Just (TTime.TimeOfDay (Just hours) is12H)}:
token:
minutes:
_) -> do
n <- getIntValue token
n <- getIntValue minutes
tt $ hourMinute is12H hours n
_ -> Nothing
}