mirror of
https://github.com/facebook/duckling.git
synced 2024-11-29 01:03:44 +03:00
169df6b46b
Summary: Before, duckling would parse `"1 2 2"` as the three digit number 122 through `ruleSkipHundreds`. This, however, allowed the string `"Pay Kiran1 10eur"` to be parsed as "110 EUR", which was reported in https://github.com/facebook/duckling/issues/159. This change only accepts alphabetic numerals to pass through `ruleSkipHundreds` (for example `"one twenty two"`), which presumably was the original intention of this rule. This fixes the above issue, without any change in Corpus. Reviewed By: patapizza Differential Revision: D7151934 fbshipit-source-id: 024a7a0b6a53beb3a0d42d4bb7f542ce3b05726b
2406 lines
148 KiB
Haskell
2406 lines
148 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.EN_XX (classifiers) where
|
|
import Data.String
|
|
import Prelude
|
|
import qualified Data.HashMap.Strict as HashMap
|
|
import Duckling.Ranking.Types
|
|
|
|
classifiers :: Classifiers
|
|
classifiers
|
|
= HashMap.fromList
|
|
[("<integer> to|till|before <hour-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -2.0794415416798357, unseen = -1.791759469228055,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)noon|midnight|EOD|end of day",
|
|
-0.916290731874155),
|
|
("hour", -0.916290731874155)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -0.13353139262452263,
|
|
unseen = -2.890371757896165,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hour", -0.7537718023763802),
|
|
("integer (numeric)time-of-day (latent)", -0.7537718023763802)],
|
|
n = 7}}),
|
|
("<time> timezone",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.4657359027997265,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("at <time-of-day>", -1.824549292051046),
|
|
("<time-of-day> am|pm", -1.6422277352570913),
|
|
("hh:mm", -1.824549292051046), ("hour", -1.1314021114911006),
|
|
("minute", -1.824549292051046)],
|
|
n = 13},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("Thursday",
|
|
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}}),
|
|
("integer (numeric)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.7765287894989963, unseen = -5.225746673713201,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 184},
|
|
koData =
|
|
ClassData{prior = -0.616186139423817, unseen = -5.384495062789089,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 216}}),
|
|
("<duration> hence|ago",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.784189633918261,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.563975538357343), ("day", -1.8152899666382492),
|
|
("year", -2.662587827025453),
|
|
("<integer> <unit-of-duration>", -1.0531499145913523),
|
|
("a <unit-of-duration>", -2.662587827025453),
|
|
("month", -2.662587827025453),
|
|
("fortnight", -2.662587827025453)],
|
|
n = 18},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("noon|midnight|EOD|end of day",
|
|
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}}),
|
|
("quarter to|till|before <hour-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("noon|midnight|EOD|end of day", -0.6931471805599453),
|
|
("hour", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("Father's Day",
|
|
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}}),
|
|
("<cycle> after|before <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.5596157879354228, unseen = -2.772588722239781,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day (grain)tomorrow", -1.6094379124341003),
|
|
("dayday", -1.0986122886681098),
|
|
("day (grain)yesterday", -1.6094379124341003)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -0.8472978603872037, unseen = -2.639057329615259,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("dayhour", -1.466337068793427),
|
|
("year (grain)Christmas", -1.8718021769015913),
|
|
("day (grain)intersect", -1.466337068793427),
|
|
("yearday", -1.8718021769015913)],
|
|
n = 3}}),
|
|
("Martin Luther King's Day",
|
|
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}}),
|
|
("integer (20..90)",
|
|
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}}),
|
|
("mm/yyyy",
|
|
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 after|past <hour-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hour", -0.8109302162163288),
|
|
("integer (numeric)time-of-day (latent)", -1.0986122886681098),
|
|
("integer (20..90)time-of-day (latent)", -1.5040773967762742)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<day-of-month> (ordinal or number) <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.3862943611198906, unseen = -2.890371757896165,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)December", -2.1400661634962708),
|
|
("ordinal (digits)February", -2.1400661634962708),
|
|
("integer (numeric)April", -2.1400661634962708),
|
|
("month", -1.4469189829363254)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -0.2876820724517809,
|
|
unseen = -3.4011973816621555,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)October", -2.6741486494265287),
|
|
("ordinal (digits)July", -2.6741486494265287),
|
|
("integer (numeric)September", -2.268683541318364),
|
|
("ordinal (digits)August", -2.6741486494265287),
|
|
("integer (numeric)August", -2.6741486494265287),
|
|
("ordinal (digits)April", -2.6741486494265287),
|
|
("month", -1.0647107369924282),
|
|
("integer (numeric)July", -2.268683541318364)],
|
|
n = 9}}),
|
|
("<time> <part-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -9.844007281325252e-2,
|
|
unseen = -4.430816798843313,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<day-of-month> (ordinal)in|during the <part-of-day>",
|
|
-3.7256934272366524),
|
|
("dayhour", -1.5284688499004333),
|
|
("Mondayearly morning", -3.3202283191284883),
|
|
("time-of-day (latent)tonight", -3.3202283191284883),
|
|
("hourhour", -2.339399066116762),
|
|
("<time-of-day> o'clockin|during the <part-of-day>",
|
|
-3.7256934272366524),
|
|
("todaypart of days", -3.7256934272366524),
|
|
("minutehour", -2.627081138568543),
|
|
("at <time-of-day>in|during the <part-of-day>",
|
|
-3.3202283191284883),
|
|
("time-of-day (latent)this <part-of-day>", -3.7256934272366524),
|
|
("Mondayin|during the <part-of-day>", -3.7256934272366524),
|
|
("intersectpart of days", -3.7256934272366524),
|
|
("intersectin|during the <part-of-day>", -3.7256934272366524),
|
|
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
|
|
-3.7256934272366524),
|
|
("the <day-of-month> (ordinal)in|during the <part-of-day>",
|
|
-3.7256934272366524),
|
|
("tomorrowpart of days", -2.339399066116762),
|
|
("hh:mmin|during the <part-of-day>", -3.0325462466767075),
|
|
("time-of-day (latent)in|during the <part-of-day>",
|
|
-3.7256934272366524),
|
|
("hhmm (latent)in|during the <part-of-day>",
|
|
-3.7256934272366524),
|
|
("yesterdaypart of days", -3.7256934272366524),
|
|
("Mondaypart of days", -3.7256934272366524)],
|
|
n = 29},
|
|
koData =
|
|
ClassData{prior = -2.367123614131617, unseen = -3.4657359027997265,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("yearhour", -2.740840023925201),
|
|
("monthhour", -2.740840023925201),
|
|
("hourhour", -2.740840023925201),
|
|
("past year (latent)in|during the <part-of-day>",
|
|
-2.740840023925201),
|
|
("Februaryin|during the <part-of-day>", -2.740840023925201),
|
|
("time-of-day (latent)in|during the <part-of-day>",
|
|
-2.740840023925201)],
|
|
n = 3}}),
|
|
("today",
|
|
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}}),
|
|
("mm/dd",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.4271163556401458,
|
|
unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
|
koData =
|
|
ClassData{prior = -0.2744368457017603, unseen = -3.044522437723423,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 19}}),
|
|
("at <time-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -9.381875521765486e-2,
|
|
unseen = -4.90527477843843,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<time> timezone", -3.7992275112828016),
|
|
("noon|midnight|EOD|end of day", -3.7992275112828016),
|
|
("integer after|past <hour-of-day>", -3.7992275112828016),
|
|
("half after|past <hour-of-day>", -4.204692619390966),
|
|
("time-of-day (latent)", -1.7197859696029658),
|
|
("hhmm (latent)", -3.5115454388310208),
|
|
("<time-of-day> am|pm", -1.8067973465925955),
|
|
("hh:mm", -3.288401887516811),
|
|
("about|exactly <time-of-day>", -3.7992275112828016),
|
|
("hour", -1.0911773101805915),
|
|
("<time-of-day> sharp|exactly", -4.204692619390966),
|
|
("minute", -2.0074680420547466)],
|
|
n = 61},
|
|
koData =
|
|
ClassData{prior = -2.412933150162911, unseen = -3.2188758248682006,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.2321436812926323),
|
|
("hour", -1.2321436812926323)],
|
|
n = 6}}),
|
|
("December",
|
|
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}}),
|
|
("absorption of , after named day",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.332204510175204,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("on <date>", -2.1972245773362196),
|
|
("Wednesday", -2.6026896854443837),
|
|
("Saturday", -2.6026896854443837),
|
|
("Monday", -2.1972245773362196),
|
|
("Friday", -1.9095425048844386), ("day", -0.8979415932059586),
|
|
("Sunday", -2.6026896854443837)],
|
|
n = 10},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("September",
|
|
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}}),
|
|
("tonight",
|
|
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}}),
|
|
("last|past|next <duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -4.2626798770413155,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.456735772821304), ("second", -2.639057329615259),
|
|
("day", -2.3025850929940455), ("year", -2.639057329615259),
|
|
("<integer> <unit-of-duration>", -0.7827593392496325),
|
|
("hour", -2.639057329615259), ("month", -2.639057329615259),
|
|
("minute", -2.639057329615259)],
|
|
n = 31},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.1972245773362196,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("the ides of <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("March", -0.6931471805599453), ("month", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("on <date>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.1670540846631662, unseen = -4.007333185232471,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Thursday", -1.791759469228055), ("mm/dd", -3.295836866004329),
|
|
("absorption of , after named day", -2.890371757896165),
|
|
("intersect", -2.890371757896165),
|
|
("Saturday", -2.6026896854443837),
|
|
("Friday", -3.295836866004329), ("day", -0.8979415932059586),
|
|
("the <day-of-month> (ordinal)", -2.890371757896165),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-2.6026896854443837),
|
|
("hour", -3.295836866004329)],
|
|
n = 22},
|
|
koData =
|
|
ClassData{prior = -1.8718021769015913,
|
|
unseen = -2.9444389791664407,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("intersect", -1.791759469228055), ("day", -1.2809338454620642),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-1.791759469228055)],
|
|
n = 4}}),
|
|
("integer (0..19)",
|
|
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}}),
|
|
("between <time-of-day> and <time-of-day> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -2.3978952727983707,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("minuteminute", -0.916290731874155),
|
|
("hh:mmhh:mm", -0.916290731874155)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -2.3978952727983707,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hh:mmtime-of-day (latent)", -0.916290731874155),
|
|
("minutehour", -0.916290731874155)],
|
|
n = 3}}),
|
|
("Halloween",
|
|
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}}),
|
|
("from <month> dd-dd (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.3978952727983707,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Julyinteger (numeric)integer (numeric)", -1.6094379124341003),
|
|
("Augustordinal (digits)integer (numeric)",
|
|
-1.6094379124341003),
|
|
("month", -0.916290731874155),
|
|
("Augustordinal (digits)ordinal (digits)",
|
|
-1.6094379124341003)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("October",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 16},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("from|since|after <time-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.5040773967762742, unseen = -4.02535169073515,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("July", -3.3141860046725258),
|
|
("time-of-day (latent)", -2.3978952727983707),
|
|
("<time-of-day> am|pm", -2.3978952727983707),
|
|
("hh:mm", -2.3978952727983707), ("hour", -1.8101086078962516),
|
|
("month", -2.908720896564361), ("minute", -2.3978952727983707),
|
|
("August", -3.3141860046725258)],
|
|
n = 14},
|
|
koData =
|
|
ClassData{prior = -0.25131442828090605,
|
|
unseen = -4.836281906951478,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<integer> to|till|before <hour-of-day>", -3.7297014486341915),
|
|
("week", -4.135166556742356),
|
|
("<day-of-month> (ordinal or number) <named-month>",
|
|
-4.135166556742356),
|
|
("today", -4.135166556742356),
|
|
("intersect", -2.7488721956224653),
|
|
("second", -4.135166556742356), ("now", -3.4420193761824103),
|
|
("tomorrow", -3.7297014486341915),
|
|
("this|last|next <cycle>", -4.135166556742356),
|
|
("day", -1.995100393246085),
|
|
("time-of-day (latent)", -4.135166556742356),
|
|
("<time-of-day> am|pm", -3.7297014486341915),
|
|
("nograin", -3.4420193761824103),
|
|
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
|
-4.135166556742356),
|
|
("Christmas", -3.4420193761824103),
|
|
("hour", -2.8824035882469876),
|
|
("<datetime> - <datetime> (interval)", -2.7488721956224653),
|
|
("<time-of-day> - <time-of-day> (interval)",
|
|
-2.430418464503931),
|
|
("<named-month> <day-of-month> (non ordinal)",
|
|
-3.7297014486341915),
|
|
("minute", -1.6928195213731514),
|
|
("right now", -4.135166556742356),
|
|
("<month> dd-dd (interval)", -3.4420193761824103),
|
|
("dd-dd <month> (interval)", -3.7297014486341915)],
|
|
n = 49}}),
|
|
("month (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}}),
|
|
("<integer> more <unit-of-duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)minute (grain)", -0.6931471805599453),
|
|
("minute", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<time-of-day> o'clock",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -0.6931471805599453),
|
|
("hour", -0.6931471805599453)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("in|within|after <duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = -4.652001563489282e-2,
|
|
unseen = -4.61512051684126,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -3.2188758248682006),
|
|
("<integer> more <unit-of-duration>", -3.912023005428146),
|
|
("three-quarters of an hour", -2.995732273553991),
|
|
("<integer> + '\"", -3.2188758248682006),
|
|
("number.number hours", -3.912023005428146),
|
|
("second", -3.506557897319982), ("day", -3.2188758248682006),
|
|
("half an hour", -2.995732273553991),
|
|
("<integer> <unit-of-duration>", -1.6094379124341003),
|
|
("a <unit-of-duration>", -2.995732273553991),
|
|
("quarter of an hour", -2.995732273553991),
|
|
("hour", -2.5257286443082556),
|
|
("about|exactly <duration>", -3.912023005428146),
|
|
("<integer> and an half hour", -3.912023005428146),
|
|
("minute", -1.2729656758128873)],
|
|
n = 42},
|
|
koData =
|
|
ClassData{prior = -3.0910424533583156, unseen = -3.044522437723423,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("quarter", -1.8971199848858813),
|
|
("<integer> <unit-of-duration>", -2.3025850929940455),
|
|
("a <unit-of-duration>", -2.3025850929940455)],
|
|
n = 2}}),
|
|
("three-quarters of an hour",
|
|
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}}),
|
|
("Wednesday",
|
|
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}}),
|
|
("half after|past <hour-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -0.6931471805599453),
|
|
("hour", -0.6931471805599453)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<integer> + '\"",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("half <integer> (UK style hour-of-day)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -0.6931471805599453),
|
|
("hour", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("July",
|
|
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}}),
|
|
("hour (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.8209805520698302,
|
|
unseen = -2.5649493574615367,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 11},
|
|
koData =
|
|
ClassData{prior = -0.579818495252942, unseen = -2.772588722239781,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 14}}),
|
|
("<ordinal> quarter",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.4700036292457356, unseen = -2.639057329615259,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)quarter (grain)", -1.1786549963416462),
|
|
("ordinals (first..twentieth,thirtieth,...)quarter (grain)",
|
|
-1.466337068793427),
|
|
("quarter", -0.7731898882334817)],
|
|
n = 5},
|
|
koData =
|
|
ClassData{prior = -0.9808292530117262,
|
|
unseen = -2.3025850929940455,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)quarter (grain)", -0.8109302162163288),
|
|
("quarter", -0.8109302162163288)],
|
|
n = 3}}),
|
|
("one twenty two",
|
|
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}}),
|
|
("intersect",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.4957877464014501, unseen = -6.293419278846481,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<datetime> - <datetime> (interval)on <date>",
|
|
-4.345658990503007),
|
|
("<time-of-day> - <time-of-day> (interval)on <date>",
|
|
-4.345658990503007),
|
|
("hourday", -3.8936738667599493),
|
|
("dayhour", -2.765208614942159),
|
|
("daymonth", -4.90527477843843),
|
|
("monthday", -5.19295685089021),
|
|
("monthyear", -3.9889840465642745),
|
|
("Tuesdaythe <day-of-month> (ordinal)", -5.598421958998375),
|
|
("Christmasyear", -5.598421958998375),
|
|
("from <datetime> - <datetime> (interval)July",
|
|
-5.598421958998375),
|
|
("houryear", -5.598421958998375),
|
|
("this|next <day-of-week>hh(:mm) - <time-of-day> am|pm",
|
|
-5.598421958998375),
|
|
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-4.90527477843843),
|
|
("<time-of-day> am|pmintersect", -4.345658990503007),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"year",
|
|
-5.598421958998375),
|
|
("Marchyear", -5.598421958998375),
|
|
("<named-month>|<named-day> <day-of-month> (ordinal)year",
|
|
-5.19295685089021),
|
|
("intersect<time-of-day> am|pm", -5.598421958998375),
|
|
("Thursdayhh(:mm) - <time-of-day> am|pm", -5.598421958998375),
|
|
("monthhour", -5.19295685089021),
|
|
("last <day-of-week> of <time>year", -5.598421958998375),
|
|
("todayat <time-of-day>", -5.598421958998375),
|
|
("Thursday<time> timezone", -3.8936738667599493),
|
|
("this <time>hh(:mm) - <time-of-day> am|pm",
|
|
-5.598421958998375),
|
|
("dayday", -3.58351893845611),
|
|
("Thanksgiving Dayyear", -4.499809670330265),
|
|
("<time> <part-of-day>at <time-of-day>", -5.598421958998375),
|
|
("Tuesdayin <named-month>", -5.598421958998375),
|
|
("mm/ddat <time-of-day>", -5.598421958998375),
|
|
("tonightat <time-of-day>", -5.598421958998375),
|
|
("<time-of-day> am|pmabsorption of , after named day",
|
|
-4.90527477843843),
|
|
("today<time-of-day> am|pm", -5.598421958998375),
|
|
("Februarythe <day-of-month> (ordinal)", -5.19295685089021),
|
|
("at <time-of-day><time> <part-of-day>", -5.598421958998375),
|
|
("mm/dd<time-of-day> am|pm", -5.598421958998375),
|
|
("hourhour", -4.345658990503007),
|
|
("<time-of-day> am|pmon <date>", -3.58351893845611),
|
|
("Wednesdaythis|last|next <cycle>", -5.598421958998375),
|
|
("intersect<named-month> <day-of-month> (non ordinal)",
|
|
-4.0943445622221),
|
|
("dayyear", -3.1560749236291703),
|
|
("last weekend of <named-month>year", -5.598421958998375),
|
|
("<time-of-day> o'clockin|during the <part-of-day>",
|
|
-5.598421958998375),
|
|
("Thursdayat <time-of-day>", -5.19295685089021),
|
|
("<time-of-day> am|pmtomorrow", -4.90527477843843),
|
|
("minutehour", -4.68213122712422),
|
|
("Mother's Dayyear", -5.598421958998375),
|
|
("at <time-of-day>in|during the <part-of-day>",
|
|
-5.19295685089021),
|
|
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
|
|
-3.8936738667599493),
|
|
("for <duration> from <time>December", -5.598421958998375),
|
|
("tomorrow<time-of-day> sharp|exactly", -5.598421958998375),
|
|
("Thursdayfrom <datetime> - <datetime> (interval)",
|
|
-4.68213122712422),
|
|
("on <date><named-month> <day-of-month> (non ordinal)",
|
|
-5.19295685089021),
|
|
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
|
-4.68213122712422),
|
|
("Mondayin|during the <part-of-day>", -5.598421958998375),
|
|
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
|
|
-5.19295685089021),
|
|
("intersectin|during the <part-of-day>", -5.598421958998375),
|
|
("Thursday<datetime> - <datetime> (interval)",
|
|
-4.68213122712422),
|
|
("<day-of-month> (ordinal or number) of <named-month>in|during the <part-of-day>",
|
|
-5.598421958998375),
|
|
("Thursday<time-of-day> - <time-of-day> (interval)",
|
|
-4.345658990503007),
|
|
("from <time-of-day> - <time-of-day> (interval)on <date>",
|
|
-4.90527477843843),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
|
|
-4.68213122712422),
|
|
("at <time-of-day>intersect", -5.19295685089021),
|
|
("<time-of-day> - <time-of-day> (interval)tomorrow",
|
|
-5.598421958998375),
|
|
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-5.598421958998375),
|
|
("dayminute", -2.924273309571846),
|
|
("from <datetime> - <datetime> (interval)on <date>",
|
|
-5.19295685089021),
|
|
("<datetime> - <datetime> (interval)tomorrow",
|
|
-5.598421958998375),
|
|
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-5.19295685089021),
|
|
("<ordinal> <cycle> of <time>year", -5.598421958998375),
|
|
("minuteday", -2.132686056198648),
|
|
("absorption of , after named dayintersect",
|
|
-5.598421958998375),
|
|
("Octoberyear", -4.345658990503007),
|
|
("the <day-of-month> (ordinal)in|during the <part-of-day>",
|
|
-5.598421958998375),
|
|
("at <time-of-day>absorption of , after named day",
|
|
-5.598421958998375),
|
|
("<day-of-month> (ordinal or number) <named-month>year",
|
|
-5.598421958998375),
|
|
("year<time-of-day> am|pm", -5.598421958998375),
|
|
("Septemberyear", -5.19295685089021),
|
|
("at <time-of-day>on <date>", -4.499809670330265),
|
|
("between <time-of-day> and <time-of-day> (interval)on <date>",
|
|
-4.90527477843843),
|
|
("Halloweenyear", -5.598421958998375),
|
|
("dayweek", -5.598421958998375),
|
|
("Thursday<time-of-day> am|pm", -5.598421958998375),
|
|
("weekyear", -5.19295685089021),
|
|
("hh:mmin|during the <part-of-day>", -4.90527477843843),
|
|
("Father's Dayyear", -5.598421958998375),
|
|
("<cycle> after|before <time><time-of-day> am|pm",
|
|
-5.19295685089021),
|
|
("February<time> <part-of-day>", -5.598421958998375),
|
|
("Martin Luther King's Dayyear", -5.19295685089021),
|
|
("tomorrowat <time-of-day>", -4.90527477843843),
|
|
("between <time> and <time>on <date>", -4.90527477843843),
|
|
("Thursdayfrom|since|after <time-of-day>", -4.90527477843843),
|
|
("at <time-of-day>tomorrow", -5.19295685089021),
|
|
("tomorrow<time-of-day> am|pm", -5.598421958998375),
|
|
("in|during the <part-of-day>at <time-of-day>",
|
|
-5.598421958998375),
|
|
("black fridayyear", -5.19295685089021),
|
|
("Labor Dayyear", -5.598421958998375),
|
|
("Februaryintersect", -5.598421958998375),
|
|
("last <cycle> of <time>year", -4.90527477843843),
|
|
("<named-month> <day-of-month> (non ordinal)year",
|
|
-5.598421958998375),
|
|
("yearminute", -5.598421958998375)],
|
|
n = 201},
|
|
koData =
|
|
ClassData{prior = -0.9392802500988537, unseen = -5.983936280687191,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("in <named-month>year", -5.288267030694535),
|
|
("<time-of-day> - <time-of-day> (interval)on <date>",
|
|
-5.288267030694535),
|
|
("hourday", -5.288267030694535),
|
|
("<named-month> <day-of-month> (non ordinal)July",
|
|
-5.288267030694535),
|
|
("dayhour", -2.890371757896165),
|
|
("daymonth", -3.2088254890146994),
|
|
("monthday", -4.882801922586371),
|
|
("monthyear", -4.59511985013459),
|
|
("intersecthh:mm", -5.288267030694535),
|
|
("from <datetime> - <datetime> (interval)July",
|
|
-5.288267030694535),
|
|
("houryear", -5.288267030694535),
|
|
("from <time-of-day> - <time-of-day> (interval)July",
|
|
-5.288267030694535),
|
|
("until <time-of-day><time-of-day> am|pm", -5.288267030694535),
|
|
("<time-of-day> am|pmintersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-4.59511985013459),
|
|
("<time-of-day> am|pmintersect", -4.035504062199167),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"year",
|
|
-4.37197629882038),
|
|
("from|since|after <time-of-day>on <date>", -4.37197629882038),
|
|
("July<day-of-month> (ordinal or number) <named-month>",
|
|
-5.288267030694535),
|
|
("absorption of , after named dayJuly", -4.882801922586371),
|
|
("monthhour", -5.288267030694535),
|
|
("hourmonth", -4.59511985013459),
|
|
("todayat <time-of-day>", -5.288267030694535),
|
|
("from|since|after <time-of-day>July", -5.288267030694535),
|
|
("dayday", -4.882801922586371),
|
|
("mm/ddat <time-of-day>", -4.882801922586371),
|
|
("<time-of-day> am|pmon <date>", -4.035504062199167),
|
|
("dayyear", -4.035504062199167),
|
|
("Thursdaymm/dd", -5.288267030694535),
|
|
("Thursdayat <time-of-day>", -4.035504062199167),
|
|
("<integer> to|till|before <hour-of-day>September",
|
|
-5.288267030694535),
|
|
("monthminute", -5.288267030694535),
|
|
("<time-of-day> am|pmtomorrow", -5.288267030694535),
|
|
("Thursdayhh:mm", -4.37197629882038),
|
|
("August<day-of-month> (ordinal or number) <named-month>",
|
|
-5.288267030694535),
|
|
("Fridayyear", -4.882801922586371),
|
|
("minutemonth", -3.4965075614664802),
|
|
("Sundayfrom|since|after <time-of-day>", -5.288267030694535),
|
|
("Thursdayfrom <datetime> - <datetime> (interval)",
|
|
-4.882801922586371),
|
|
("Thursdayfrom <time-of-day> - <time-of-day> (interval)",
|
|
-4.882801922586371),
|
|
("Aprilyear", -5.288267030694535),
|
|
("mm/dd<time-of-day> - <time-of-day> (interval)",
|
|
-4.882801922586371),
|
|
("tomorrowfrom <time-of-day> - <time-of-day> (interval)",
|
|
-5.288267030694535),
|
|
("<duration> after|before|from <time>December",
|
|
-5.288267030694535),
|
|
("yesterday<time-of-day> am|pm", -5.288267030694535),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
|
|
-4.37197629882038),
|
|
("Thursday<time-of-day> - <time-of-day> (interval)",
|
|
-4.882801922586371),
|
|
("<named-month> <day-of-month> (non ordinal)August",
|
|
-5.288267030694535),
|
|
("until <time-of-day>on <date>", -4.59511985013459),
|
|
("at <time-of-day>intersect", -4.882801922586371),
|
|
("at <time-of-day>intersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-5.288267030694535),
|
|
("dayminute", -2.7625383863862796),
|
|
("intersectSeptember", -3.784189633918261),
|
|
("absorption of , after named dayintersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-5.288267030694535),
|
|
("minuteday", -2.3704962986102562),
|
|
("absorption of , after named dayintersect",
|
|
-5.288267030694535),
|
|
("Februaryin|during the <part-of-day>", -5.288267030694535),
|
|
("week-endin <named-month>", -5.288267030694535),
|
|
("Octoberyear", -5.288267030694535),
|
|
("from|since|after <time-of-day>year", -5.288267030694535),
|
|
("yearhh:mm", -5.288267030694535),
|
|
("hh:mmon <date>", -3.784189633918261),
|
|
("from|since|after <time-of-day><time-of-day> am|pm",
|
|
-5.288267030694535),
|
|
("absorption of , after named daySeptember", -4.37197629882038),
|
|
("on <date>September", -4.882801922586371),
|
|
("at <time-of-day>on <date>", -4.882801922586371),
|
|
("dayweek", -5.288267030694535),
|
|
("Thursday<time-of-day> am|pm", -4.882801922586371),
|
|
("absorption of , after named dayFebruary", -4.37197629882038),
|
|
("July<integer> to|till|before <hour-of-day>",
|
|
-5.288267030694535),
|
|
("tomorrowat <time-of-day>", -5.288267030694535),
|
|
("<integer> to|till|before <hour-of-day>July",
|
|
-5.288267030694535),
|
|
("Thursdayfrom|since|after <time-of-day>", -3.6788291182604347),
|
|
("tomorrow<time-of-day> am|pm", -5.288267030694535),
|
|
("Tuesdayfrom|since|after <time-of-day>", -5.288267030694535),
|
|
("yearminute", -5.288267030694535)],
|
|
n = 129}}),
|
|
("one eleven",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.3862943611198906,
|
|
unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
|
|
koData =
|
|
ClassData{prior = -0.2876820724517809,
|
|
unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
|
("after lunch/work/school",
|
|
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}}),
|
|
("early morning",
|
|
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 <number> (implicit minutes)",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.0986122886681098,
|
|
unseen = -2.4849066497880004,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -0.3184537311185346),
|
|
("integer (0..19)", -1.2992829841302609)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -3.044522437723423,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -0.16251892949777494),
|
|
("integer (0..19)", -1.8971199848858813)],
|
|
n = 18}}),
|
|
("<ordinal> <cycle> of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.772588722239781,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("daymonth", -2.0149030205422647),
|
|
("quarteryear", -2.0149030205422647),
|
|
("ordinals (first..twentieth,thirtieth,...)day (grain)October",
|
|
-2.0149030205422647),
|
|
("ordinals (first..twentieth,thirtieth,...)week (grain)intersect",
|
|
-2.0149030205422647),
|
|
("weekmonth", -1.6094379124341003),
|
|
("ordinal (digits)quarter (grain)year", -2.0149030205422647),
|
|
("ordinals (first..twentieth,thirtieth,...)week (grain)October",
|
|
-2.0149030205422647)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("year (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.1354942159291497,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 21},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("from <datetime> - <datetime> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.0116009116784799,
|
|
unseen = -3.6375861597263857,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("minuteminute", -2.001480000210124),
|
|
("<day-of-month> (ordinal)<day-of-month> (ordinal)",
|
|
-2.917770732084279),
|
|
("hh:mmhh:mm", -2.001480000210124),
|
|
("dayday", -2.512305623976115),
|
|
("<named-month>|<named-day> <day-of-month> (ordinal)<day-of-month> (ordinal)",
|
|
-2.917770732084279),
|
|
("<time-of-day> am|pmtime-of-day (latent)", -2.917770732084279),
|
|
("hourhour", -2.512305623976115),
|
|
("<time-of-day> am|pm<time-of-day> am|pm", -2.917770732084279)],
|
|
n = 8},
|
|
koData =
|
|
ClassData{prior = -0.45198512374305727,
|
|
unseen = -3.912023005428146,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hourday", -3.1986731175506815),
|
|
("dayhour", -2.793208009442517),
|
|
("<day-of-month> (ordinal)time-of-day (latent)",
|
|
-3.1986731175506815),
|
|
("hh:mmtime-of-day (latent)", -2.2823823856765264),
|
|
("minuteminute", -2.793208009442517),
|
|
("time-of-day (latent)time-of-day (latent)",
|
|
-2.793208009442517),
|
|
("dayday", -3.1986731175506815),
|
|
("hourhour", -2.505525936990736),
|
|
("dayyear", -3.1986731175506815),
|
|
("<named-month>|<named-day> <day-of-month> (ordinal)past year (latent)",
|
|
-3.1986731175506815),
|
|
("minutehour", -2.2823823856765264),
|
|
("hh:mmintersect", -2.793208009442517),
|
|
("<day-of-month> (ordinal)<day-of-month> (ordinal or number) <named-month>",
|
|
-3.1986731175506815),
|
|
("time-of-day (latent)<time-of-day> am|pm",
|
|
-3.1986731175506815),
|
|
("time-of-day (latent)<day-of-month> (ordinal or number) <named-month>",
|
|
-3.1986731175506815),
|
|
("<named-month> <day-of-month> (non ordinal)time-of-day (latent)",
|
|
-3.1986731175506815)],
|
|
n = 14}}),
|
|
("Saturday",
|
|
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}}),
|
|
("the <cycle> of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week (grain)<named-month>|<named-day> <day-of-month> (ordinal)",
|
|
-1.7346010553881064),
|
|
("weekmonth", -1.7346010553881064),
|
|
("week (grain)October", -1.7346010553881064),
|
|
("week (grain)<named-month> <day-of-month> (non ordinal)",
|
|
-1.7346010553881064),
|
|
("weekday", -1.2237754316221157)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("number.number hours",
|
|
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}}),
|
|
("from <time-of-day> - <time-of-day> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -3.4339872044851463,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("minuteminute", -1.6094379124341003),
|
|
("hh:mmhh:mm", -1.6094379124341003),
|
|
("<time-of-day> am|pmtime-of-day (latent)", -2.70805020110221),
|
|
("hourhour", -2.3025850929940455),
|
|
("hourminute", -2.3025850929940455),
|
|
("time-of-day (latent)<time-of-day> sharp|exactly",
|
|
-2.70805020110221),
|
|
("time-of-day (latent)hh:mm", -2.70805020110221),
|
|
("<time-of-day> am|pm<time-of-day> am|pm", -2.70805020110221)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -3.4339872044851463,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hh:mmtime-of-day (latent)", -1.6094379124341003),
|
|
("time-of-day (latent)time-of-day (latent)",
|
|
-2.0149030205422647),
|
|
("hourhour", -1.791759469228055),
|
|
("minutehour", -1.6094379124341003),
|
|
("time-of-day (latent)<time-of-day> am|pm", -2.70805020110221)],
|
|
n = 9}}),
|
|
("integer 21..99",
|
|
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 (numeric)integer (numeric)", -0.6931471805599453),
|
|
("integer (20..90)integer (0..19)", -0.6931471805599453)],
|
|
n = 4}}),
|
|
("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}}),
|
|
("mm/dd/yyyy",
|
|
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}}),
|
|
("Memorial Day",
|
|
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}}),
|
|
("Monday",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("yesterday",
|
|
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}}),
|
|
("<ordinal> quarter <year>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("quarteryear", -0.6931471805599453),
|
|
("ordinal (digits)quarter (grain)year", -0.6931471805599453)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("hh:mm:ss",
|
|
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}}),
|
|
("<hour-of-day> <integer>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("at <time-of-day>integer (20..90)", -1.3862943611198906),
|
|
("hour", -0.9808292530117262),
|
|
("at <time-of-day>integer (numeric)", -1.3862943611198906)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -1.0986122886681098,
|
|
unseen = -1.9459101490553135,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("about|exactly <time-of-day>integer (numeric)",
|
|
-1.0986122886681098),
|
|
("hour", -1.0986122886681098)],
|
|
n = 1}}),
|
|
("nth <time> of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.4700036292457356, unseen = -2.833213344056216,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("daymonth", -0.9808292530117262),
|
|
("ordinals (first..twentieth,thirtieth,...)Tuesdayintersect",
|
|
-2.0794415416798357),
|
|
("ordinals (first..twentieth,thirtieth,...)Wednesdayintersect",
|
|
-1.6739764335716716),
|
|
("ordinals (first..twentieth,thirtieth,...)TuesdayOctober",
|
|
-1.6739764335716716)],
|
|
n = 5},
|
|
koData =
|
|
ClassData{prior = -0.9808292530117262,
|
|
unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("daymonth", -1.0986122886681098),
|
|
("ordinals (first..twentieth,thirtieth,...)TuesdaySeptember",
|
|
-1.791759469228055),
|
|
("ordinals (first..twentieth,thirtieth,...)WednesdayOctober",
|
|
-1.3862943611198906)],
|
|
n = 3}}),
|
|
("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}}),
|
|
("April",
|
|
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}}),
|
|
("end of month",
|
|
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}}),
|
|
("week (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = -8.004270767353637e-2,
|
|
unseen = -3.6375861597263857,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 36},
|
|
koData =
|
|
ClassData{prior = -2.5649493574615367,
|
|
unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
|
("<part-of-day> of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.3978952727983707,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("part of daysintersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-1.6094379124341003),
|
|
("hourday", -0.916290731874155),
|
|
("part of daysthe <day-of-month> (ordinal)",
|
|
-1.6094379124341003),
|
|
("part of daysthe <day-of-month> (number)",
|
|
-1.6094379124341003)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("past year (latent)",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 2}}),
|
|
("six thirty six a.m.",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -1.252762968495368),
|
|
("one twenty two", -0.8472978603872037),
|
|
("one eleven", -1.252762968495368)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("now",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.15415067982725836,
|
|
unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
|
koData =
|
|
ClassData{prior = -1.9459101490553135,
|
|
unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
|
("<day-of-month> (ordinal or number) of <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.13353139262452263,
|
|
unseen = -3.0910424533583156,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)July", -2.3513752571634776),
|
|
("ordinals (first..twentieth,thirtieth,...)March",
|
|
-2.3513752571634776),
|
|
("ordinal (digits)February", -2.3513752571634776),
|
|
("integer (numeric)February", -1.9459101490553135),
|
|
("month", -0.9650808960435872),
|
|
("ordinal (digits)March", -2.3513752571634776),
|
|
("integer (numeric)July", -2.3513752571634776)],
|
|
n = 7},
|
|
koData =
|
|
ClassData{prior = -2.0794415416798357,
|
|
unseen = -2.3025850929940455,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)February", -1.5040773967762742),
|
|
("month", -1.5040773967762742)],
|
|
n = 1}}),
|
|
("this <part-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hour", -0.6931471805599453),
|
|
("part of days", -0.6931471805599453)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("Friday",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.3677247801253174,
|
|
unseen = -2.3978952727983707,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
|
|
koData =
|
|
ClassData{prior = -1.1786549963416462, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
|
("in|during the <part-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -8.701137698962981e-2,
|
|
unseen = -3.258096538021482,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("early morning", -2.5257286443082556),
|
|
("hour", -0.7339691750802004),
|
|
("part of days", -0.8209805520698302)],
|
|
n = 11},
|
|
koData =
|
|
ClassData{prior = -2.4849066497880004, unseen = -1.791759469228055,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hour", -0.916290731874155),
|
|
("part of days", -0.916290731874155)],
|
|
n = 1}}),
|
|
("tomorrow",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("hh(:mm) - <time-of-day> am|pm",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -0.6931471805599453),
|
|
("hour", -0.6931471805599453)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("this|last|next <cycle>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.15822400521489416,
|
|
unseen = -4.394449154672439,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.5488132906176655),
|
|
("month (grain)", -2.995732273553991),
|
|
("year (grain)", -1.817077277212345),
|
|
("week (grain)", -1.5488132906176655),
|
|
("quarter", -2.772588722239781), ("year", -1.817077277212345),
|
|
("month", -2.995732273553991),
|
|
("quarter (grain)", -2.772588722239781)],
|
|
n = 35},
|
|
koData =
|
|
ClassData{prior = -1.9218125974762528,
|
|
unseen = -3.1354942159291497,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.4816045409242156),
|
|
("week (grain)", -1.4816045409242156),
|
|
("day", -1.9924301646902063),
|
|
("day (grain)", -1.9924301646902063)],
|
|
n = 6}}),
|
|
("Mother's Day",
|
|
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}}),
|
|
("New Year's Eve",
|
|
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}}),
|
|
("the <ordinal> <cycle> of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("quarteryear", -0.6931471805599453),
|
|
("ordinal (digits)quarter (grain)year", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("by <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("noon|midnight|EOD|end of day", -2.1972245773362196),
|
|
("end of month", -2.1972245773362196),
|
|
("time-of-day (latent)", -2.1972245773362196),
|
|
("<time-of-day> am|pm", -2.1972245773362196),
|
|
("hh:mm", -2.1972245773362196), ("hour", -1.791759469228055),
|
|
("month", -2.1972245773362196), ("minute", -1.791759469228055)],
|
|
n = 5},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.1972245773362196,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("half an hour",
|
|
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}}),
|
|
("the <day-of-month> (ordinal)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.2006706954621511,
|
|
unseen = -2.4849066497880004,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinals (first..twentieth,thirtieth,...)",
|
|
-1.7047480922384253),
|
|
("ordinal (digits)", -0.2006706954621511)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -1.7047480922384253,
|
|
unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList [("ordinal (digits)", -0.2876820724517809)],
|
|
n = 2}}),
|
|
("last weekend of <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("October", -0.9555114450274363), ("July", -1.8718021769015913),
|
|
("month", -0.7731898882334817)],
|
|
n = 5},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("the <day-of-month> (number)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("fractional number",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 17}}),
|
|
("Sunday",
|
|
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}}),
|
|
("February",
|
|
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}}),
|
|
("minute (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}}),
|
|
("the <ordinal> quarter",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)quarter (grain)", -0.6931471805599453),
|
|
("quarter", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)quarter (grain)", -0.6931471805599453),
|
|
("quarter", -0.6931471805599453)],
|
|
n = 1}}),
|
|
("time-of-day (latent)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.5315058290035293,
|
|
unseen = -4.2626798770413155,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -0.12136085700426748),
|
|
("integer (0..19)", -2.3025850929940455)],
|
|
n = 67},
|
|
koData =
|
|
ClassData{prior = -0.8860508466844369,
|
|
unseen = -3.9318256327243257,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -0.10536051565782628),
|
|
("integer (0..19)", -2.8134107167600364),
|
|
("integer 21..99", -3.2188758248682006)],
|
|
n = 47}}),
|
|
("year",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.23483959107740107, unseen = -3.58351893845611,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 34},
|
|
koData =
|
|
ClassData{prior = -1.563975538357343, unseen = -2.3978952727983707,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 9}}),
|
|
("last <day-of-week> of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.3978952727983707,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("daymonth", -0.916290731874155),
|
|
("SundayMarch", -1.6094379124341003),
|
|
("MondayMarch", -1.6094379124341003),
|
|
("Sundayintersect", -1.6094379124341003)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<integer> <unit-of-duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.1479201300766222,
|
|
unseen = -5.0875963352323845,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.4423470353692043),
|
|
("integer (0..19)year (grain)", -3.289644895756408),
|
|
("integer (numeric)day (grain)", -2.6835090921860925),
|
|
("integer (0..19)second (grain) ", -3.6951100038645723),
|
|
("integer (0..19)hour (grain)", -3.001962823304627),
|
|
("second", -3.289644895756408),
|
|
("integer (numeric)second (grain) ", -3.982792076316353),
|
|
("integer (numeric)year (grain)", -3.6951100038645723),
|
|
("day", -2.4423470353692043), ("year", -2.8841797876482436),
|
|
("integer (numeric)week (grain)", -3.001962823304627),
|
|
("integer (0..19)month (grain)", -3.4719664525503626),
|
|
("hour", -2.5964977151964628), ("month", -3.1354942159291497),
|
|
("integer (numeric)minute (grain)", -3.1354942159291497),
|
|
("integer (0..19)minute (grain)", -3.001962823304627),
|
|
("integer (numeric)month (grain)", -3.982792076316353),
|
|
("minute", -2.4423470353692043),
|
|
("integer (numeric)hour (grain)", -3.4719664525503626),
|
|
("integer (0..19)day (grain)", -3.6951100038645723),
|
|
("integer (0..19)week (grain)", -3.1354942159291497)],
|
|
n = 69},
|
|
koData =
|
|
ClassData{prior = -1.984131361875511, unseen = -3.828641396489095,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("quarter", -3.1135153092103742), ("hour", -1.4087672169719492),
|
|
("integer (numeric)hour (grain)", -1.4087672169719492),
|
|
("integer (0..19)quarter (grain)", -3.1135153092103742)],
|
|
n = 11}}),
|
|
("hhmm (latent)",
|
|
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}}),
|
|
("<time-of-day> am|pm",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.2929871246814741,
|
|
unseen = -5.3230099791384085,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer after|past <hour-of-day>", -3.9318256327243257),
|
|
("at <time-of-day>", -2.2270775404859005),
|
|
("from|since|after <time-of-day>", -3.708682081410116),
|
|
("<time-of-day> o'clock", -4.219507705176107),
|
|
("half after|past <hour-of-day>", -4.219507705176107),
|
|
("time-of-day (latent)", -1.7346010553881064),
|
|
("hhmm (latent)", -4.624972813284271),
|
|
("hh:mm", -2.2735975561207935),
|
|
("quarter after|past <hour-of-day>", -4.624972813284271),
|
|
("about|exactly <time-of-day>", -4.624972813284271),
|
|
("until <time-of-day>", -3.9318256327243257),
|
|
("hour", -1.2237754316221157),
|
|
("<time-of-day> sharp|exactly", -4.624972813284271),
|
|
("minute", -1.7346010553881064)],
|
|
n = 94},
|
|
koData =
|
|
ClassData{prior = -1.3705460041517514, unseen = -4.394449154672439,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<integer> to|till|before <hour-of-day>", -3.283414346005772),
|
|
("from|since|after <time-of-day>", -3.283414346005772),
|
|
("<hour-of-day> <integer>", -3.6888794541139363),
|
|
("time-of-day (latent)", -1.0498221244986778),
|
|
("hour", -1.0147308046874075), ("minute", -2.772588722239781)],
|
|
n = 32}}),
|
|
("from <day-of-month> (ordinal or number) to <day-of-month> (ordinal or number) <named-month> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)ordinal (digits)July", -1.252762968495368),
|
|
("integer (numeric)integer (numeric)July", -1.252762968495368),
|
|
("month", -0.8472978603872037)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("Thanksgiving Day",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 11},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("part of <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("March", -0.6931471805599453), ("month", -0.6931471805599453)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("a <unit-of-duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.5753641449035618,
|
|
unseen = -3.4965075614664802,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.0794415416798357),
|
|
("year (grain)", -2.772588722239781),
|
|
("second", -2.772588722239781),
|
|
("week (grain)", -2.0794415416798357),
|
|
("day", -2.0794415416798357),
|
|
("minute (grain)", -2.772588722239781),
|
|
("year", -2.772588722239781),
|
|
("second (grain) ", -2.772588722239781),
|
|
("minute", -2.772588722239781),
|
|
("day (grain)", -2.0794415416798357)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -0.8266785731844679, unseen = -3.367295829986474,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hour (grain)", -1.7227665977411035),
|
|
("quarter", -1.9459101490553135), ("hour", -1.7227665977411035),
|
|
("quarter (grain)", -1.9459101490553135)],
|
|
n = 7}}),
|
|
("hh:mm",
|
|
Classifier{okData =
|
|
ClassData{prior = -6.782259633876106e-2,
|
|
unseen = -4.07753744390572,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 57},
|
|
koData =
|
|
ClassData{prior = -2.7245795030534206, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
|
("quarter of an hour",
|
|
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}}),
|
|
("second (grain) ",
|
|
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}}),
|
|
("ordinals (first..twentieth,thirtieth,...)",
|
|
Classifier{okData =
|
|
ClassData{prior = -6.899287148695143e-2,
|
|
unseen = -2.772588722239781,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 14},
|
|
koData =
|
|
ClassData{prior = -2.70805020110221, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
|
("quarter after|past <hour-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -0.6931471805599453),
|
|
("hour", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("the <cycle> after|before <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day (grain)tomorrow", -1.252762968495368),
|
|
("dayday", -0.8472978603872037),
|
|
("day (grain)yesterday", -1.252762968495368)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("about|exactly <time-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.2231435513142097, unseen = -3.367295829986474,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.639057329615259),
|
|
("hh(:mm) - <time-of-day> am|pm", -2.639057329615259),
|
|
("this|last|next <cycle>", -2.639057329615259),
|
|
("day", -2.2335922215070942),
|
|
("time-of-day (latent)", -2.639057329615259),
|
|
("hhmm (latent)", -2.2335922215070942),
|
|
("<time-of-day> am|pm", -2.639057329615259),
|
|
("hour", -1.9459101490553135),
|
|
("next <time>", -2.639057329615259),
|
|
("this|next <day-of-week>", -2.639057329615259),
|
|
("minute", -2.2335922215070942)],
|
|
n = 8},
|
|
koData =
|
|
ClassData{prior = -1.6094379124341003, unseen = -2.833213344056216,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("mm/dd", -2.0794415416798357), ("day", -2.0794415416798357),
|
|
("time-of-day (latent)", -2.0794415416798357),
|
|
("hour", -2.0794415416798357)],
|
|
n = 2}}),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.48130318449966897,
|
|
unseen = -5.170483995038151,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Wednesday<named-month> <day-of-month> (non ordinal)",
|
|
-4.471638793363569),
|
|
("dayhour", -3.2188758248682006),
|
|
("daymonth", -3.2188758248682006),
|
|
("<named-month> <day-of-month> (non ordinal)Friday",
|
|
-4.471638793363569),
|
|
("Friday<named-month> <day-of-month> (non ordinal)",
|
|
-3.7784916128036232),
|
|
("Wednesdayintersect", -4.471638793363569),
|
|
("Labor Daythis|last|next <cycle>", -4.471638793363569),
|
|
("black fridaythis|last|next <cycle>", -4.471638793363569),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"year",
|
|
-4.471638793363569),
|
|
("<part-of-day> of <time>February", -4.471638793363569),
|
|
("Saturday<time-of-day> am|pm", -4.471638793363569),
|
|
("Martin Luther King's Daythis|last|next <cycle>",
|
|
-4.471638793363569),
|
|
("on <date><time-of-day> am|pm", -4.471638793363569),
|
|
("hourmonth", -4.471638793363569),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"intersect",
|
|
-4.471638793363569),
|
|
("dayday", -2.5998366164619773),
|
|
("the <day-of-month> (ordinal)February", -4.0661736852554045),
|
|
("WednesdayOctober", -4.471638793363569),
|
|
("Wednesdaythis|last|next <cycle>", -4.0661736852554045),
|
|
("intersect<named-month> <day-of-month> (non ordinal)",
|
|
-3.5553480614894135),
|
|
("dayyear", -2.8622008809294686),
|
|
("Saturday<named-month> <day-of-month> (non ordinal)",
|
|
-4.471638793363569),
|
|
("<named-month> <day-of-month> (non ordinal)intersect",
|
|
-4.471638793363569),
|
|
("Thursdayhh:mm", -4.0661736852554045),
|
|
("Thanksgiving Daythis|last|next <cycle>", -4.471638793363569),
|
|
("Memorial Daythis|last|next <cycle>", -4.471638793363569),
|
|
("on <date><named-month> <day-of-month> (non ordinal)",
|
|
-4.0661736852554045),
|
|
("TuesdayOctober", -4.471638793363569),
|
|
("the <day-of-month> (ordinal)March", -4.471638793363569),
|
|
("Mondaythis|last|next <cycle>", -4.471638793363569),
|
|
("Fridayintersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-4.0661736852554045),
|
|
("Fridayintersect", -4.471638793363569),
|
|
("Thursday<datetime> - <datetime> (interval)",
|
|
-3.7784916128036232),
|
|
("Thursday<time-of-day> - <time-of-day> (interval)",
|
|
-3.5553480614894135),
|
|
("Tuesdaythis|last|next <cycle>", -4.471638793363569),
|
|
("Sunday<named-month> <day-of-month> (non ordinal)",
|
|
-4.471638793363569),
|
|
("dayminute", -2.6798793241355137),
|
|
("intersectyear", -4.471638793363569),
|
|
("minuteday", -3.5553480614894135),
|
|
("this|last|next <cycle>Sunday", -4.471638793363569),
|
|
("Sundaythis|last|next <cycle>", -4.471638793363569),
|
|
("intersectintersect", -4.471638793363569),
|
|
("weekday", -4.471638793363569),
|
|
("dayweek", -3.373026504695459),
|
|
("Thursday<time-of-day> am|pm", -4.471638793363569),
|
|
("Monday<named-month> <day-of-month> (non ordinal)",
|
|
-4.0661736852554045),
|
|
("<named-month> <day-of-month> (non ordinal)year",
|
|
-4.0661736852554045)],
|
|
n = 55},
|
|
koData =
|
|
ClassData{prior = -0.9622758451159785, unseen = -4.897839799950911,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week-endJuly", -4.197201947661808),
|
|
("week-endOctober", -3.5040547671018634),
|
|
("daymonth", -1.9999773703255892),
|
|
("TuesdaySeptember", -4.197201947661808),
|
|
("Wednesdayintersect", -4.197201947661808),
|
|
("hourmonth", -3.0985896589936988),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"intersect",
|
|
-4.197201947661808),
|
|
("Fridaythis|last|next <cycle>", -4.197201947661808),
|
|
("SundayFebruary", -4.197201947661808),
|
|
("WednesdayOctober", -4.197201947661808),
|
|
("week-endintersect", -4.197201947661808),
|
|
("dayyear", -4.197201947661808),
|
|
("FridayJuly", -3.791736839553644),
|
|
("<named-month> <day-of-month> (non ordinal)intersect",
|
|
-4.197201947661808),
|
|
("FridaySeptember", -4.197201947661808),
|
|
("WednesdayFebruary", -4.197201947661808),
|
|
("minutemonth", -3.2809112157876537),
|
|
("SundayMarch", -4.197201947661808),
|
|
("Fridayintersect by \",\", \"of\", \"from\", \"'s\"",
|
|
-4.197201947661808),
|
|
("MondayFebruary", -3.791736839553644),
|
|
("Fridayintersect", -4.197201947661808),
|
|
("Thursday<time-of-day> - <time-of-day> (interval)",
|
|
-3.791736839553644),
|
|
("dayminute", -2.810907586541918),
|
|
("SaturdaySeptember", -4.197201947661808),
|
|
("intersectSeptember", -3.2809112157876537),
|
|
("MondayMarch", -4.197201947661808),
|
|
("on <date>September", -3.791736839553644),
|
|
("intersectintersect", -4.197201947661808),
|
|
("Tuesdayintersect", -4.197201947661808),
|
|
("Sundayintersect", -4.197201947661808)],
|
|
n = 34}}),
|
|
("last <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6286086594223742, unseen = -3.332204510175204,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Father's Day", -2.6026896854443837),
|
|
("Martin Luther King's Day", -2.6026896854443837),
|
|
("Memorial Day", -2.6026896854443837),
|
|
("Mother's Day", -2.6026896854443837),
|
|
("day", -1.2163953243244932), ("Sunday", -2.6026896854443837),
|
|
("Thanksgiving Day", -2.6026896854443837),
|
|
("hour", -2.6026896854443837), ("Tuesday", -2.6026896854443837),
|
|
("week-end", -2.6026896854443837)],
|
|
n = 8},
|
|
koData =
|
|
ClassData{prior = -0.7621400520468967, unseen = -3.258096538021482,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Monday", -2.5257286443082556), ("day", -2.120263536200091),
|
|
("Sunday", -2.5257286443082556), ("hour", -1.4271163556401458),
|
|
("week-end", -1.4271163556401458)],
|
|
n = 7}}),
|
|
("March",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 17},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<named-month>|<named-day> <day-of-month> (ordinal)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.2231435513142097, unseen = -3.258096538021482,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Octoberordinal (digits)", -2.120263536200091),
|
|
("Thursdayordinal (digits)", -2.5257286443082556),
|
|
("day", -2.120263536200091),
|
|
("Augustordinal (digits)", -2.5257286443082556),
|
|
("Marchordinals (first..twentieth,thirtieth,...)",
|
|
-2.120263536200091),
|
|
("Tuesdayordinal (digits)", -2.5257286443082556),
|
|
("month", -1.2729656758128873),
|
|
("Marchordinal (digits)", -2.5257286443082556)],
|
|
n = 8},
|
|
koData =
|
|
ClassData{prior = -1.6094379124341003, unseen = -2.639057329615259,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("from|since|after <time-of-day>ordinal (digits)",
|
|
-1.8718021769015913),
|
|
("Augustordinal (digits)", -1.8718021769015913),
|
|
("month", -1.466337068793427)],
|
|
n = 2}}),
|
|
("Labor Day weekend",
|
|
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}}),
|
|
("<day-of-month> (ordinal)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [("ordinal (digits)", 0.0)], n = 5},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("Christmas",
|
|
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}}),
|
|
("until <time-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.9808292530117262, unseen = -3.044522437723423,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -2.3025850929940455),
|
|
("<time-of-day> am|pm", -1.6094379124341003),
|
|
("hh:mm", -1.8971199848858813), ("hour", -1.8971199848858813),
|
|
("minute", -1.3862943611198906)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -0.4700036292457356, unseen = -3.367295829986474,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("intersect", -1.7227665977411035),
|
|
("yesterday", -2.2335922215070942),
|
|
("day", -2.2335922215070942), ("hh:mm", -1.7227665977411035),
|
|
("hour", -2.639057329615259), ("minute", -1.252762968495368)],
|
|
n = 10}}),
|
|
("mm.dd.yyyy",
|
|
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}}),
|
|
("<duration> after|before|from <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.35667494393873245,
|
|
unseen = -3.4339872044851463,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("a <unit-of-duration>now", -2.70805020110221),
|
|
("a <unit-of-duration>Christmas", -2.70805020110221),
|
|
("<integer> <unit-of-duration>today", -2.70805020110221),
|
|
("daysecond", -2.70805020110221),
|
|
("a <unit-of-duration>right now", -2.70805020110221),
|
|
("minutenograin", -2.70805020110221),
|
|
("<integer> <unit-of-duration>Christmas", -2.70805020110221),
|
|
("secondnograin", -2.70805020110221),
|
|
("yearday", -2.0149030205422647),
|
|
("daynograin", -2.70805020110221),
|
|
("<integer> <unit-of-duration>now", -2.3025850929940455)],
|
|
n = 7},
|
|
koData =
|
|
ClassData{prior = -1.2039728043259361,
|
|
unseen = -3.1354942159291497,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("dayhour", -2.3978952727983707),
|
|
("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
|
-2.3978952727983707),
|
|
("dayday", -1.9924301646902063),
|
|
("<integer> <unit-of-duration>time-of-day (latent)",
|
|
-2.3978952727983707),
|
|
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
|
-2.3978952727983707)],
|
|
n = 3}}),
|
|
("Independence 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}}),
|
|
("decimal number",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
|
("next <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.5263605246161616,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Martin Luther King's Day", -2.803360380906535),
|
|
("Halloween", -2.803360380906535),
|
|
("Wednesday", -2.803360380906535),
|
|
("Memorial Day", -2.803360380906535),
|
|
("Monday", -2.803360380906535),
|
|
("Mother's Day", -2.803360380906535),
|
|
("day", -1.0986122886681098),
|
|
("Thanksgiving Day", -2.803360380906535),
|
|
("March", -2.803360380906535), ("month", -2.803360380906535),
|
|
("Tuesday", -2.1102132003465894)],
|
|
n = 11},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.4849066497880004,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<time-of-day> sharp|exactly",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.890371757896165,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("at <time-of-day>", -2.1400661634962708),
|
|
("time-of-day (latent)", -2.1400661634962708),
|
|
("hhmm (latent)", -2.1400661634962708),
|
|
("<time-of-day> am|pm", -2.1400661634962708),
|
|
("hh:mm", -2.1400661634962708), ("hour", -1.7346010553881064),
|
|
("minute", -1.4469189829363254)],
|
|
n = 5},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("Memorial Day Weekend",
|
|
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}}),
|
|
("negative numbers",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -3.332204510175204,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -7.696104113612832e-2),
|
|
("integer (0..19)", -2.6026896854443837)],
|
|
n = 25}}),
|
|
("about|exactly <duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("half an hour", -0.6931471805599453),
|
|
("minute", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<time> before last|after next",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Wednesday", -1.8718021769015913),
|
|
("Friday", -1.466337068793427), ("day", -1.1786549963416462),
|
|
("March", -1.8718021769015913), ("month", -1.8718021769015913)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("by the end of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("this|last|next <cycle>", -0.6931471805599453),
|
|
("month", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("hhmm (military) am|pm",
|
|
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.3794896217049037, unseen = -4.304065093204169,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("intersecthh:mm", -3.1918471524802814),
|
|
("intersect<time-of-day> am|pm", -3.1918471524802814),
|
|
("minuteminute", -1.457246097092175),
|
|
("hh:mmhh:mm", -2.093234863812172),
|
|
("dayday", -3.1918471524802814),
|
|
("hourhour", -2.093234863812172),
|
|
("<named-month> <day-of-month> (non ordinal)<named-month> <day-of-month> (non ordinal)",
|
|
-3.1918471524802814),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"hh:mm",
|
|
-3.1918471524802814),
|
|
("intersect by \",\", \"of\", \"from\", \"'s\"<time-of-day> am|pm",
|
|
-3.597312260588446),
|
|
("from|since|after <time-of-day><time-of-day> am|pm",
|
|
-3.597312260588446),
|
|
("<time-of-day> am|pm<time-of-day> am|pm", -2.681021528714291),
|
|
("from|since|after <time-of-day>hh:mm", -2.681021528714291)],
|
|
n = 26},
|
|
koData =
|
|
ClassData{prior = -1.1526795099383855, unseen = -3.828641396489095,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<named-month> <day-of-month> (non ordinal)July",
|
|
-3.1135153092103742),
|
|
("daymonth", -2.70805020110221),
|
|
("from|since|after <time-of-day>intersect", -2.70805020110221),
|
|
("<time-of-day> am|pmintersect", -3.1135153092103742),
|
|
("hh:mm<time-of-day> am|pm", -2.70805020110221),
|
|
("minuteminute", -1.8607523407150064),
|
|
("hourhour", -2.70805020110221),
|
|
("minutehour", -2.70805020110221),
|
|
("hh:mmintersect", -2.1972245773362196),
|
|
("<named-month> <day-of-month> (non ordinal)August",
|
|
-3.1135153092103742),
|
|
("about|exactly <time-of-day><time-of-day> am|pm",
|
|
-3.1135153092103742)],
|
|
n = 12}}),
|
|
("Tuesday",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("New Year's Day",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
|
koData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
|
("fortnight",
|
|
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}}),
|
|
("<integer> and an half hour",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("in <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("October", -1.252762968495368), ("March", -1.252762968495368),
|
|
("month", -0.8472978603872037)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -0.6931471805599453,
|
|
unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("October", -0.8472978603872037),
|
|
("month", -0.8472978603872037)],
|
|
n = 2}}),
|
|
("<time-of-day> - <time-of-day> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.7375989431307791, unseen = -4.110873864173311,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("minuteminute", -1.529395204760564),
|
|
("hh:mmhh:mm", -1.8971199848858813),
|
|
("<time-of-day> am|pmtime-of-day (latent)",
|
|
-2.4849066497880004),
|
|
("hourhour", -1.6964492894237302),
|
|
("from|since|after <time-of-day>time-of-day (latent)",
|
|
-3.4011973816621555),
|
|
("from|since|after <time-of-day><time-of-day> am|pm",
|
|
-3.4011973816621555),
|
|
("<time-of-day> am|pm<time-of-day> am|pm", -2.4849066497880004),
|
|
("from|since|after <time-of-day>hh:mm", -2.4849066497880004)],
|
|
n = 22},
|
|
koData =
|
|
ClassData{prior = -0.6505875661411494, unseen = -4.174387269895637,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("about|exactly <time-of-day>time-of-day (latent)",
|
|
-3.4657359027997265),
|
|
("hh:mmtime-of-day (latent)", -1.7609878105613013),
|
|
("hh:mm<time-of-day> am|pm", -3.0602707946915624),
|
|
("<time-of-day> am|pmtime-of-day (latent)",
|
|
-3.4657359027997265),
|
|
("at <time-of-day><time-of-day> am|pm", -3.4657359027997265),
|
|
("hourhour", -2.2129729343043585),
|
|
("minutehour", -1.2144441041932315),
|
|
("about|exactly <time-of-day><time-of-day> am|pm",
|
|
-3.4657359027997265),
|
|
("from|since|after <time-of-day>time-of-day (latent)",
|
|
-2.5494451709255714),
|
|
("at <time-of-day>time-of-day (latent)", -3.0602707946915624),
|
|
("<integer> to|till|before <hour-of-day>time-of-day (latent)",
|
|
-3.0602707946915624)],
|
|
n = 24}}),
|
|
("military spelled out numbers am|pm",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.0986122886681098,
|
|
likelihoods =
|
|
HashMap.fromList [("integer (0..19)integer (20..90)", 0.0)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
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 (first..twentieth,thirtieth,...)Tuesdayintersect",
|
|
-0.916290731874155)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("dayday", -0.916290731874155),
|
|
("ordinals (first..twentieth,thirtieth,...)TuesdayChristmas",
|
|
-0.916290731874155)],
|
|
n = 1}}),
|
|
("<named-month> <day-of-month> (non ordinal)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.42121346507630353,
|
|
unseen = -3.951243718581427,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Augustinteger (numeric)", -2.5455312716044354),
|
|
("Marchinteger (numeric)", -2.833213344056216),
|
|
("Aprilinteger (numeric)", -3.2386784521643803),
|
|
("month", -0.8407831793660099),
|
|
("Februaryinteger (numeric)", -1.9859154836690123),
|
|
("Septemberinteger (numeric)", -2.833213344056216),
|
|
("Octoberinteger (numeric)", -2.833213344056216),
|
|
("Julyinteger (numeric)", -2.1400661634962708)],
|
|
n = 21},
|
|
koData =
|
|
ClassData{prior = -1.067840630001356, unseen = -3.4657359027997265,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Augustinteger (numeric)", -2.3353749158170367),
|
|
("Marchinteger (numeric)", -2.740840023925201),
|
|
("Aprilinteger (numeric)", -2.740840023925201),
|
|
("month", -0.9490805546971459),
|
|
("from|since|after <time-of-day>integer (numeric)",
|
|
-2.3353749158170367),
|
|
("Julyinteger (numeric)", -1.6422277352570913)],
|
|
n = 11}}),
|
|
("this|next <day-of-week>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.995732273553991,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Thursday", -2.2512917986064953),
|
|
("Wednesday", -2.2512917986064953),
|
|
("Monday", -1.845826690498331), ("day", -0.8649974374866046),
|
|
("Tuesday", -1.55814461804655)],
|
|
n = 7},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("ordinal (digits)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.5553480614894135,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 33},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("quarter (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.2876820724517809, unseen = -2.639057329615259,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 12},
|
|
koData =
|
|
ClassData{prior = -1.3862943611198906, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
|
("last <cycle> of <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day (grain)October", -1.791759469228055),
|
|
("daymonth", -1.2809338454620642),
|
|
("day (grain)intersect", -1.791759469228055),
|
|
("weekmonth", -1.791759469228055),
|
|
("week (grain)intersect", -2.1972245773362196),
|
|
("week (grain)September", -2.1972245773362196)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("seasons",
|
|
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}}),
|
|
("<day-of-month>(ordinal) <named-month> year",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("ordinal (digits)April", -0.6931471805599453),
|
|
("month", -0.6931471805599453)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("Labor Day",
|
|
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}}),
|
|
("week-end",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.5040773967762742,
|
|
unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
|
koData =
|
|
ClassData{prior = -0.25131442828090605,
|
|
unseen = -2.1972245773362196,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 7}}),
|
|
("day (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("black friday",
|
|
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}}),
|
|
("right now",
|
|
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}}),
|
|
("for <duration> from <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -2.3025850929940455,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<integer> <unit-of-duration><day-of-month> (ordinal)",
|
|
-1.5040773967762742),
|
|
("dayday", -1.0986122886681098),
|
|
("<integer> <unit-of-duration><day-of-month> (ordinal or number) <named-month>",
|
|
-1.5040773967762742)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -1.0986122886681098,
|
|
unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("dayhour", -1.252762968495368),
|
|
("<integer> <unit-of-duration>time-of-day (latent)",
|
|
-1.252762968495368)],
|
|
n = 1}}),
|
|
("between <time> and <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.0986122886681098,
|
|
unseen = -2.4849066497880004,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("minuteminute", -1.0116009116784799),
|
|
("hh:mmhh:mm", -1.0116009116784799)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -2.890371757896165,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hh:mmtime-of-day (latent)", -1.4469189829363254),
|
|
("minuteminute", -1.4469189829363254),
|
|
("minutehour", -1.4469189829363254),
|
|
("hh:mmintersect", -1.4469189829363254)],
|
|
n = 6}}),
|
|
("<month> dd-dd (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.4657359027997265,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Julyinteger (numeric)integer (numeric)", -1.6422277352570913),
|
|
("from|since|after <time-of-day>ordinal (digits)ordinal (digits)",
|
|
-2.740840023925201),
|
|
("from|since|after <time-of-day>integer (numeric)integer (numeric)",
|
|
-2.740840023925201),
|
|
("from|since|after <time-of-day>ordinal (digits)integer (numeric)",
|
|
-2.740840023925201),
|
|
("Augustordinal (digits)integer (numeric)",
|
|
-2.3353749158170367),
|
|
("month", -0.8690378470236094),
|
|
("Augustordinal (digits)ordinal (digits)",
|
|
-2.3353749158170367)],
|
|
n = 12},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("part of days",
|
|
Classifier{okData =
|
|
ClassData{prior = -4.0821994520255166e-2,
|
|
unseen = -3.258096538021482,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 24},
|
|
koData =
|
|
ClassData{prior = -3.2188758248682006,
|
|
unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
|
("dd-dd <month> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.9444389791664407,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)integer (numeric)September",
|
|
-1.791759469228055),
|
|
("ordinal (digits)ordinal (digits)July", -2.1972245773362196),
|
|
("ordinal (digits)ordinal (digits)October",
|
|
-2.1972245773362196),
|
|
("integer (numeric)integer (numeric)July", -2.1972245773362196),
|
|
("month", -0.9444616088408514),
|
|
("ordinal (digits)ordinal (digits)August",
|
|
-2.1972245773362196)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("this <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("Thursday", -2.4849066497880004),
|
|
("Martin Luther King's Day", -2.4849066497880004),
|
|
("Monday", -2.4849066497880004), ("day", -1.0986122886681098),
|
|
("Thanksgiving Day", -2.4849066497880004),
|
|
("hour", -2.4849066497880004), ("seasons", -1.791759469228055),
|
|
("week-end", -2.4849066497880004)],
|
|
n = 8},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.1972245773362196,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("August",
|
|
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}})] |