duckling/Duckling/Ranking/Classifiers/IT.hs
Bartosz Nitka 003604dce7 Optimize simple time predicates
Summary:
This is the next step for:
https://fb.facebook.com/groups/527352907463243/permalink/600056483526218/

This:
* changes the time language to be able to track contradictions (`EmptyPredicate`)
* changes the time language to be able to collect non-contradicting pieces, like month and hour and unify them
* provides an efficient way to convert those pieces into (past,future) time series
* adds AMPM predicate runner - there's a bit of overlap with is12H, but it basically works
* changes a test case that was wrong before
* regenerates classifiers, I'm not sure why they changed exactly

Before:
```
res <- H.io $ let sentence = "10am thurs 4.30 thurs 12pm sat" in (debugTokens sentence $ analyze sentence (testContext {lang = EN}) HashSet.empty)
(15.50 secs, 6,171,188,928 bytes)

res <- H.io $ let sentence = "I have 9 am 12 pm 1 pm 2pm 4 pm 3 pm on Saturday" in (debugTokens sentence $ analyze sentence (testContext {lang = EN}) HashSet.empty)
(110.82 secs, 44,031,569,512 bytes)
```

After:
```
res <- H.io $ let sentence = "10am thurs 4.30 thurs 12pm sat" in (debugTokens sentence $ analyze sentence (testContext {lang = EN}) HashSet.empty)
(1.24 secs, 703,020,912 bytes)

res <- H.io $ let sentence = "I have 9 am 12 pm 1 pm 2pm 4 pm 3 pm on Saturday" in (debugTokens sentence $ analyze sentence (testContext {lang = EN}) HashSet.empty)
(9.51 secs, 5,891,109,592 bytes)
```

Reviewed By: JonCoens

Differential Revision: D4676812

fbshipit-source-id: 9810203
2017-03-13 17:04:10 -07:00

2085 lines
126 KiB
Haskell

-- Copyright (c) 2016-present, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
-----------------------------------------------------------------
-- Auto-generated by regenClassifiers
--
-- DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
-- @generated
-----------------------------------------------------------------
{-# LANGUAGE OverloadedStrings #-}
module Duckling.Ranking.Classifiers.IT (classifiers) where
import Prelude
import Duckling.Ranking.Types
import qualified Data.HashMap.Strict as HashMap
import Data.String
classifiers :: Classifiers
classifiers
= HashMap.fromList
[("<time-of-day> - <time-of-day> <day-of-month> (interval)",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
unseen = -2.3978952727983707,
likelihoods =
HashMap.fromList
[("hourhourday", -1.6094379124341003),
("minuteminuteday", -1.6094379124341003),
("hh(:|h)mm (time-of-day)hh(:|h)mm (time-of-day)named-day",
-1.6094379124341003),
("<integer> (latent time-of-day)<integer> (latent time-of-day)named-day",
-1.6094379124341003)],
n = 2},
koData =
ClassData{prior = -1.0986122886681098,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)<integer> (latent time-of-day)named-month",
-1.3862943611198906),
("hourhourmonth", -1.3862943611198906)],
n = 1}}),
("midnight",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("the <cycle> next",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("week", -1.3862943611198906),
("semaine (grain)", -1.3862943611198906),
("mois (grain)", -1.3862943611198906),
("month", -1.3862943611198906)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("<time> timezone",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("at <time-of-day>", -1.0986122886681098),
("hh(:|h)mm (time-of-day)", -1.791759469228055),
("hour", -1.3862943611198906), ("minute", -1.3862943611198906)],
n = 4},
koData =
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.5510646669461725, unseen = -5.030437921392435,
likelihoods = HashMap.fromList [("", 0.0)], n = 151},
koData =
ClassData{prior = -0.8588143024487628, unseen = -4.727387818712341,
likelihoods = HashMap.fromList [("", 0.0)], n = 111}}),
("the day before yesterday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("lunch",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("dd[/-]mm",
Classifier{okData =
ClassData{prior = -0.5108256237659907,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -0.916290731874155, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("today",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("at <time-of-day>",
Classifier{okData =
ClassData{prior = -0.6325225587435105,
unseen = -4.7535901911063645,
likelihoods =
HashMap.fromList
[("midnight", -4.051784947803305),
("<time> timezone", -4.051784947803305),
("<integer 0 12> del <part of day>", -2.665490586683414),
("<integer> (latent time-of-day)", -1.5668782980153044),
("hh(:|h)mm (time-of-day)", -2.1058747987479913),
("<hour-of-day> and <relative minutes>", -4.051784947803305),
("noon", -3.6463198396951406),
("hh <relative-minutes> del pomeriggio(time-of-day)",
-3.6463198396951406),
("<hour-of-day> minus quart", -4.051784947803305),
("hour", -1.2185716037470886), ("minute", -1.8004931491968097)],
n = 51},
koData =
ClassData{prior = -0.7576857016975165,
unseen = -4.6443908991413725,
likelihoods =
HashMap.fromList
[("una", -3.9415818076696905),
("<integer> (latent time-of-day)", -1.0512100497735257),
("hh(:|h)mm (time-of-day)", -2.842969519001581),
("<hour-of-day> and <relative minutes>", -3.536116699561526),
("<hour-of-day> minus <integer> (as relative minutes)",
-3.9415818076696905),
("noon", -3.9415818076696905), ("hour", -0.99714282850325),
("minute", -2.4375044108934163)],
n = 45}}),
("ann\233e (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("dopo le <time-of-day>",
Classifier{okData =
ClassData{prior = -1.3862943611198906, unseen = -2.772588722239781,
likelihoods =
HashMap.fromList
[("midnight", -2.0149030205422647),
("<integer> (latent time-of-day)", -1.0986122886681098),
("hour", -0.916290731874155)],
n = 5},
koData =
ClassData{prior = -0.2876820724517809, unseen = -3.58351893845611,
likelihoods =
HashMap.fromList
[("midnight", -2.8622008809294686),
("<integer> (latent time-of-day)", -1.0704414117014134),
("hh(:|h)mm (time-of-day)", -2.169053700369523),
("hour", -0.9903987040278769), ("minute", -2.169053700369523)],
n = 15}}),
("seconde (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("stanotte",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("dal <integer> al <integer> (interval)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("number (0..19)number (0..19)", -0.6931471805599453),
("integer (numeric)integer (numeric)", -0.6931471805599453)],
n = 4},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("<integer 0 12> del <part of day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.2876820724517809),
("number (0..19)", -1.3862943611198906)],
n = 10},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("una",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("semaine (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.4657359027997265,
likelihoods = HashMap.fromList [("", 0.0)], n = 30},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("il <day-of-month>",
Classifier{okData =
ClassData{prior = -0.3364722366212129,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 10},
koData =
ClassData{prior = -1.252762968495368, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 4}}),
("mois (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.258096538021482,
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<ordinal> quarter",
Classifier{okData =
ClassData{prior = -0.916290731874155, unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("ordinals (primo..10)trimestre (grain)", -0.6931471805599453),
("quarter", -0.6931471805599453)],
n = 2},
koData =
ClassData{prior = -0.5108256237659907,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("ordinals (primo..10)trimestre (grain)", -0.6931471805599453),
("quarter", -0.6931471805599453)],
n = 3}}),
("in|entro <duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
likelihoods =
HashMap.fromList
[("week", -1.252762968495368),
("<integer> <unit-of-duration>", -0.8472978603872037),
("minute", -1.252762968495368)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> next",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods =
HashMap.fromList
[("week", -1.2039728043259361),
("semaine (grain)", -1.2039728043259361),
("mois (grain)", -1.6094379124341003),
("month", -1.6094379124341003)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("epifania",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("last <time> ",
Classifier{okData =
ClassData{prior = -2.8622008809294686,
unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("day", -1.7047480922384253),
("named-day", -1.7047480922384253),
("hour", -1.7047480922384253),
("week-end", -1.7047480922384253)],
n = 2},
koData =
ClassData{prior = -5.8840500022933465e-2,
unseen = -4.304065093204169,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.9582549309731873),
("intersect by \"di\", \"della\", \"del\"",
-3.1918471524802814),
("day", -2.344549292093078), ("named-day", -3.1918471524802814),
("hour", -0.9582549309731873),
("two time tokens separated by `di`", -3.1918471524802814)],
n = 33}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("daymonth", -1.7047480922384253),
("weekmonth", -1.2992829841302609),
("ordinals (primo..10)jour (grain)named-month",
-1.7047480922384253),
("ordinals (primo..10)semaine (grain)named-month",
-1.7047480922384253),
("ordinals (primo..10)semaine (grain)two time tokens in a row",
-1.7047480922384253)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("season",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<time> last",
Classifier{okData =
ClassData{prior = -1.791759469228055, unseen = -2.0794415416798357,
likelihoods =
HashMap.fromList
[("day", -1.252762968495368), ("named-day", -1.252762968495368)],
n = 1},
koData =
ClassData{prior = -0.1823215567939546, unseen = -2.772588722239781,
likelihoods =
HashMap.fromList
[("at <time-of-day>", -1.6094379124341003),
("<integer> (latent time-of-day)", -1.3217558399823195),
("hour", -0.916290731874155)],
n = 5}}),
("the <ordinal> <cycle> <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("quarteryear", -0.6931471805599453),
("ordinals (primo..10)trimestre (grain)year (1000-2100 not latent)",
-0.6931471805599453)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("verso <part-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("hour", -0.6931471805599453),
("evening", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("the <cycle> of <time>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("weekday", -0.9808292530117262),
("semaine (grain)<day-of-month> <named-month>",
-0.9808292530117262)],
n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("semaine (grain)<integer> (latent time-of-day)",
-0.9808292530117262),
("weekhour", -0.9808292530117262)],
n = 2}}),
("yyyy-mm-dd",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in the <part-of-day> of <dim time>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("hourday", -0.9808292530117262),
("morningnamed-day", -1.3862943611198906),
("eveningtomorrow", -1.3862943611198906)],
n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("hourday", -0.9808292530117262),
("nighttomorrow", -0.9808292530117262)],
n = 2}}),
("yesterday",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -1.0986122886681098,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("<ordinal> quarter <year>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("quarteryear", -0.6931471805599453),
("ordinals (primo..10)trimestre (grain)year (1000-2100 not latent)",
-0.6931471805599453)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("festa della repubblica",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("in/after <duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.2188758248682006,
likelihoods =
HashMap.fromList
[("week", -2.4849066497880004),
("un quarto d'ora", -2.4849066497880004),
("<integer> <unit-of-duration>", -1.5686159179138452),
("une <unit-of-duration>", -2.4849066497880004),
("hour", -2.0794415416798357),
("mezz'ora", -2.4849066497880004),
("minute", -1.3862943611198906),
("tre quarti d'ora", -2.4849066497880004)],
n = 8},
koData =
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("i|le n <cycle> passati|passate",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.219507705176107,
likelihoods =
HashMap.fromList
[("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)heure (grain)",
-3.5115454388310208),
("number (0..19)heure (grain)", -3.5115454388310208),
("number (0..19)jour (grain)", -2.8183982582710754),
("second", -3.1060803307228566),
("integer (numeric)ann\233e (grain)", -3.1060803307228566),
("integer (numeric)seconde (grain)", -3.5115454388310208),
("integer (numeric)jour (grain)", -3.1060803307228566),
("day", -2.412933150162911), ("year", -2.5952547069568657),
("number (0..19)seconde (grain)", -3.5115454388310208),
("number (0..19)ann\233e (grain)", -3.1060803307228566),
("hour", -2.2587824703356527),
("number (0..19)mois (grain)", -3.1060803307228566),
("month", -2.412933150162911),
("integer (numeric)minute (grain)", -3.5115454388310208),
("integer (numeric)mois (grain)", -2.8183982582710754),
("minute", -3.1060803307228566),
("number (0..19)minute (grain)", -3.5115454388310208),
("integer (numeric)heure (grain)", -2.5952547069568657)],
n = 24},
koData =
ClassData{prior = -infinity, unseen = -2.995732273553991,
likelihoods = HashMap.fromList [], n = 0}}),
("un quarto d'ora",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("santo stefano",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("entro il <integer>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("stasera",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("<integer> (latent time-of-day)",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
unseen = -3.8066624897703196,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.3184537311185346),
("number (0..19)", -1.3862943611198906)],
n = 41},
koData =
ClassData{prior = -0.40546510810816444,
unseen = -4.454347296253507,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.3317773923170052),
("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)",
-3.3440389678222067),
("number (0..19)", -1.3981288187668934)],
n = 82}}),
("nth <time> of <time>",
Classifier{okData =
ClassData{prior = -0.4700036292457356, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("daymonth", -0.7731898882334817),
("ordinals (primo..10)named-daynamed-month",
-1.466337068793427),
("ordinals (primo..10)named-daytwo time tokens in a row",
-1.1786549963416462)],
n = 5},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("daymonth", -0.8109302162163288),
("ordinals (primo..10)named-daynamed-month",
-0.8109302162163288)],
n = 3}}),
("a quart to <integer> (as hour-of-day)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("noon", -0.6931471805599453), ("hour", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("<time> notte",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("new year's eve", -1.8718021769015913),
("tomorrow", -0.9555114450274363),
("day", -0.7731898882334817)],
n = 5},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("named-month",
Classifier{okData =
ClassData{prior = -1.680711831638129e-2,
unseen = -4.110873864173311,
likelihoods = HashMap.fromList [("", 0.0)], n = 59},
koData =
ClassData{prior = -4.0943445622221, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("intersect by \"di\", \"della\", \"del\"",
Classifier{okData =
ClassData{prior = -0.41616039722491244,
unseen = -4.442651256490317,
likelihoods =
HashMap.fromList
[("hh(:|h)mm (time-of-day)named-day", -3.332204510175204),
("named-daynamed-month", -3.332204510175204),
("hourday", -2.4849066497880004),
("day of month (1st)named-month", -3.7376696182833684),
("daymonth", -2.3513752571634776),
("named-daytwo time tokens in a row", -3.7376696182833684),
("at <time-of-day>named-day", -3.332204510175204),
("hh(:|h)mm (time-of-day)<day-of-month> <named-month>",
-3.7376696182833684),
("two time tokens in a rowtwo time tokens in a row",
-3.7376696182833684),
("dalle <time-of-day> alle <time-of-day> (interval)named-day",
-3.044522437723423),
("<integer 0 12> del <part of day>tomorrow",
-3.7376696182833684),
("hh(:|h)mm (time-of-day)two time tokens in a row",
-2.8213788864092133),
("hh(:|h)mm (time-of-day)<named-day> <day-of-month>",
-3.332204510175204),
("at <time-of-day>two time tokens in a row",
-3.332204510175204),
("minuteday", -1.6582280766035324),
("at <time-of-day><named-day> <day-of-month>",
-3.7376696182833684),
("dayweek", -3.044522437723423),
("two time tokens in a rownamed-month", -3.332204510175204),
("<dim time> al <part-of-day>tomorrow", -3.7376696182833684),
("named-daythis <cycle>", -3.044522437723423),
("tra il <datetime> e il <datetime> (interval)named-day",
-3.332204510175204)],
n = 31},
koData =
ClassData{prior = -1.0775588794702773, unseen = -4.007333185232471,
likelihoods =
HashMap.fromList
[("hh(:|h)mm (time-of-day)named-day", -2.890371757896165),
("named-daynamed-month", -2.379546134130174),
("hourday", -2.1972245773362196),
("daymonth", -1.9095425048844386),
("named-daytwo time tokens in a row", -2.6026896854443837),
("at <time-of-day>named-day", -2.1972245773362196),
("stanottetomorrow", -2.890371757896165),
("minuteday", -2.379546134130174)],
n = 16}}),
("<hour-of-day> and a quart",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.6931471805599453),
("hour", -0.6931471805599453)],
n = 2}}),
("commemorazione dei defunti",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("valentine's day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("hh(:|h)mm (time-of-day)",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -3.784189633918261,
likelihoods = HashMap.fromList [("", 0.0)], n = 42},
koData =
ClassData{prior = -2.0794415416798357,
unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6}}),
("EOY|End of year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("this <part-of-day>",
Classifier{okData =
ClassData{prior = -0.4595323293784402, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("afternoon", -2.639057329615259),
("hour", -0.7672551527136672), ("evening", -1.1349799328389845),
("morning", -1.9459101490553135)],
n = 12},
koData =
ClassData{prior = -0.9985288301111273,
unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("hour", -0.8109302162163288), ("evening", -1.791759469228055),
("morning", -1.0986122886681098)],
n = 7}}),
("circa per le <time-of-day>",
Classifier{okData =
ClassData{prior = -0.2876820724517809,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("<integer 0 12> del <part of day>", -1.5040773967762742),
("<integer> (latent time-of-day)", -1.0986122886681098),
("hour", -0.8109302162163288)],
n = 3},
koData =
ClassData{prior = -1.3862943611198906, unseen = -1.791759469228055,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.916290731874155),
("hour", -0.916290731874155)],
n = 1}}),
("christmas eve",
Classifier{okData =
ClassData{prior = -0.2876820724517809,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -1.3862943611198906,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("festa del lavoro",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("il week-end del <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("day", -0.6931471805599453),
("<day-of-month> <named-month>", -0.6931471805599453)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("numbers prefix with -, negative or minus",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.2231435513142097),
("number (0..19)", -1.6094379124341003)],
n = 13}}),
("entro le <time-of-day>",
Classifier{okData =
ClassData{prior = -0.11778303565638351,
unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("il <day-of-month>", -2.639057329615259),
("<integer> (latent time-of-day)", -2.2335922215070942),
("named-month", -2.639057329615259),
("hh(:|h)mm (time-of-day)", -2.639057329615259),
("EOY|End of year", -2.639057329615259),
("day", -2.639057329615259), ("year", -2.639057329615259),
("EOM|End of month", -2.639057329615259),
("noon", -2.639057329615259), ("hour", -1.9459101490553135),
("month", -2.2335922215070942), ("minute", -2.639057329615259)],
n = 8},
koData =
ClassData{prior = -2.1972245773362196, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -1.9459101490553135),
("hour", -1.9459101490553135)],
n = 1}}),
("new year's eve",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("tomorrow",
Classifier{okData =
ClassData{prior = -5.406722127027582e-2,
unseen = -2.995732273553991,
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
koData =
ClassData{prior = -2.9444389791664407,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("Mother's Day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("domattina",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("number (20..90)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinals (primo..10)",
Classifier{okData =
ClassData{prior = -1.0185695809945732, unseen = -2.70805020110221,
likelihoods = HashMap.fromList [("", 0.0)], n = 13},
koData =
ClassData{prior = -0.4480247225269604,
unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23}}),
("the <ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("daymonth", -0.6931471805599453),
("ordinals (primo..10)jour (grain)named-month",
-0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("gli <n> ultimi <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("week", -0.8109302162163288),
("number (0..19)semaine (grain)", -1.5040773967762742),
("integer (numeric)semaine (grain)", -1.0986122886681098)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("afternoon",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
("tra il <integer> e il <integer> (interval)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList [("integer (numeric)integer (numeric)", 0.0)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("this <cycle>",
Classifier{okData =
ClassData{prior = -0.15415067982725836,
unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("week", -1.2809338454620642),
("ann\233e (grain)", -2.1972245773362196),
("semaine (grain)", -1.2809338454620642),
("quarter", -2.1972245773362196), ("year", -2.1972245773362196),
("trimestre (grain)", -2.1972245773362196)],
n = 6},
koData =
ClassData{prior = -1.9459101490553135,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("week", -1.3862943611198906),
("semaine (grain)", -1.3862943611198906)],
n = 1}}),
("minute (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("il <cycle> dopo <time>",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("monthday", -1.5040773967762742),
("dayday", -1.5040773967762742),
("mois (grain)two time tokens in a row", -1.5040773967762742),
("jour (grain)tomorrow", -1.5040773967762742)],
n = 2},
koData =
ClassData{prior = -1.0986122886681098,
unseen = -2.0794415416798357,
likelihoods =
HashMap.fromList
[("monthday", -1.252762968495368),
("mois (grain)christmas", -1.252762968495368)],
n = 1}}),
("night",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
("tra il <datetime> e il <datetime> (interval)",
Classifier{okData =
ClassData{prior = -0.8109302162163288, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("minuteminute", -1.466337068793427),
("at <time-of-day>at <time-of-day>", -0.9555114450274363),
("hourhour", -1.466337068793427)],
n = 4},
koData =
ClassData{prior = -0.587786664902119, unseen = -2.772588722239781,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)<integer> (latent time-of-day)",
-1.3217558399823195),
("at <time-of-day>at <time-of-day>", -1.6094379124341003),
("hourhour", -1.3217558399823195),
("minutehour", -1.6094379124341003)],
n = 5}}),
("gli ultimi <n> <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.343805421853684,
likelihoods =
HashMap.fromList
[("week", -3.2321210516182215),
("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)heure (grain)",
-3.6375861597263857),
("number (0..19)heure (grain)", -2.9444389791664407),
("number (0..19)jour (grain)", -3.2321210516182215),
("second", -3.2321210516182215),
("integer (numeric)ann\233e (grain)", -2.9444389791664407),
("integer (numeric)seconde (grain)", -3.6375861597263857),
("integer (numeric)jour (grain)", -3.2321210516182215),
("day", -2.7212954278522306), ("year", -2.538973871058276),
("number (0..19)seconde (grain)", -3.6375861597263857),
("number (0..19)ann\233e (grain)", -3.2321210516182215),
("number (0..19)semaine (grain)", -3.6375861597263857),
("hour", -2.2512917986064953),
("number (0..19)mois (grain)", -2.9444389791664407),
("month", -2.538973871058276),
("integer (numeric)minute (grain)", -3.6375861597263857),
("integer (numeric)mois (grain)", -3.2321210516182215),
("minute", -3.2321210516182215),
("number (0..19)minute (grain)", -3.6375861597263857),
("integer (numeric)semaine (grain)", -3.6375861597263857),
("integer (numeric)heure (grain)", -2.9444389791664407)],
n = 27},
koData =
ClassData{prior = -infinity, unseen = -3.1354942159291497,
likelihoods = HashMap.fromList [], n = 0}}),
("le idi di <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("named-month", -0.6931471805599453),
("month", -0.6931471805599453)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("the <ordinal> quarter",
Classifier{okData =
ClassData{prior = -1.0986122886681098,
unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("ordinals (primo..10)trimestre (grain)", -0.6931471805599453),
("quarter", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -0.40546510810816444,
unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("ordinals (primo..10)trimestre (grain)", -0.6931471805599453),
("quarter", -0.6931471805599453)],
n = 2}}),
("<dim time> <part-of-day>",
Classifier{okData =
ClassData{prior = -0.5389965007326869, unseen = -3.295836866004329,
likelihoods =
HashMap.fromList
[("dayhour", -1.1786549963416462),
("<day-of-month> <named-month>morning", -2.5649493574615367),
("tomorrowevening", -2.5649493574615367),
("named-daymorning", -2.159484249353372),
("tomorrowmorning", -2.5649493574615367),
("tomorrowlunch", -2.5649493574615367),
("yesterdayevening", -2.5649493574615367)],
n = 7},
koData =
ClassData{prior = -0.8754687373538999,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("dayhour", -1.9924301646902063),
("tomorrownight", -2.3978952727983707),
("monthhour", -1.7047480922384253),
("named-monththis <part-of-day>", -1.9924301646902063),
("tomorrowstanotte", -2.3978952727983707),
("named-monthmorning", -2.3978952727983707)],
n = 5}}),
("<hour-of-day> and <relative minutes>",
Classifier{okData =
ClassData{prior = -1.0116009116784799, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("at <time-of-day>number (20..90)", -1.8718021769015913),
("<integer> (latent time-of-day)integer (numeric)",
-1.466337068793427),
("<integer> (latent time-of-day)number (20..90)",
-1.8718021769015913),
("hour", -0.9555114450274363)],
n = 4},
koData =
ClassData{prior = -0.45198512374305727,
unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("at <time-of-day>number (20..90)", -1.845826690498331),
("<integer> (latent time-of-day)integer (numeric)",
-2.2512917986064953),
("<integer> (latent time-of-day)number (20..90)",
-1.845826690498331),
("hour", -0.8649974374866046),
("<integer> (latent time-of-day)number (0..19)",
-1.845826690498331)],
n = 7}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("named-daynamed-month", -1.0986122886681098),
("daymonth", -0.8109302162163288),
("named-daytwo time tokens in a row", -1.5040773967762742)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("<named-day> <day-of-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods =
HashMap.fromList
[("named-dayinteger (numeric)", -0.6931471805599453),
("day", -0.6931471805599453)],
n = 12},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -2.9444389791664407,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("week", -2.70805020110221),
("number (0..19)semaine (grain)", -2.70805020110221),
("hour", -2.70805020110221),
("integer (numeric)minute (grain)", -2.3025850929940455),
("minute", -2.3025850929940455),
("integer (numeric)heure (grain)", -2.70805020110221)],
n = 4},
koData =
ClassData{prior = -5.406722127027582e-2,
unseen = -5.117993812416755,
likelihoods =
HashMap.fromList
[("week", -3.3202283191284883),
("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)heure (grain)",
-4.013375499688434),
("number (0..19)heure (grain)", -3.3202283191284883),
("number (0..19)jour (grain)", -3.16607763930123),
("second", -3.0325462466767075),
("integer (numeric)ann\233e (grain)", -3.16607763930123),
("integer (numeric)seconde (grain)", -3.7256934272366524),
("integer (numeric)jour (grain)", -3.16607763930123),
("day", -2.5470384308950065), ("year", -2.627081138568543),
("number (0..19)seconde (grain)", -3.5025498759224427),
("number (0..19)ann\233e (grain)", -3.3202283191284883),
("number (0..19)semaine (grain)", -4.013375499688434),
("hour", -2.278774444300327),
("number (0..19)mois (grain)", -3.0325462466767075),
("month", -2.403937587254333),
("integer (numeric)minute (grain)", -3.5025498759224427),
("integer (numeric)mois (grain)", -3.0325462466767075),
("minute", -3.0325462466767075),
("number (0..19)minute (grain)", -3.7256934272366524),
("integer (numeric)semaine (grain)", -3.7256934272366524),
("integer (numeric)heure (grain)", -2.8094026953624978)],
n = 72}}),
("immacolata concezione",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<dim time> al <part-of-day>",
Classifier{okData =
ClassData{prior = -0.3746934494414107,
unseen = -3.6375861597263857,
likelihoods =
HashMap.fromList
[("dayhour", -1.413693335308005),
("<integer> (latent time-of-day)afternoon", -2.917770732084279),
("hh(:|h)mm (time-of-day)afternoon", -2.917770732084279),
("<day-of-month> <named-month>morning", -2.512305623976115),
("il <day-of-month> <named-month>morning", -2.917770732084279),
("hourhour", -2.917770732084279),
("two time tokens in a rowmorning", -2.917770732084279),
("minutehour", -2.512305623976115),
("tomorrowevening", -2.917770732084279),
("named-daymorning", -2.512305623976115),
("il <time>morning", -2.917770732084279),
("hh(:|h)mm (time-of-day)morning", -2.917770732084279)],
n = 11},
koData =
ClassData{prior = -1.1631508098056809, unseen = -3.258096538021482,
likelihoods =
HashMap.fromList
[("dayhour", -2.5257286443082556),
("<integer> (latent time-of-day)afternoon", -2.120263536200091),
("tomorrownight", -2.5257286443082556),
("monthhour", -2.120263536200091),
("hourhour", -2.120263536200091),
("named-monthmorning", -2.120263536200091)],
n = 5}}),
("named-day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.290459441148391,
likelihoods = HashMap.fromList [("", 0.0)], n = 71},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("dal <datetime> al <datetime> (interval)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("dayday", -0.6931471805599453),
("tomorrownamed-day", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("dalle <time-of-day> alle <time-of-day> (interval)",
Classifier{okData =
ClassData{prior = -0.35667494393873245,
unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("midnight<integer> (latent time-of-day)", -2.3978952727983707),
("minuteminute", -1.7047480922384253),
("hh(:|h)mm (time-of-day)hh(:|h)mm (time-of-day)",
-1.7047480922384253),
("<integer> (latent time-of-day)<integer> (latent time-of-day)",
-1.9924301646902063),
("hourhour", -1.4816045409242156),
("<integer> (latent time-of-day)una", -2.3978952727983707)],
n = 7},
koData =
ClassData{prior = -1.2039728043259361, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("minutehour", -1.252762968495368),
("hh(:|h)mm (time-of-day)<integer> (latent time-of-day)",
-1.252762968495368)],
n = 3}}),
("ferragosto",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("day of month (1st)",
Classifier{okData =
ClassData{prior = -9.53101798043249e-2,
unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10},
koData =
ClassData{prior = -2.3978952727983707,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("number (0..19)",
Classifier{okData =
ClassData{prior = -0.14058195062118944,
unseen = -4.007333185232471,
likelihoods = HashMap.fromList [("", 0.0)], n = 53},
koData =
ClassData{prior = -2.031432322493475, unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8}}),
("year (1000-2100 not latent)",
Classifier{okData =
ClassData{prior = -0.2231435513142097, unseen = -2.890371757896165,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 16},
koData =
ClassData{prior = -1.6094379124341003, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 4}}),
("il <time>",
Classifier{okData =
ClassData{prior = -0.1823215567939546, unseen = -4.060443010546419,
likelihoods =
HashMap.fromList
[("dd[/-]mm", -3.349904087274605),
("<ordinal> quarter", -3.349904087274605),
("<cycle> next", -3.349904087274605),
("<ordinal> <cycle> of <time>", -3.349904087274605),
("<ordinal> quarter <year>", -3.349904087274605),
("day", -1.3350010667323402), ("quarter", -2.9444389791664407),
("<dim time> al <part-of-day>", -3.349904087274605),
("named-day", -3.349904087274605),
("day of month (1st)", -3.349904087274605),
("two time tokens in a row", -2.6567569067146595),
("hour", -2.9444389791664407), ("month", -3.349904087274605),
("next <time>", -2.9444389791664407),
("<day-of-month> <named-month>", -2.097141118779237),
("minute", -3.349904087274605),
("week-end", -3.349904087274605)],
n = 20},
koData =
ClassData{prior = -1.791759469228055, unseen = -3.258096538021482,
likelihoods =
HashMap.fromList
[("<ordinal> quarter", -2.5257286443082556),
("day", -2.5257286443082556), ("quarter", -2.5257286443082556),
("two time tokens in a row", -2.5257286443082556),
("hour", -2.120263536200091),
("<day-of-month> <named-month>", -2.5257286443082556),
("week-end", -2.5257286443082556)],
n = 4}}),
("entro <time>",
Classifier{okData =
ClassData{prior = -0.15415067982725836,
unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("at <time-of-day>", -2.4423470353692043),
("il <day-of-month>", -2.4423470353692043),
("named-month", -2.4423470353692043),
("EOY|End of year", -2.4423470353692043),
("day", -2.4423470353692043), ("year", -2.4423470353692043),
("EOM|End of month", -2.4423470353692043),
("noon", -2.4423470353692043), ("hour", -2.4423470353692043),
("month", -2.03688192726104), ("minute", -2.4423470353692043)],
n = 6},
koData =
ClassData{prior = -1.9459101490553135, unseen = -2.639057329615259,
likelihoods =
HashMap.fromList
[("at <time-of-day>", -1.8718021769015913),
("hour", -1.8718021769015913)],
n = 1}}),
("trimestre (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("ognissanti",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<hour-of-day> minus <integer> (as relative minutes)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("noonnumber (0..19)", -1.0986122886681098),
("at <time-of-day>number (0..19)", -1.5040773967762742),
("hour", -0.8109302162163288)],
n = 3}}),
("une <unit-of-duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("heure (grain)", -0.6931471805599453),
("hour", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("next <cycle> ",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("week", -1.7047480922384253),
("ann\233e (grain)", -2.3978952727983707),
("semaine (grain)", -1.7047480922384253),
("mois (grain)", -2.3978952727983707),
("quarter", -1.9924301646902063), ("year", -2.3978952727983707),
("trimestre (grain)", -1.9924301646902063),
("month", -2.3978952727983707)],
n = 7},
koData =
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("EOM|End of month",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("hh quart del pomeriggio(time-of-day)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.6931471805599453),
("hour", -0.6931471805599453)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("two time tokens in a row",
Classifier{okData =
ClassData{prior = -0.3708595789306889, unseen = -5.955837369464831,
likelihoods =
HashMap.fromList
[("il <time>named-month", -5.260096153727839),
("hh(:|h)mm (time-of-day)named-day", -5.260096153727839),
("intersect by \"di\", \"della\", \"del\"year (1000-2100 not latent)",
-4.854631045619675),
("named-monthyear (1000-2100 not latent)", -3.5553480614894135),
("day of month (1st)named-month", -4.566948973167894),
("dayhour", -3.245193133185574),
("daymonth", -2.4875074314880576),
("day of month (1st)intersect by \"di\", \"della\", \"del\"",
-4.566948973167894),
("monthyear", -3.5553480614894135),
("day of month (1st)two time tokens in a row",
-4.161483865059729),
("named-dayentro <time>", -5.260096153727839),
("named-daytwo time tokens in a row", -4.854631045619675),
("<ordinal> <cycle> of <time>year (1000-2100 not latent)",
-5.260096153727839),
("christmasyear (1000-2100 not latent)", -4.854631045619675),
("<named-day> <day-of-month>two time tokens in a row",
-4.854631045619675),
("tra il <integer> e il <integer> (interval)named-month",
-4.854631045619675),
("tomorrowdopo <time>", -5.260096153727839),
("at <time-of-day>named-day", -5.260096153727839),
("intersect by \"di\", \"della\", \"del\"<day-of-month> <named-month>",
-4.566948973167894),
("entro il <integer>named-month", -5.260096153727839),
("day of month (1st)named-day", -4.161483865059729),
("dayday", -2.695146796266302),
("named-daydalle <time-of-day> alle <time-of-day> (interval)",
-4.854631045619675),
("il <time>year (1000-2100 not latent)", -5.260096153727839),
("intersect by \"di\", \"della\", \"del\"named-month",
-4.566948973167894),
("dayyear", -3.120029990231568),
("tomorrowdalle <time-of-day> alle <time-of-day> (interval)",
-5.260096153727839),
("hh(:|h)mm (time-of-day)two time tokens in a row",
-4.854631045619675),
("dd[/-]mmat <time-of-day>", -5.260096153727839),
("tomorrowdopo le <time-of-day>", -4.854631045619675),
("monthminute", -4.566948973167894),
("minutemonth", -3.7560187569515646),
("named-day<time> timezone", -5.260096153727839),
("hh(:|h)mm (time-of-day)<named-day> <day-of-month>",
-5.260096153727839),
("il <day-of-month> <named-month>at <time-of-day>",
-5.260096153727839),
("named-dayin <named-month>", -4.566948973167894),
("named-day<day-of-month> <named-month>", -3.6506582412937383),
("<day-of-month> <named-month>at <time-of-day>",
-4.566948973167894),
("il <day-of-month> <named-month>year (1000-2100 not latent)",
-5.260096153727839),
("two time tokens separated by `di`year (1000-2100 not latent)",
-4.854631045619675),
("last <cycle> of <time>year (1000-2100 not latent)",
-4.566948973167894),
("day of month (1st)two time tokens separated by `di`",
-4.566948973167894),
("dal <integer> al <integer> (interval)named-month",
-4.854631045619675),
("il <day-of-month>named-month", -4.007333185232471),
("the day after tomorrowat <time-of-day>", -4.854631045619675),
("two time tokens in a rowyear (1000-2100 not latent)",
-4.566948973167894),
("il <day-of-month>two time tokens in a row",
-4.854631045619675),
("at <time-of-day>two time tokens in a row",
-4.854631045619675),
("dayminute", -2.8622008809294686),
("two time tokens in a rowat <time-of-day>",
-4.161483865059729),
("minuteday", -3.0628715763916197),
("two time tokens separated by `di`<day-of-month> <named-month>",
-4.566948973167894),
("il <time>at <time-of-day>", -5.260096153727839),
("named-dayat <time-of-day>", -4.854631045619675),
("last <day-of-week> of <time>year (1000-2100 not latent)",
-5.260096153727839),
("immacolata concezioneat <time-of-day>", -5.260096153727839),
("at <time-of-day><named-day> <day-of-month>",
-5.260096153727839),
("two time tokens separated by `di`named-month",
-4.566948973167894),
("weekyear", -4.854631045619675),
("named-dayentro le <time-of-day>", -5.260096153727839),
("two time tokens in a rownamed-month", -4.854631045619675),
("tomorrowat <time-of-day>", -5.260096153727839),
("two time tokens in a row<day-of-month> <named-month>",
-4.854631045619675),
("named-daytra il <datetime> e il <datetime> (interval)",
-4.854631045619675),
("two time tokens in a rowin <named-month>",
-4.566948973167894),
("<named-day> <day-of-month>named-month", -3.6506582412937383),
("the day after tomorrowentro le <time-of-day>",
-5.260096153727839),
("<day-of-month> <named-month>year (1000-2100 not latent)",
-4.854631045619675),
("named-monthat <time-of-day>", -4.566948973167894),
("commemorazione dei defuntiat <time-of-day>",
-5.260096153727839),
("<datetime> - <datetime> (interval)named-day",
-5.260096153727839)],
n = 147},
koData =
ClassData{prior = -1.1716374236829996,
unseen = -5.4116460518550396,
likelihoods =
HashMap.fromList
[("at <time-of-day>prossimi <unit-of-duration>",
-4.308559482792009),
("hh(:|h)mm (time-of-day)named-day", -4.7140245909001735),
("intersect by \"di\", \"della\", \"del\"year (1000-2100 not latent)",
-4.020877410340228),
("named-monthyear (1000-2100 not latent)", -4.7140245909001735),
("dayhour", -2.188295946591918),
("daymonth", -4.7140245909001735),
("monthday", -4.308559482792009),
("monthyear", -4.7140245909001735),
("named-daytwo time tokens in a row", -4.020877410340228),
("tra il <datetime> e il <datetime> (interval)named-month",
-4.308559482792009),
("<named-day> <day-of-month>two time tokens in a row",
-4.020877410340228),
("named-month<day-of-month> <named-month>", -4.308559482792009),
("monthhour", -3.615412302232064),
("hourmonth", -4.308559482792009),
("dayday", -4.7140245909001735),
("named-daydalle <time-of-day> alle <time-of-day> (interval)",
-4.7140245909001735),
("named-monththis <part-of-day>", -4.308559482792009),
("dayyear", -3.2099471941238993),
("tomorrowdalle <time-of-day> alle <time-of-day> (interval)",
-4.7140245909001735),
("tomorrowstanotte", -4.7140245909001735),
("year (1000-2100 not latent)<hour-of-day> <integer> (as relative minutes)",
-4.308559482792009),
("the <cycle> of <time>named-month", -4.308559482792009),
("dd[/-]mmat <time-of-day>", -4.7140245909001735),
("tomorrowdopo le <time-of-day>", -4.308559482792009),
("monthminute", -4.7140245909001735),
("minutemonth", -4.308559482792009),
("named-daydopo <time>", -4.7140245909001735),
("il <day-of-month> <named-month>at <time-of-day>",
-4.7140245909001735),
("dopo <time>at <time-of-day>", -4.7140245909001735),
("<day-of-month> <named-month>at <time-of-day>",
-3.7977338590260183),
("weekmonth", -4.308559482792009),
("two time tokens separated by `di`year (1000-2100 not latent)",
-4.020877410340228),
("hourweek", -4.308559482792009),
("il <day-of-month>named-month", -4.7140245909001735),
("the day after tomorrowat <time-of-day>", -4.7140245909001735),
("<hour-of-day> <integer> (as relative minutes)named-month",
-4.7140245909001735),
("il <day-of-month>two time tokens in a row",
-4.7140245909001735),
("dayminute", -2.9222651216721185),
("two time tokens in a rowat <time-of-day>",
-3.3277302297802827),
("minuteday", -4.308559482792009),
("il <time>at <time-of-day>", -4.7140245909001735),
("named-daydopo le <time-of-day>", -4.020877410340228),
("named-dayat <time-of-day>", -4.308559482792009),
("<hour-of-day> <integer> (as relative minutes)named-day",
-4.7140245909001735),
("tomorrowat <time-of-day>", -4.7140245909001735),
("named-daytra il <datetime> e il <datetime> (interval)",
-4.7140245909001735),
("dopo <time>year (1000-2100 not latent)", -4.308559482792009),
("<hour-of-day> and <relative minutes>named-month",
-4.7140245909001735),
("named-monthat <time-of-day>", -3.7977338590260183),
("yearminute", -4.308559482792009)],
n = 66}}),
("heure (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.0910424533583156,
likelihoods = HashMap.fromList [("", 0.0)], n = 20},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("the day after tomorrow",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("noon",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("jour (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.995732273553991,
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("hh <relative-minutes> del pomeriggio(time-of-day)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("at <time-of-day>number (20..90)", -1.2992829841302609),
("<integer> (latent time-of-day)number (20..90)",
-1.2992829841302609),
("hour", -0.7884573603642702)],
n = 4},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("<hour-of-day> minus quart",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3025850929940455,
likelihoods =
HashMap.fromList
[("at <time-of-day>", -1.5040773967762742),
("noon", -1.0986122886681098), ("hour", -0.8109302162163288)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("evening",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.70805020110221,
likelihoods = HashMap.fromList [("", 0.0)], n = 13},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("dd[/-]mm[/-]yyyy",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("next <time>",
Classifier{okData =
ClassData{prior = -0.15415067982725836,
unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("season", -2.0794415416798357), ("day", -0.8266785731844679),
("named-day", -1.1631508098056809),
("il <time>", -2.0794415416798357)],
n = 6},
koData =
ClassData{prior = -1.9459101490553135,
unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("day", -1.0986122886681098),
("named-day", -1.0986122886681098)],
n = 1}}),
("christmas",
Classifier{okData =
ClassData{prior = -0.2231435513142097, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -1.6094379124341003,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("new year's day",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -1.0986122886681098,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("next n <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.304065093204169,
likelihoods =
HashMap.fromList
[("week", -2.498699971920336),
("number (0..19)heure (grain)", -3.597312260588446),
("number (0..19)jour (grain)", -3.597312260588446),
("second", -2.9041650800285006),
("integer (numeric)ann\233e (grain)", -3.597312260588446),
("integer (numeric)seconde (grain)", -3.597312260588446),
("integer (numeric)jour (grain)", -3.1918471524802814),
("day", -2.9041650800285006), ("year", -2.9041650800285006),
("number (0..19)seconde (grain)", -3.1918471524802814),
("number (0..19)ann\233e (grain)", -3.1918471524802814),
("number (0..19)semaine (grain)", -3.1918471524802814),
("hour", -2.9041650800285006),
("number (0..19)mois (grain)", -2.9041650800285006),
("month", -2.344549292093078),
("integer (numeric)minute (grain)", -3.1918471524802814),
("integer (numeric)mois (grain)", -2.9041650800285006),
("minute", -2.9041650800285006),
("number (0..19)minute (grain)", -3.597312260588446),
("integer (numeric)semaine (grain)", -2.9041650800285006),
("integer (numeric)heure (grain)", -3.1918471524802814)],
n = 26},
koData =
ClassData{prior = -infinity, unseen = -3.0910424533583156,
likelihoods = HashMap.fromList [], n = 0}}),
("entro il <duration>",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("week", -0.9808292530117262),
("semaine (grain)", -0.9808292530117262)],
n = 2},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -2.1972245773362196,
likelihoods =
HashMap.fromList
[("mois (grain)", -0.9808292530117262),
("month", -0.9808292530117262)],
n = 2}}),
("prossimi <unit-of-duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.1354942159291497,
likelihoods =
HashMap.fromList
[("week", -1.9924301646902063),
("ann\233e (grain)", -2.3978952727983707),
("semaine (grain)", -1.9924301646902063),
("mois (grain)", -1.9924301646902063),
("day", -1.9924301646902063), ("year", -2.3978952727983707),
("jour (grain)", -1.9924301646902063),
("month", -1.9924301646902063)],
n = 7},
koData =
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0}}),
("dopo <time>",
Classifier{okData =
ClassData{prior = -0.9555114450274363, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("at <time-of-day>", -1.845826690498331),
("day", -1.55814461804655), ("named-day", -2.2512917986064953),
("day of month (1st)", -2.2512917986064953),
("the day after tomorrow", -2.2512917986064953),
("hour", -1.845826690498331)],
n = 5},
koData =
ClassData{prior = -0.48550781578170077,
unseen = -3.258096538021482,
likelihoods =
HashMap.fromList
[("tomorrow", -1.8325814637483102), ("day", -1.1394342831883648),
("two time tokens in a row", -1.8325814637483102),
("hour", -2.5257286443082556),
("christmas", -2.120263536200091)],
n = 8}}),
("festa della liberazione",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("dal <integer",
Classifier{okData =
ClassData{prior = -1.6094379124341003,
unseen = -1.3862943611198906,
likelihoods =
HashMap.fromList [("integer (numeric)", -0.40546510810816444)],
n = 1},
koData =
ClassData{prior = -0.2231435513142097,
unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList
[("integer (numeric)", -0.6931471805599453),
("number (0..19)", -0.6931471805599453)],
n = 4}}),
("halloween day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = -0.6931471805599453, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("minuteminute", -1.55814461804655),
("<day-of-month> <named-month><day-of-month> <named-month>",
-1.845826690498331),
("hh(:|h)mm (time-of-day)hh(:|h)mm (time-of-day)",
-1.55814461804655),
("dayday", -1.845826690498331)],
n = 5},
koData =
ClassData{prior = -0.6931471805599453, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("monthday", -1.845826690498331),
("named-month<day-of-month> <named-month>", -1.845826690498331),
("minuteminute", -2.2512917986064953),
("hh(:|h)mm (time-of-day)two time tokens in a row",
-2.2512917986064953),
("year (1000-2100 not latent)<hour-of-day> <integer> (as relative minutes)",
-1.845826690498331),
("yearminute", -1.845826690498331)],
n = 5}}),
("<day-of-month> <named-month>",
Classifier{okData =
ClassData{prior = -0.1880522315029396, unseen = -4.127134385045092,
likelihoods =
HashMap.fromList
[("integer (numeric)named-month", -0.7096764825111559),
("month", -0.7096764825111559)],
n = 29},
koData =
ClassData{prior = -1.7635885922613588, unseen = -2.772588722239781,
likelihoods =
HashMap.fromList
[("number (0..19)named-month", -2.0149030205422647),
("integer (numeric)named-month", -0.916290731874155),
("month", -0.7621400520468967)],
n = 6}}),
("in <named-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.3978952727983707,
likelihoods =
HashMap.fromList
[("named-month", -0.6931471805599453),
("month", -0.6931471805599453)],
n = 4},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("mezz'ora",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<time> entro le <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.0794415416798357,
likelihoods =
HashMap.fromList
[("dayhour", -0.8472978603872037),
("named-daynoon", -1.252762968495368),
("the day after tomorrow<integer> (latent time-of-day)",
-1.252762968495368)],
n = 2},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("nth <time> after <time>",
Classifier{okData =
ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055,
likelihoods =
HashMap.fromList
[("dayday", -0.916290731874155),
("ordinals (primo..10)named-daytwo time tokens in a row",
-0.916290731874155)],
n = 1},
koData =
ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055,
likelihoods =
HashMap.fromList
[("dayday", -0.916290731874155),
("ordinals (primo..10)named-daychristmas", -0.916290731874155)],
n = 1}}),
("<part-of-day> of <dim time>",
Classifier{okData =
ClassData{prior = -0.916290731874155, unseen = -2.772588722239781,
likelihoods =
HashMap.fromList
[("hourday", -1.0986122886681098),
("morningnamed-day", -2.0149030205422647),
("morning<day-of-month> <named-month>", -1.6094379124341003),
("eveningtomorrow", -2.0149030205422647)],
n = 4},
koData =
ClassData{prior = -0.5108256237659907, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("hourday", -0.9985288301111273),
("stanottetomorrow", -1.845826690498331),
("nighttomorrow", -1.845826690498331),
("afternoontomorrow", -1.845826690498331)],
n = 6}}),
("<dim time> del mattino",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.4849066497880004,
likelihoods =
HashMap.fromList
[("at <time-of-day>", -1.7047480922384253),
("<integer> (latent time-of-day)", -1.7047480922384253),
("hh(:|h)mm (time-of-day)", -1.7047480922384253),
("hour", -1.2992829841302609), ("minute", -1.7047480922384253)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("last <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -1.2809338454620642),
("jour (grain)two time tokens in a row", -1.791759469228055),
("weekmonth", -1.791759469228055),
("semaine (grain)named-month", -2.1972245773362196),
("semaine (grain)two time tokens in a row",
-2.1972245773362196),
("jour (grain)named-month", -1.791759469228055)],
n = 6},
koData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("two time tokens separated by `di`",
Classifier{okData =
ClassData{prior = -0.4274440148269396, unseen = -4.406719247264253,
likelihoods =
HashMap.fromList
[("hh(:|h)mm (time-of-day)named-day", -3.295836866004329),
("named-daynamed-month", -3.295836866004329),
("hourday", -2.4485390056171257),
("day of month (1st)named-month", -3.7013019741124937),
("daymonth", -2.315007612992603),
("named-daytwo time tokens in a row", -3.7013019741124937),
("at <time-of-day>named-day", -3.295836866004329),
("two time tokens in a rowtwo time tokens in a row",
-3.7013019741124937),
("dalle <time-of-day> alle <time-of-day> (interval)named-day",
-3.0081547935525483),
("<integer 0 12> del <part of day>tomorrow",
-3.7013019741124937),
("hh(:|h)mm (time-of-day)two time tokens in a row",
-2.7850112422383386),
("hh(:|h)mm (time-of-day)<named-day> <day-of-month>",
-3.295836866004329),
("at <time-of-day>two time tokens in a row",
-3.295836866004329),
("minuteday", -1.6863989535702288),
("at <time-of-day><named-day> <day-of-month>",
-3.7013019741124937),
("dayweek", -3.0081547935525483),
("two time tokens in a rownamed-month", -3.295836866004329),
("<dim time> al <part-of-day>tomorrow", -3.7013019741124937),
("named-daythis <cycle>", -3.0081547935525483),
("tra il <datetime> e il <datetime> (interval)named-day",
-3.295836866004329)],
n = 30},
koData =
ClassData{prior = -1.0560526742493137,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("hh(:|h)mm (time-of-day)named-day", -2.871679624884012),
("named-daynamed-month", -2.3608540011180215),
("hourday", -2.178532444324067),
("daymonth", -1.890850371872286),
("named-daytwo time tokens in a row", -2.583997552432231),
("at <time-of-day>named-day", -2.178532444324067),
("stanottetomorrow", -2.871679624884012),
("minuteday", -2.3608540011180215)],
n = 16}}),
("il <day-of-month> <named-month>",
Classifier{okData =
ClassData{prior = -0.15415067982725836, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("integer (numeric)named-month", -0.6931471805599453),
("month", -0.6931471805599453)],
n = 6},
koData =
ClassData{prior = -1.9459101490553135,
unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("integer (numeric)named-month", -0.6931471805599453),
("month", -0.6931471805599453)],
n = 1}}),
("morning",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("week-end",
Classifier{okData =
ClassData{prior = -0.13353139262452263,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
koData =
ClassData{prior = -2.0794415416798357,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("fino al <datetime> (interval)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("hh(:|h)mm (time-of-day)", -1.791759469228055),
("EOY|End of year", -1.791759469228055),
("year", -1.791759469228055),
("EOM|End of month", -1.791759469228055),
("month", -1.791759469228055), ("minute", -1.791759469228055)],
n = 3},
koData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("right now",
Classifier{okData =
ClassData{prior = -0.8754687373538999,
unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
koData =
ClassData{prior = -0.5389965007326869,
unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
("tre quarti d'ora",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("the <cycle> last",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("week", -1.791759469228055),
("ann\233e (grain)", -2.1972245773362196),
("semaine (grain)", -1.791759469228055),
("mois (grain)", -1.5040773967762742),
("year", -2.1972245773362196), ("month", -1.5040773967762742)],
n = 6},
koData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("festa del pap\224",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<hour-of-day> <integer> (as relative minutes)",
Classifier{okData =
ClassData{prior = -1.6094379124341003,
unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)integer (numeric)",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -0.2231435513142097,
unseen = -2.3978952727983707,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)integer (numeric)",
-0.6931471805599453),
("hour", -0.6931471805599453)],
n = 4}}),
("dd-dd <month> (interval)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("named-month", -0.6931471805599453),
("month", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("the last <cycle>",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
unseen = -3.044522437723423,
likelihoods =
HashMap.fromList
[("week", -1.8971199848858813),
("semaine (grain)", -1.8971199848858813),
("mois (grain)", -1.8971199848858813),
("heure (grain)", -1.8971199848858813),
("hour", -1.8971199848858813), ("month", -1.8971199848858813)],
n = 6},
koData =
ClassData{prior = -1.0986122886681098, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("week", -1.9459101490553135),
("semaine (grain)", -1.9459101490553135),
("day", -1.540445040947149),
("jour (grain)", -1.540445040947149)],
n = 3}}),
("this <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("season", -1.8562979903656263), ("day", -1.8562979903656263),
("hour", -1.1631508098056809), ("evening", -2.772588722239781),
("morning", -2.0794415416798357),
("week-end", -1.6739764335716716)],
n = 13},
koData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}})]