duckling/Duckling/Ranking/Classifiers/ZH_TW.hs
Julien Odent bf89e34365 Relicense to BSD3
Reviewed By: JoelMarcey

Differential Revision: D15439223

fbshipit-source-id: c5af3cb06318748142fe503945b38beffadfc28a
2019-05-22 10:46:39 -07:00

923 lines
53 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.
-----------------------------------------------------------------
-- 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.ZH_TW (classifiers) where
import Data.String
import Prelude
import qualified Data.HashMap.Strict as HashMap
import Duckling.Ranking.Types
classifiers :: Classifiers
classifiers
= HashMap.fromList
[("<time> timezone",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.6094379124341003,
likelihoods =
HashMap.fromList
[("<time-of-day> am|pm", -0.6931471805599453),
("hour", -0.6931471805599453)],
n = 1},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("Thursday",
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}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = -0.48550781578170077,
unseen = -3.912023005428146,
likelihoods = HashMap.fromList [("", 0.0)], n = 48},
koData =
ClassData{prior = -0.9555114450274363,
unseen = -3.4657359027997265,
likelihoods = HashMap.fromList [("", 0.0)], n = 30}}),
("the day before yesterday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("\22269\38469\28040\36153\32773\26435\30410\26085",
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}}),
("\24314\20891\33410",
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}}),
("today",
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",
Classifier{okData =
ClassData{prior = -1.6094379124341003,
unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = -0.2231435513142097, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
("absorption of , after named day",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.833213344056216,
likelihoods =
HashMap.fromList
[("day", -0.6931471805599453), ("Sunday", -0.6931471805599453)],
n = 7},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
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}}),
("month (grain)",
Classifier{okData =
ClassData{prior = -1.0541605260972757,
unseen = -3.2188758248682006,
likelihoods = HashMap.fromList [("", 0.0)], n = 23},
koData =
ClassData{prior = -0.42845462633286313,
unseen = -3.8066624897703196,
likelihoods = HashMap.fromList [("", 0.0)], n = 43}}),
("<time-of-day> o'clock",
Classifier{okData =
ClassData{prior = -0.4418327522790392, unseen = -3.044522437723423,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.6931471805599453),
("hour", -0.6931471805599453)],
n = 9},
koData =
ClassData{prior = -1.0296194171811581,
unseen = -2.5649493574615367,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.6931471805599453),
("hour", -0.6931471805599453)],
n = 5}}),
("national day",
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}}),
("number suffix: \21313",
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}}),
("Wednesday",
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}}),
("hour (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.0910424533583156,
likelihoods = HashMap.fromList [("", 0.0)], n = 20},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("\20803\26086",
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}}),
("intersect",
Classifier{okData =
ClassData{prior = -0.6061358035703156, unseen = -4.61512051684126,
likelihoods =
HashMap.fromList
[("\20799\31461\33410<part-of-day> <dim time>",
-2.995732273553991),
("year (numeric with year symbol)<named-month> <day-of-month>",
-1.7719568419318752),
("dayday", -1.8971199848858813),
("hourhour", -2.995732273553991),
("hourminute", -2.995732273553991),
("absorption of , after named day<named-month> <day-of-month>",
-1.8971199848858813),
("dayminute", -2.995732273553991),
("tonight<time-of-day> o'clock", -2.995732273553991),
("<dim time> <part-of-day>relative minutes after|past <integer> (hour-of-day)",
-2.995732273553991),
("yearday", -1.7719568419318752)],
n = 42},
koData =
ClassData{prior = -0.7884573603642702, unseen = -4.465908118654584,
likelihoods =
HashMap.fromList
[("\20799\31461\33410<part-of-day> <dim time>",
-2.257122718917288),
("dayhour", -2.8449093838194073),
("daymonth", -2.374905754573672),
("<dim time> <part-of-day><time-of-day> o'clock",
-3.355735007585398),
("year (numeric with year symbol)month (numeric with month symbol)",
-1.7462970951512977),
("hourhour", -3.355735007585398),
("hourminute", -2.8449093838194073),
("absorption of , after named daymonth (numeric with month symbol)",
-2.374905754573672),
("yearmonth", -1.7462970951512977),
("dayminute", -2.8449093838194073),
("<dim time> <part-of-day>relative minutes after|past <integer> (hour-of-day)",
-2.8449093838194073)],
n = 35}}),
("year (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}}),
("Saturday",
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}}),
("next <cycle>",
Classifier{okData =
ClassData{prior = -0.7472144018302211,
unseen = -3.2188758248682006,
likelihoods =
HashMap.fromList
[("week", -1.3862943611198906),
("month (grain)", -1.791759469228055),
("year (grain)", -2.4849066497880004),
("week (grain)", -1.3862943611198906),
("year", -2.4849066497880004), ("month", -1.791759469228055)],
n = 9},
koData =
ClassData{prior = -0.6418538861723948, unseen = -3.295836866004329,
likelihoods =
HashMap.fromList
[("week", -0.8602012652231115),
("week (grain)", -0.8602012652231115)],
n = 10}}),
("last year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("this <day-of-week>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.970291913552122,
likelihoods =
HashMap.fromList
[("Wednesday", -1.8718021769015913),
("Monday", -1.8718021769015913), ("day", -0.7323678937132265),
("Tuesday", -1.5533484457830569)],
n = 24},
koData =
ClassData{prior = -infinity, unseen = -1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("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.791759469228055,
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("evening|night",
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}}),
("Monday",
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}}),
("yesterday",
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}}),
("next year",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("hh:mm (time-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}}),
("<integer> (latent time-of-day)",
Classifier{okData =
ClassData{prior = -1.4170660197866443, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.3350010667323402),
("integer (0..10)", -0.3794896217049037)],
n = 16},
koData =
ClassData{prior = -0.2776317365982795,
unseen = -3.9889840465642745,
likelihoods =
HashMap.fromList
[("integer (numeric)", -2.3608540011180215),
("integer (0..10)", -0.28141245943818544),
("<number>\20010/\20491", -1.890850371872286)],
n = 50}}),
("nth <time> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("monthday", -0.6931471805599453),
("month (numeric with month symbol)ordinal (digits)Monday",
-0.6931471805599453)],
n = 8},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("month (numeric with month symbol)",
Classifier{okData =
ClassData{prior = -0.3087354816496133, unseen = -3.951243718581427,
likelihoods =
HashMap.fromList
[("integer (numeric)", -1.0986122886681098),
("number suffix: \21313", -2.322387720290225),
("integer (0..10)", -0.5996211225491218)],
n = 47},
koData =
ClassData{prior = -1.3256697393034558,
unseen = -3.0910424533583156,
likelihoods =
HashMap.fromList
[("integer (0..10)", -1.9459101490553135),
("<number>\20010/\20491", -0.2719337154836418)],
n = 17}}),
("week (grain)",
Classifier{okData =
ClassData{prior = -0.8434293836092833,
unseen = -3.6635616461296463,
likelihoods = HashMap.fromList [("", 0.0)], n = 37},
koData =
ClassData{prior = -0.5625269981428811,
unseen = -3.9318256327243257,
likelihoods = HashMap.fromList [("", 0.0)], n = 49}}),
("year (numeric with year symbol)",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.772588722239781,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 14},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("now",
Classifier{okData =
ClassData{prior = 0.0, unseen = -2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("\24858\20154\33410",
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}}),
("numbers prefix with -, negative or minus",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 4}}),
("Friday",
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}}),
("tomorrow",
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}}),
("this year",
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}}),
("\28595\38376\22238\24402\32426\24565\26085",
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}}),
("next <day-of-week>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.1780538303479458,
likelihoods =
HashMap.fromList
[("Wednesday", -1.3437347467010947),
("day", -0.7375989431307791), ("Tuesday", -1.3437347467010947)],
n = 10},
koData =
ClassData{prior = -infinity, unseen = -1.3862943611198906,
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 = -1.9459101490553135,
likelihoods = HashMap.fromList [("", 0.0)], n = 5}}),
("Sunday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.0910424533583156,
likelihoods = HashMap.fromList [("", 0.0)], n = 20},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("afternoon",
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}}),
("<duration> from now",
Classifier{okData =
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("week", -2.2617630984737906), ("second", -2.772588722239781),
("day", -2.2617630984737906), ("year", -2.772588722239781),
("<integer> <unit-of-duration>", -0.8266785731844679),
("hour", -2.2617630984737906), ("month", -2.772588722239781),
("minute", -2.772588722239781)],
n = 20}}),
("this <cycle>",
Classifier{okData =
ClassData{prior = -1.0185695809945732,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("week", -0.916290731874155),
("year (grain)", -2.3025850929940455),
("week (grain)", -0.916290731874155),
("year", -2.3025850929940455)],
n = 13},
koData =
ClassData{prior = -0.4480247225269604,
unseen = -3.9318256327243257,
likelihoods =
HashMap.fromList
[("week", -0.7339691750802004),
("week (grain)", -0.7339691750802004)],
n = 23}}),
("minute (grain)",
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}}),
("<dim time> <part-of-day>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.07753744390572,
likelihoods =
HashMap.fromList
[("dayhour", -0.7646061445420903),
("national dayevening|night", -2.9618307218783095),
("<named-month> <day-of-month>morning", -1.4954936530848826),
("\24773\20154\33410evening|night", -2.9618307218783095),
("\20799\31461\33410afternoon", -2.9618307218783095),
("Mondaymorning", -1.8632184332102)],
n = 26},
koData =
ClassData{prior = -infinity, unseen = -1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("<part-of-day> <dim time>",
Classifier{okData =
ClassData{prior = -0.6097655716208943, unseen = -4.07753744390572,
likelihoods =
HashMap.fromList
[("tonight<integer> (latent time-of-day)", -2.451005098112319),
("hourhour", -1.3523928094442093),
("afternoonrelative minutes after|past <integer> (hour-of-day)",
-1.6625477377480489),
("afternoon<time-of-day> o'clock", -2.6741486494265287),
("hourminute", -1.575536360758419),
("afternoon<integer> (latent time-of-day)",
-2.6741486494265287),
("afternoonhh:mm (time-of-day)", -3.367295829986474),
("tonight<time-of-day> o'clock", -2.451005098112319)],
n = 25},
koData =
ClassData{prior = -0.7841189587656721,
unseen = -3.9318256327243257,
likelihoods =
HashMap.fromList
[("hourhour", -1.4271163556401458),
("afternoonrelative minutes after|past <integer> (hour-of-day)",
-1.5141277326297755),
("afternoon<time-of-day> o'clock", -2.120263536200091),
("hourminute", -1.5141277326297755),
("afternoon<integer> (latent time-of-day)",
-1.9661128563728327)],
n = 21}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = -infinity, unseen = -3.044522437723423,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -5.921578419643816,
likelihoods =
HashMap.fromList
[("week", -2.700018029404946),
("integer (0..10)month (grain)", -2.517696472610991),
("integer (0..10)hour (grain)", -3.0856805102169305),
("<number>\20010/\20491week (grain)", -3.520998581474776),
("second", -3.2798365246578878),
("integer (0..10)day (grain)", -3.0856805102169305),
("number suffix: \21313month (grain)", -4.309455941839047),
("integer (0..10)year (grain)", -3.6163087612791007),
("<number>\20010/\20491month (grain)", -3.146305132033365),
("integer (numeric)year (grain)", -3.2108436531709366),
("integer (0..10)second (grain)", -3.2798365246578878),
("day", -3.0856805102169305), ("year", -2.740840023925201),
("integer (0..10)minute (grain)", -3.0856805102169305),
("hour", -2.8743714165497236),
("integer (0..10)week (grain)", -3.2108436531709366),
("month", -1.7445065843775094),
("<number>\20010/\20491hour (grain)", -4.309455941839047),
("integer (numeric)month (grain)", -3.0856805102169305),
("minute", -3.0856805102169305)],
n = 176}}),
("<time-of-day> am|pm",
Classifier{okData =
ClassData{prior = -0.4700036292457356, unseen = -2.70805020110221,
likelihoods =
HashMap.fromList
[("hh:mm (time-of-day)", -1.252762968495368),
("<integer> (latent time-of-day)", -1.540445040947149),
("hour", -1.540445040947149), ("minute", -1.252762968495368)],
n = 5},
koData =
ClassData{prior = -0.9808292530117262,
unseen = -2.3978952727983707,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.916290731874155),
("hour", -0.916290731874155)],
n = 3}}),
("number suffix: \19975",
Classifier{okData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("relative minutes after|past <integer> (hour-of-day)",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -3.2188758248682006,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)integer with consecutive unit modifiers",
-0.7801585575495751),
("hour", -0.7801585575495751)],
n = 10},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -3.2188758248682006,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)number suffix: \21313",
-1.3862943611198906),
("<integer> (latent time-of-day)integer (0..10)",
-1.3862943611198906),
("hour", -0.7801585575495751)],
n = 10}}),
("intersect by \",\"",
Classifier{okData =
ClassData{prior = -0.40546510810816444,
unseen = -3.4965075614664802,
likelihoods =
HashMap.fromList
[("Sunday<named-month> <day-of-month>", -0.7576857016975165),
("dayday", -0.7576857016975165)],
n = 14},
koData =
ClassData{prior = -1.0986122886681098,
unseen = -2.9444389791664407,
likelihoods =
HashMap.fromList
[("daymonth", -0.8109302162163288),
("Sundaymonth (numeric with month symbol)",
-0.8109302162163288)],
n = 7}}),
("integer with consecutive unit modifiers",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.367295829986474,
likelihoods =
HashMap.fromList
[("number suffix: \21313integer (0..10)", -0.6931471805599453),
("integer (0..10)integer (0..10)", -0.6931471805599453)],
n = 26},
koData =
ClassData{prior = -infinity, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("second (grain)",
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}}),
("<duration> ago",
Classifier{okData =
ClassData{prior = -infinity, unseen = -2.1972245773362196,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = -3.891820298110627,
likelihoods =
HashMap.fromList
[("week", -2.2617630984737906), ("second", -2.772588722239781),
("day", -2.2617630984737906), ("year", -2.772588722239781),
("<integer> <unit-of-duration>", -0.8266785731844679),
("hour", -2.2617630984737906), ("month", -2.772588722239781),
("minute", -2.772588722239781)],
n = 20}}),
("\22307\35806\33410",
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 <time>",
Classifier{okData =
ClassData{prior = -1.2286654169163076,
unseen = -3.4657359027997265,
likelihoods =
HashMap.fromList
[("day", -0.8690378470236094), ("Sunday", -1.3545456628053103),
("Tuesday", -1.6422277352570913)],
n = 12},
koData =
ClassData{prior = -0.3462762367178338, unseen = -4.189654742026425,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.916290731874155),
("month (numeric with month symbol)", -2.5649493574615367),
("hour", -0.916290731874155), ("month", -2.5649493574615367)],
n = 29}}),
("the day after tomorrow",
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}}),
("\22919\22899\33410",
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}}),
("next <time>",
Classifier{okData =
ClassData{prior = -1.6486586255873816, unseen = -2.890371757896165,
likelihoods =
HashMap.fromList
[("day", -1.041453874828161), ("Tuesday", -1.041453874828161)],
n = 5},
koData =
ClassData{prior = -0.21357410029805904,
unseen = -3.912023005428146,
likelihoods =
HashMap.fromList
[("Wednesday", -2.1000608288825715),
("<integer> (latent time-of-day)", -1.1192315758708455),
("month (numeric with month symbol)", -3.1986731175506815),
("day", -2.1000608288825715), ("hour", -1.1192315758708455),
("month", -3.1986731175506815)],
n = 21}}),
("last <cycle>",
Classifier{okData =
ClassData{prior = -0.8472978603872037,
unseen = -3.2188758248682006,
likelihoods =
HashMap.fromList
[("week", -1.3862943611198906),
("month (grain)", -1.791759469228055),
("year (grain)", -2.4849066497880004),
("week (grain)", -1.3862943611198906),
("year", -2.4849066497880004), ("month", -1.791759469228055)],
n = 9},
koData =
ClassData{prior = -0.5596157879354228,
unseen = -3.4339872044851463,
likelihoods =
HashMap.fromList
[("week", -0.8362480242006186),
("week (grain)", -0.8362480242006186)],
n = 12}}),
("next n <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.61512051684126,
likelihoods =
HashMap.fromList
[("week", -2.4079456086518722),
("integer (0..10)hour (grain)", -2.659260036932778),
("<number>\20010/\20491week (grain)", -2.995732273553991),
("second", -2.8134107167600364),
("integer (0..10)day (grain)", -2.5257286443082556),
("integer (0..10)year (grain)", -3.2188758248682006),
("<number>\20010/\20491month (grain)", -2.8134107167600364),
("integer (0..10)second (grain)", -2.8134107167600364),
("day", -2.5257286443082556), ("year", -3.2188758248682006),
("integer (0..10)minute (grain)", -2.659260036932778),
("hour", -2.4079456086518722),
("integer (0..10)week (grain)", -2.995732273553991),
("month", -2.8134107167600364),
("<number>\20010/\20491hour (grain)", -3.506557897319982),
("minute", -2.659260036932778)],
n = 42},
koData =
ClassData{prior = -infinity, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [], n = 0}}),
("\19975\22307\33410",
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}}),
("\20799\31461\33410",
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}}),
("Tuesday",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.295836866004329,
likelihoods = HashMap.fromList [("", 0.0)], n = 25},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<named-month> <day-of-month>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.68213122712422,
likelihoods =
HashMap.fromList
[("month (numeric with month symbol)integer with consecutive unit modifiers",
-1.83961549040569),
("month (numeric with month symbol)integer (numeric)",
-1.9647786333596962),
("month (numeric with month symbol)number suffix: \21313",
-2.5933872927820705),
("month", -0.7215851158804788),
("month (numeric with month symbol)integer (0..10)",
-1.9647786333596962)],
n = 51},
koData =
ClassData{prior = -infinity, unseen = -1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("\21171\21160\33410",
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}}),
("integer (0..10)",
Classifier{okData =
ClassData{prior = -0.4072460524791592, unseen = -5.241747015059643,
likelihoods = HashMap.fromList [("", 0.0)], n = 187},
koData =
ClassData{prior = -1.095059887063742, unseen = -4.564348191467836,
likelihoods = HashMap.fromList [("", 0.0)], n = 94}}),
("last n <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.605170185988091,
likelihoods =
HashMap.fromList
[("week", -2.9856819377004897),
("integer (0..10)month (grain)", -3.4965075614664802),
("integer (0..10)hour (grain)", -2.3978952727983707),
("second", -2.649209701079277),
("integer (0..10)day (grain)", -2.9856819377004897),
("integer (0..10)year (grain)", -3.4965075614664802),
("<number>\20010/\20491month (grain)", -2.3978952727983707),
("integer (0..10)second (grain)", -2.649209701079277),
("day", -2.9856819377004897), ("year", -3.4965075614664802),
("integer (0..10)minute (grain)", -2.3978952727983707),
("hour", -2.3978952727983707),
("integer (0..10)week (grain)", -2.9856819377004897),
("month", -2.1972245773362196),
("minute", -2.3978952727983707)],
n = 42},
koData =
ClassData{prior = -infinity, unseen = -2.772588722239781,
likelihoods = HashMap.fromList [], n = 0}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = -0.6931471805599453,
unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList [("<number>\20010/\20491", -0.1823215567939546)],
n = 4},
koData =
ClassData{prior = -0.6931471805599453,
unseen = -1.9459101490553135,
likelihoods =
HashMap.fromList [("integer (0..10)", -0.1823215567939546)],
n = 4}}),
("n <cycle> last",
Classifier{okData =
ClassData{prior = 0.0, unseen = -4.04305126783455,
likelihoods =
HashMap.fromList
[("week", -2.4159137783010487),
("integer (0..10)hour (grain)", -2.9267394020670396),
("<number>\20010/\20491week (grain)", -2.9267394020670396),
("second", -2.9267394020670396),
("integer (0..10)day (grain)", -2.4159137783010487),
("integer (0..10)year (grain)", -2.9267394020670396),
("<number>\20010/\20491month (grain)", -2.9267394020670396),
("integer (0..10)second (grain)", -2.9267394020670396),
("day", -2.4159137783010487), ("year", -2.9267394020670396),
("integer (0..10)minute (grain)", -2.9267394020670396),
("hour", -2.4159137783010487),
("integer (0..10)week (grain)", -2.9267394020670396),
("month", -2.9267394020670396),
("<number>\20010/\20491hour (grain)", -2.9267394020670396),
("minute", -2.9267394020670396)],
n = 20},
koData =
ClassData{prior = -infinity, unseen = -2.833213344056216,
likelihoods = HashMap.fromList [], n = 0}}),
("morning",
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}}),
("week-end",
Classifier{okData =
ClassData{prior = 0.0, unseen = -1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("day (grain)",
Classifier{okData =
ClassData{prior = -6.453852113757118e-2,
unseen = -2.833213344056216,
likelihoods = HashMap.fromList [("", 0.0)], n = 15},
koData =
ClassData{prior = -2.772588722239781, unseen = -1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("<number>\20010/\20491",
Classifier{okData =
ClassData{prior = 0.0, unseen = -3.4339872044851463,
likelihoods = HashMap.fromList [("integer (0..10)", 0.0)], n = 29},
koData =
ClassData{prior = -infinity, unseen = -0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("\24773\20154\33410",
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}}),
("this <time>",
Classifier{okData =
ClassData{prior = -0.2076393647782445, unseen = -4.0943445622221,
likelihoods =
HashMap.fromList
[("Wednesday", -1.9980959022258835),
("Monday", -1.9980959022258835), ("day", -0.8586616190375187),
("hour", -2.9789251552376097), ("Tuesday", -1.6796421711073488),
("week-end", -2.9789251552376097)],
n = 26},
koData =
ClassData{prior = -1.6739764335716716, unseen = -2.995732273553991,
likelihoods =
HashMap.fromList
[("<integer> (latent time-of-day)", -0.9985288301111273),
("hour", -0.9985288301111273)],
n = 6}})]