mirror of
https://github.com/facebook/duckling.git
synced 2024-11-28 16:54:59 +03:00
290ca48e25
Summary: This is the easiest way to fix it, but talking offline with Julien, we may need to revisit. It basically gets rid of time series where we were producing intervals that are not a multiply of the grain. Reviewed By: patapizza Differential Revision: D4841759 fbshipit-source-id: 1c4742a
1279 lines
78 KiB
Haskell
1279 lines
78 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.PT (classifiers) where
|
|
import Prelude
|
|
import Duckling.Ranking.Types
|
|
import qualified Data.HashMap.Strict as HashMap
|
|
import Data.String
|
|
|
|
classifiers :: Classifiers
|
|
classifiers
|
|
= HashMap.fromList
|
|
[("<cycle> (que vem)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.5596157879354228, unseen = -2.70805020110221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.540445040947149),
|
|
("semana (grain)", -1.540445040947149),
|
|
("mes (grain)", -1.9459101490553135),
|
|
("year", -1.9459101490553135),
|
|
("ano (grain)", -1.9459101490553135),
|
|
("month", -1.9459101490553135)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -0.8472978603872037,
|
|
unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.791759469228055),
|
|
("semana (grain)", -1.791759469228055),
|
|
("mes (grain)", -1.791759469228055),
|
|
("year", -1.791759469228055),
|
|
("ano (grain)", -1.791759469228055),
|
|
("month", -1.791759469228055)],
|
|
n = 3}}),
|
|
("midnight",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<dim time> da tarde",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.24686007793152578, unseen = -4.0943445622221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<hour-of-day> and half", -2.468099531471619),
|
|
("time-of-day (latent)", -2.9789251552376097),
|
|
("<hour-of-day> and <relative minutes>", -2.1316272948504063),
|
|
("hour", -2.468099531471619),
|
|
("<hour-of-day> and quinze", -2.468099531471619),
|
|
("minute", -0.9864949905474035),
|
|
("\224s <time-of-day>", -1.7749523509116738)],
|
|
n = 25},
|
|
koData =
|
|
ClassData{prior = -1.5198257537444133,
|
|
unseen = -3.1780538303479458,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("year (latent)", -1.3437347467010947),
|
|
("time-of-day (latent)", -2.03688192726104),
|
|
("year", -1.3437347467010947), ("hour", -2.03688192726104)],
|
|
n = 7}}),
|
|
("de <year>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.3025850929940455,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 8},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<time> timezone",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.252762968495368),
|
|
("hour", -0.8472978603872037),
|
|
("\224s <time-of-day>", -1.252762968495368)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("integer (numeric)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6427163269330534, unseen = -4.143134726391533,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 61},
|
|
koData =
|
|
ClassData{prior = -0.7462570058738938, unseen = -4.04305126783455,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 55}}),
|
|
("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}}),
|
|
("hh(:|.|h)mm (time-of-day)",
|
|
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}}),
|
|
("<named-month|named-day> past",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day", -0.6931471805599453),
|
|
("named-day", -0.6931471805599453)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("proximo <cycle> ",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.5596157879354228, unseen = -2.70805020110221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.540445040947149),
|
|
("semana (grain)", -1.540445040947149),
|
|
("mes (grain)", -1.9459101490553135),
|
|
("year", -1.9459101490553135),
|
|
("ano (grain)", -1.9459101490553135),
|
|
("month", -1.9459101490553135)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -0.8472978603872037,
|
|
unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.791759469228055),
|
|
("semana (grain)", -1.791759469228055),
|
|
("mes (grain)", -1.791759469228055),
|
|
("year", -1.791759469228055),
|
|
("ano (grain)", -1.791759469228055),
|
|
("month", -1.791759469228055)],
|
|
n = 3}}),
|
|
("dd[/-]mm",
|
|
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}}),
|
|
("intersect by `da` or `de`",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6443570163905132, unseen = -4.31748811353631,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day of month (1st)named-month", -3.20545280453606),
|
|
("daymonth", -3.20545280453606),
|
|
("<day-of-month> de <named-month>two time tokens separated by \",\"2",
|
|
-3.6109179126442243),
|
|
("<day-of-month> de <named-month>intersect",
|
|
-3.6109179126442243),
|
|
("<day-of-month> de <named-month>two time tokens separated by \",\"",
|
|
-3.6109179126442243),
|
|
("dayday", -2.917770732084279),
|
|
("dayyear", -1.6650077635889111),
|
|
("named-dayproximo <cycle> ", -3.6109179126442243),
|
|
("dd-dd <month>(interval)year", -3.6109179126442243),
|
|
("named-day<cycle> (que vem)", -3.6109179126442243),
|
|
("two time tokens separated by \",\"2year", -3.20545280453606),
|
|
("intersectyear", -3.6109179126442243),
|
|
("<day-of-month> de <named-month>year", -2.2246235515243336),
|
|
("two time tokens separated by \",\"year", -3.20545280453606),
|
|
("dayweek", -2.917770732084279),
|
|
("named-day<cycle> passado", -3.6109179126442243)],
|
|
n = 21},
|
|
koData =
|
|
ClassData{prior = -0.7444404749474959,
|
|
unseen = -4.2626798770413155,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<hour-of-day> <integer> (as relative minutes)intersect",
|
|
-3.5553480614894135),
|
|
("monthday", -2.8622008809294686),
|
|
("monthyear", -2.05127066471314),
|
|
("hourmonth", -3.1498829533812494),
|
|
("monthmonth", -3.5553480614894135),
|
|
("dayyear", -3.5553480614894135),
|
|
("minutemonth", -2.8622008809294686),
|
|
("named-monthyear", -2.05127066471314),
|
|
("de <datetime> - <datetime> (interval)named-month",
|
|
-3.5553480614894135),
|
|
("\224s <time-of-day>named-month", -3.1498829533812494),
|
|
("<hour-of-day> <integer> (as relative minutes)named-month",
|
|
-3.5553480614894135),
|
|
("<day-of-month> de <named-month>year", -3.5553480614894135),
|
|
("intersect by `da` or `de`year", -3.5553480614894135),
|
|
("named-monthtwo time tokens separated by \",\"2",
|
|
-3.5553480614894135),
|
|
("named-monthintersect", -3.5553480614894135),
|
|
("<hour-of-day> <integer> (as relative minutes)intersect by `da` or `de`",
|
|
-3.5553480614894135),
|
|
("minuteyear", -3.5553480614894135),
|
|
("named-monthtwo time tokens separated by \",\"",
|
|
-3.5553480614894135)],
|
|
n = 19}}),
|
|
("<hour-of-day> and half",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.1354942159291497,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.4816045409242156),
|
|
("noon", -2.3978952727983707), ("hour", -0.7884573603642702),
|
|
("\224s <time-of-day>", -1.4816045409242156)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("semana (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}}),
|
|
("two time tokens separated by \",\"",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.1670540846631662,
|
|
unseen = -3.4965075614664802,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("intersectnamed-day", -2.772588722239781),
|
|
("intersect by `da` or `de`named-day", -2.772588722239781),
|
|
("dayday", -1.1631508098056809),
|
|
("de <year>named-day", -2.772588722239781),
|
|
("named-dayintersect", -2.367123614131617),
|
|
("named-dayintersect by `da` or `de`", -2.367123614131617),
|
|
("yearnamed-day", -2.772588722239781),
|
|
("named-day<day-of-month> de <named-month>",
|
|
-2.0794415416798357),
|
|
("yearday", -2.367123614131617)],
|
|
n = 11},
|
|
koData =
|
|
ClassData{prior = -1.8718021769015913, unseen = -2.70805020110221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("monthday", -1.540445040947149),
|
|
("intersectnamed-day", -1.9459101490553135),
|
|
("intersect by `da` or `de`named-day", -1.9459101490553135)],
|
|
n = 2}}),
|
|
("ordinals (primeiro..10)",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -3.4657359027997265,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 30}}),
|
|
("<day-of-month> de <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = -7.410797215372185e-2,
|
|
unseen = -4.02535169073515,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("number (0..15)named-month", -1.927891643552635),
|
|
("integer (numeric)named-month", -1.0116009116784799),
|
|
("month", -0.7114963192281418)],
|
|
n = 26},
|
|
koData =
|
|
ClassData{prior = -2.639057329615259, unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)named-month", -0.8472978603872037),
|
|
("month", -0.8472978603872037)],
|
|
n = 2}}),
|
|
("<time-of-day> <part-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.33270575382573614,
|
|
unseen = -4.584967478670572,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<hour-of-day> and quinzeafternoon", -2.9652730660692823),
|
|
("<day-of-month> de <named-month>morning", -3.8815637979434374),
|
|
("dayhour", -3.4760986898352733),
|
|
("\224s <time-of-day>morning", -3.188416617383492),
|
|
("hourhour", -1.8021222562636017),
|
|
("<hour-of-day> and halfafternoon", -2.9652730660692823),
|
|
("minutehour", -1.483668525145067),
|
|
("time-of-day (latent)morning", -3.188416617383492),
|
|
("time-of-day (latent)evening", -3.4760986898352733),
|
|
("\224s <time-of-day>afternoon", -2.2721258855093374),
|
|
("dia <day-of-month> de <named-month>morning",
|
|
-3.8815637979434374),
|
|
("time-of-day (latent)afternoon", -3.4760986898352733),
|
|
("<hour-of-day> and <relative minutes>afternoon",
|
|
-2.62880082944807),
|
|
("intersectmorning", -3.8815637979434374),
|
|
("\224s <time-of-day>evening", -3.4760986898352733)],
|
|
n = 38},
|
|
koData =
|
|
ClassData{prior = -1.262241712449912, unseen = -3.951243718581427,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("yearhour", -1.4469189829363254),
|
|
("monthhour", -3.2386784521643803),
|
|
("hourhour", -2.5455312716044354),
|
|
("time-of-day (latent)morning", -3.2386784521643803),
|
|
("year (latent)afternoon", -2.1400661634962708),
|
|
("named-monthmorning", -3.2386784521643803),
|
|
("year (latent)evening", -2.833213344056216),
|
|
("time-of-day (latent)afternoon", -2.833213344056216),
|
|
("year (latent)morning", -2.322387720290225)],
|
|
n = 15}}),
|
|
("de <datetime> - <datetime> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("monthday", -1.791759469228055),
|
|
("monthyear", -1.791759469228055),
|
|
("monthhour", -1.791759469228055),
|
|
("named-monthyear (latent)", -1.791759469228055),
|
|
("named-monthtime-of-day (latent)", -1.791759469228055),
|
|
("named-month<day-of-month> de <named-month>",
|
|
-1.791759469228055)],
|
|
n = 3}}),
|
|
("<time-of-day> horas",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.7731898882334817,
|
|
unseen = -2.9444389791664407,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.5040773967762742),
|
|
("hour", -0.9444616088408514),
|
|
("depois das <time-of-day>", -1.791759469228055),
|
|
("\224s <time-of-day>", -2.1972245773362196)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -0.6190392084062235, unseen = -3.044522437723423,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.2039728043259361),
|
|
("<hour-of-day> and <relative minutes>", -2.3025850929940455),
|
|
("hour", -1.0498221244986778), ("minute", -2.3025850929940455),
|
|
("\224s <time-of-day>", -2.3025850929940455)],
|
|
n = 7}}),
|
|
("intersect",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -5.062595033026967,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<day-of-month> de <named-month>in the <part-of-day>",
|
|
-3.9576335166801986),
|
|
("dayhour", -2.4171884757330493),
|
|
("<day-of-month> de <named-month>two time tokens separated by \",\"2",
|
|
-4.363098624788362),
|
|
("nowquinze para as <hour-of-day> (as relative minutes)",
|
|
-4.363098624788362),
|
|
("intersectnamed-day", -4.363098624788362),
|
|
("now\224s <time-of-day>", -3.9576335166801986),
|
|
("<day-of-month> de <named-month>intersect",
|
|
-4.363098624788362),
|
|
("now<hour-of-day> and 3/4", -4.363098624788362),
|
|
("intersect by `da` or `de`named-day", -4.363098624788362),
|
|
("<day-of-month> de <named-month>two time tokens separated by \",\"",
|
|
-4.363098624788362),
|
|
("dayday", -2.8590212280120886),
|
|
("hourhour", -4.363098624788362),
|
|
("named-day\224s <time-of-day>", -4.363098624788362),
|
|
("dayyear", -2.348195604246098),
|
|
("minutehour", -3.1103356562929947),
|
|
("<hour-of-day> and quinzein the <part-of-day>",
|
|
-3.9576335166801986),
|
|
("de <year>named-day", -4.363098624788362),
|
|
("now<hour-of-day> and <relative minutes>", -4.363098624788362),
|
|
("named-dayin the <part-of-day>", -4.363098624788362),
|
|
("tomorrow<time-of-day> horas", -3.9576335166801986),
|
|
("now<integer> para as <hour-of-day> (as relative minutes)",
|
|
-4.363098624788362),
|
|
("\224s <time-of-day>in the <part-of-day>",
|
|
-3.6699514442284173),
|
|
("named-dayintersect", -4.363098624788362),
|
|
("named-dayamanh\227 pela <part-of-day>", -4.363098624788362),
|
|
("dayminute", -3.1103356562929947),
|
|
("named-dayintersect by `da` or `de`", -4.363098624788362),
|
|
("yearnamed-day", -4.363098624788362),
|
|
("dd-dd <month>(interval)de <year>", -4.363098624788362),
|
|
("named-day<day-of-month> de <named-month>",
|
|
-4.363098624788362),
|
|
("named-day<time-of-day> <part-of-day>", -4.363098624788362),
|
|
("dia <day-of-month> de <named-month>in the <part-of-day>",
|
|
-3.9576335166801986),
|
|
("yearday", -3.9576335166801986),
|
|
("named-day<dim time> da manha", -4.363098624788362),
|
|
("two time tokens separated by \",\"de <year>",
|
|
-3.9576335166801986),
|
|
("dd[/-]mmyear", -4.363098624788362),
|
|
("<day-of-month> de <named-month>de <year>",
|
|
-2.976804263668472),
|
|
("tomorrowdepois das <time-of-day>", -3.9576335166801986),
|
|
("<hour-of-day> and <relative minutes>in the <part-of-day>",
|
|
-3.9576335166801986),
|
|
("two time tokens separated by \",\"2de <year>",
|
|
-3.9576335166801986),
|
|
("intersectde <year>", -4.363098624788362)],
|
|
n = 50},
|
|
koData =
|
|
ClassData{prior = -1.0986122886681098, unseen = -4.68213122712422,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hourday", -3.979681653901961),
|
|
("dayhour", -3.5742165457937967),
|
|
("monthday", -2.8810693652338513),
|
|
("named-month\224s <time-of-day>", -3.979681653901961),
|
|
("monthyear", -2.4756042571256867),
|
|
("intersectnamed-day", -3.979681653901961),
|
|
("now\224s <time-of-day>", -3.5742165457937967),
|
|
("<time-of-day> am|pm<day-of-month> de <named-month>",
|
|
-3.979681653901961),
|
|
("intersect by `da` or `de`named-day", -3.979681653901961),
|
|
("monthhour", -3.2865344733420154),
|
|
("dayyear", -3.979681653901961),
|
|
("now<hour-of-day> and <relative minutes>", -3.979681653901961),
|
|
("daysecond", -3.979681653901961),
|
|
("named-dayright now", -3.979681653901961),
|
|
("dayminute", -3.5742165457937967),
|
|
("named-monthde <year>", -2.4756042571256867),
|
|
("named-monthin the <part-of-day>", -3.5742165457937967),
|
|
("named-monthtwo time tokens separated by \",\"2",
|
|
-3.979681653901961),
|
|
("intersect by `da` or `de`de <year>", -3.979681653901961),
|
|
("named-monthintersect", -3.979681653901961),
|
|
("<day-of-month> de <named-month>\224s <time-of-day>",
|
|
-3.979681653901961),
|
|
("<hour-of-day> <integer> (as relative minutes)year",
|
|
-3.979681653901961),
|
|
("<day-of-month> de <named-month>de <year>",
|
|
-3.979681653901961),
|
|
("minuteyear", -3.5742165457937967),
|
|
("named-monthtwo time tokens separated by \",\"",
|
|
-3.979681653901961)],
|
|
n = 25}}),
|
|
("season",
|
|
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}}),
|
|
("minutos (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 7},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("two time tokens separated by \",\"2",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.1670540846631662,
|
|
unseen = -3.4965075614664802,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("intersectnamed-day", -2.772588722239781),
|
|
("intersect by `da` or `de`named-day", -2.772588722239781),
|
|
("dayday", -1.1631508098056809),
|
|
("de <year>named-day", -2.772588722239781),
|
|
("named-dayintersect", -2.367123614131617),
|
|
("named-dayintersect by `da` or `de`", -2.367123614131617),
|
|
("yearnamed-day", -2.772588722239781),
|
|
("named-day<day-of-month> de <named-month>",
|
|
-2.0794415416798357),
|
|
("yearday", -2.367123614131617)],
|
|
n = 11},
|
|
koData =
|
|
ClassData{prior = -1.8718021769015913, unseen = -2.70805020110221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("monthday", -1.540445040947149),
|
|
("intersectnamed-day", -1.9459101490553135),
|
|
("intersect by `da` or `de`named-day", -1.9459101490553135)],
|
|
n = 2}}),
|
|
("year (latent)",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -2.772588722239781,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -1.3217558399823195),
|
|
("number (0..15)", -0.5108256237659907),
|
|
("number (20..90)", -2.0149030205422647)],
|
|
n = 12}}),
|
|
("n[ao] <date>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("dia <day-of-month> (non ordinal)", -1.252762968495368),
|
|
("day", -0.8472978603872037),
|
|
("named-day", -1.252762968495368)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("yesterday",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
|
koData =
|
|
ClassData{prior = -1.0986122886681098,
|
|
unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
|
("amanh\227 pela <part-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.3184537311185346,
|
|
unseen = -4.6443908991413725,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<hour-of-day> and quinzeafternoon", -3.0252910757955354),
|
|
("<day-of-month> de <named-month>morning", -3.9415818076696905),
|
|
("dayhour", -3.0252910757955354),
|
|
("\224s <time-of-day>morning", -3.248434627109745),
|
|
("hourhour", -1.8621402659898547),
|
|
("<hour-of-day> and halfafternoon", -3.0252910757955354),
|
|
("minutehour", -1.54368653487132),
|
|
("tomorrowevening", -3.9415818076696905),
|
|
("time-of-day (latent)morning", -3.248434627109745),
|
|
("time-of-day (latent)evening", -3.536116699561526),
|
|
("\224s <time-of-day>afternoon", -2.33214389523559),
|
|
("dia <day-of-month> de <named-month>morning",
|
|
-3.9415818076696905),
|
|
("yesterdayevening", -3.9415818076696905),
|
|
("time-of-day (latent)afternoon", -3.536116699561526),
|
|
("<hour-of-day> and <relative minutes>afternoon",
|
|
-2.6888188391743224),
|
|
("intersectmorning", -3.9415818076696905),
|
|
("\224s <time-of-day>evening", -3.536116699561526)],
|
|
n = 40},
|
|
koData =
|
|
ClassData{prior = -1.2992829841302609,
|
|
unseen = -3.9889840465642745,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("yearhour", -1.4853852637641216),
|
|
("monthhour", -3.2771447329921766),
|
|
("hourhour", -2.583997552432231),
|
|
("time-of-day (latent)morning", -3.2771447329921766),
|
|
("year (latent)afternoon", -2.178532444324067),
|
|
("named-monthmorning", -3.2771447329921766),
|
|
("year (latent)evening", -2.871679624884012),
|
|
("time-of-day (latent)afternoon", -2.871679624884012),
|
|
("year (latent)morning", -2.3608540011180215)],
|
|
n = 15}}),
|
|
("dentro de <duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = -2.772588722239781, unseen = -2.3978952727983707,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<integer> <unit-of-duration>", -1.6094379124341003),
|
|
("hour", -1.6094379124341003)],
|
|
n = 1},
|
|
koData =
|
|
ClassData{prior = -6.453852113757118e-2,
|
|
unseen = -3.6635616461296463,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.9444389791664407), ("second", -2.9444389791664407),
|
|
("day", -2.538973871058276), ("year", -2.538973871058276),
|
|
("<integer> <unit-of-duration>", -0.8649974374866046),
|
|
("hour", -2.2512917986064953), ("month", -2.9444389791664407),
|
|
("minute", -1.845826690498331)],
|
|
n = 15}}),
|
|
("dia <day-of-month> (non ordinal)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("named-month",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.4339872044851463,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 29},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("now",
|
|
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}}),
|
|
("dia <day-of-month> de <named-month>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)named-month", -0.6931471805599453),
|
|
("month", -0.6931471805599453)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("this <part-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("hour", -0.6931471805599453),
|
|
("evening", -0.6931471805599453)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("number (0..15)",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.9048194970694474e-2,
|
|
unseen = -3.9889840465642745,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 52},
|
|
koData =
|
|
ClassData{prior = -3.970291913552122, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
|
("antes das <time-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("midnight", -1.2992829841302609),
|
|
("noon", -1.2992829841302609), ("hour", -0.7884573603642702)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
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}}),
|
|
("dd-dd <month>(interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("named-month", -0.6931471805599453),
|
|
("month", -0.6931471805599453)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<cycle> passado",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.70805020110221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.540445040947149),
|
|
("semana (grain)", -1.540445040947149),
|
|
("mes (grain)", -1.9459101490553135),
|
|
("year", -1.9459101490553135),
|
|
("ano (grain)", -1.9459101490553135),
|
|
("month", -1.9459101490553135)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("tomorrow",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.3364722366212129,
|
|
unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
|
koData =
|
|
ClassData{prior = -1.252762968495368, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
|
|
("mes (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> para as <hour-of-day> (as relative minutes)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)noon", -1.7047480922384253),
|
|
("hour", -0.7884573603642702),
|
|
("number (0..15)noon", -1.0116009116784799)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("number (20..90)",
|
|
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}}),
|
|
("<dim time> da manha",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.2006706954621511, unseen = -3.332204510175204,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<day-of-month> de <named-month>", -2.6026896854443837),
|
|
("intersect", -2.6026896854443837),
|
|
("dia <day-of-month> de <named-month>", -2.6026896854443837),
|
|
("day", -2.1972245773362196),
|
|
("time-of-day (latent)", -1.9095425048844386),
|
|
("hour", -1.2163953243244932),
|
|
("\224s <time-of-day>", -1.9095425048844386)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -1.7047480922384253, unseen = -2.639057329615259,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("named-month", -1.8718021769015913),
|
|
("time-of-day (latent)", -1.8718021769015913),
|
|
("hour", -1.8718021769015913), ("month", -1.8718021769015913)],
|
|
n = 2}}),
|
|
("em <duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.6635616461296463,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.9444389791664407), ("second", -2.9444389791664407),
|
|
("day", -2.538973871058276), ("year", -2.538973871058276),
|
|
("<integer> <unit-of-duration>", -0.8649974374866046),
|
|
("hour", -2.2512917986064953), ("month", -2.9444389791664407),
|
|
("minute", -1.845826690498331)],
|
|
n = 15},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.1972245773362196,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("passados n <cycle>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)dia (grain)", -1.791759469228055),
|
|
("integer (numeric)mes (grain)", -1.791759469228055),
|
|
("integer (numeric)ano (grain)", -1.791759469228055),
|
|
("day", -1.791759469228055), ("year", -1.791759469228055),
|
|
("month", -1.791759469228055)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("afternoon",
|
|
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}}),
|
|
("<hour-of-day> and 3/4",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.4849066497880004,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.2992829841302609),
|
|
("hour", -0.7884573603642702),
|
|
("\224s <time-of-day>", -1.2992829841302609)],
|
|
n = 4},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("time-of-day (latent)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.43286408229627876,
|
|
unseen = -3.332204510175204,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -1.0986122886681098),
|
|
("number (0..15)", -0.46262352194811296)],
|
|
n = 24},
|
|
koData =
|
|
ClassData{prior = -1.0459685551826876, unseen = -2.833213344056216,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("integer (numeric)", -0.8266785731844679),
|
|
("number (0..15)", -0.8266785731844679),
|
|
("number (20..90)", -2.0794415416798357)],
|
|
n = 13}}),
|
|
("<hour-of-day> and <relative minutes>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.2719337154836418, unseen = -3.713572066704308,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("\224s <time-of-day>number (0..15)", -2.3025850929940455),
|
|
("time-of-day (latent)number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)",
|
|
-2.5902671654458267),
|
|
("\224s <time-of-day>number (20..90)", -2.5902671654458267),
|
|
("\224s <time-of-day>number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)",
|
|
-2.5902671654458267),
|
|
("time-of-day (latent)number (0..15)", -2.0794415416798357),
|
|
("hour", -0.8556661100577202),
|
|
("time-of-day (latent)number (20..90)", -2.5902671654458267),
|
|
("noonnumber (0..15)", -2.995732273553991)],
|
|
n = 16},
|
|
koData =
|
|
ClassData{prior = -1.4350845252893227,
|
|
unseen = -2.9444389791664407,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("\224s <time-of-day>number (20..90)", -1.791759469228055),
|
|
("time-of-day (latent)number (0..15)", -2.1972245773362196),
|
|
("hour", -1.0986122886681098),
|
|
("time-of-day (latent)number (20..90)", -1.791759469228055)],
|
|
n = 5}}),
|
|
("year",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.5108256237659907,
|
|
unseen = -2.3978952727983707,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -0.916290731874155, unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
|
|
n = 6}}),
|
|
("<integer> <unit-of-duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.6443570163905132, unseen = -4.174387269895637,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.772588722239781),
|
|
("number (0..15)ano (grain)", -3.0602707946915624),
|
|
("integer (numeric)hora (grain)", -3.4657359027997265),
|
|
("integer (numeric)dia (grain)", -3.4657359027997265),
|
|
("number (0..15)segundo (grain)", -3.4657359027997265),
|
|
("second", -3.4657359027997265),
|
|
("integer (numeric)ano (grain)", -3.4657359027997265),
|
|
("integer (numeric)minutos (grain)", -2.772588722239781),
|
|
("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)hora (grain)",
|
|
-3.4657359027997265),
|
|
("day", -3.0602707946915624), ("year", -2.772588722239781),
|
|
("number (0..15)mes (grain)", -3.0602707946915624),
|
|
("number (0..15)hora (grain)", -2.772588722239781),
|
|
("hour", -2.367123614131617), ("month", -3.0602707946915624),
|
|
("number (0..15)dia (grain)", -3.4657359027997265),
|
|
("number (0..15)minutos (grain)", -3.0602707946915624),
|
|
("minute", -2.367123614131617),
|
|
("number (0..15)semana (grain)", -2.772588722239781)],
|
|
n = 21},
|
|
koData =
|
|
ClassData{prior = -0.7444404749474959, unseen = -4.110873864173311,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -2.995732273553991),
|
|
("number (0..15)ano (grain)", -3.4011973816621555),
|
|
("integer (numeric)hora (grain)", -2.70805020110221),
|
|
("integer (numeric)dia (grain)", -2.995732273553991),
|
|
("integer (numeric)mes (grain)", -3.4011973816621555),
|
|
("second", -2.995732273553991),
|
|
("integer (numeric)semana (grain)", -3.4011973816621555),
|
|
("integer (numeric)ano (grain)", -2.995732273553991),
|
|
("integer (numeric)minutos (grain)", -2.995732273553991),
|
|
("day", -2.995732273553991),
|
|
("integer (numeric)segundo (grain)", -2.995732273553991),
|
|
("year", -2.70805020110221),
|
|
("number (0..15)mes (grain)", -2.995732273553991),
|
|
("number (0..15)hora (grain)", -2.995732273553991),
|
|
("hour", -2.3025850929940455), ("month", -2.70805020110221),
|
|
("minute", -2.995732273553991),
|
|
("number (0..15)semana (grain)", -3.4011973816621555)],
|
|
n = 19}}),
|
|
("proximas n <cycle>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.2188758248682006,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("number (0..15)ano (grain)", -2.4849066497880004),
|
|
("integer (numeric)hora (grain)", -2.4849066497880004),
|
|
("integer (numeric)dia (grain)", -2.4849066497880004),
|
|
("second", -2.4849066497880004),
|
|
("integer (numeric)minutos (grain)", -2.4849066497880004),
|
|
("day", -2.4849066497880004),
|
|
("integer (numeric)segundo (grain)", -2.4849066497880004),
|
|
("year", -2.4849066497880004),
|
|
("number (0..15)mes (grain)", -2.4849066497880004),
|
|
("hour", -2.4849066497880004), ("month", -2.4849066497880004),
|
|
("minute", -2.4849066497880004)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.5649493574615367,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<time-of-day> am|pm",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -2.0794415416798357,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.252762968495368),
|
|
("hour", -0.8472978603872037),
|
|
("\224s <time-of-day>", -1.252762968495368)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -1.0986122886681098, unseen = -1.791759469228055,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -0.916290731874155),
|
|
("hour", -0.916290731874155)],
|
|
n = 1}}),
|
|
("n proximas <cycle>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.791759469228055),
|
|
("integer (numeric)mes (grain)", -1.791759469228055),
|
|
("integer (numeric)semana (grain)", -1.791759469228055),
|
|
("integer (numeric)ano (grain)", -1.791759469228055),
|
|
("year", -1.791759469228055), ("month", -1.791759469228055)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("vespera de ano novo",
|
|
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}}),
|
|
("named-day",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -4.189654742026425,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 64},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("number (21..29 31..39 41..49 51..59 61..69 71..79 81..89 91..99)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -1.6094379124341003,
|
|
likelihoods =
|
|
HashMap.fromList [("number (20..90)number (0..15)", 0.0)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -0.6931471805599453,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("day of month (1st)",
|
|
Classifier{okData =
|
|
ClassData{prior = -1.0986122886681098,
|
|
unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
|
|
koData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 4}}),
|
|
("ano (grain)",
|
|
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}}),
|
|
("este <cycle>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.916290731874155, unseen = -2.3978952727983707,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.6094379124341003),
|
|
("semana (grain)", -1.6094379124341003),
|
|
("year", -1.6094379124341003),
|
|
("ano (grain)", -1.6094379124341003)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -0.5108256237659907,
|
|
unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day", -1.0986122886681098),
|
|
("dia (grain)", -1.0986122886681098)],
|
|
n = 3}}),
|
|
("<named-month|named-day> next",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day", -0.6931471805599453),
|
|
("named-day", -0.6931471805599453)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<part-of-day> dessa semana",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day", -0.6931471805599453),
|
|
("named-day", -0.6931471805599453)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("the day after tomorrow",
|
|
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}}),
|
|
("ano novo",
|
|
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}}),
|
|
("dd[/-.]mm[/-.]yyyy",
|
|
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}}),
|
|
("noon",
|
|
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}}),
|
|
("n <cycle> (proximo|que vem)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.791759469228055),
|
|
("integer (numeric)semana (grain)", -1.791759469228055),
|
|
("integer (numeric)ano (grain)", -1.791759469228055),
|
|
("year", -1.791759469228055),
|
|
("number (0..15)mes (grain)", -1.791759469228055),
|
|
("month", -1.791759469228055)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("evening",
|
|
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}}),
|
|
("<hour-of-day> and quinze",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.044522437723423,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)", -1.3862943611198906),
|
|
("noon", -2.3025850929940455), ("hour", -0.7985076962177716),
|
|
("\224s <time-of-day>", -1.6094379124341003)],
|
|
n = 8},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("depois das <time-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.833213344056216,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<time-of-day> horas", -1.6739764335716716),
|
|
("time-of-day (latent)", -1.6739764335716716),
|
|
("noon", -1.6739764335716716), ("hour", -0.8266785731844679)],
|
|
n = 6},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("<datetime> - <datetime> (interval)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.916290731874155, unseen = -2.70805020110221,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("minuteminute", -1.9459101490553135),
|
|
("dayday", -1.9459101490553135),
|
|
("hh(:|.|h)mm (time-of-day)hh(:|.|h)mm (time-of-day)",
|
|
-1.9459101490553135),
|
|
("<day-of-month> de <named-month><day-of-month> de <named-month>",
|
|
-1.9459101490553135)],
|
|
n = 2},
|
|
koData =
|
|
ClassData{prior = -0.5108256237659907, unseen = -2.833213344056216,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("monthday", -2.0794415416798357),
|
|
("dayyear", -2.0794415416798357),
|
|
("named-month<day-of-month> de <named-month>",
|
|
-2.0794415416798357),
|
|
("dd[/-]mmyear", -2.0794415416798357),
|
|
("<hour-of-day> <integer> (as relative minutes)year",
|
|
-2.0794415416798357),
|
|
("minuteyear", -2.0794415416798357)],
|
|
n = 3}}),
|
|
("segundo (grain)",
|
|
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}}),
|
|
("dia (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.5596157879354228, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 4},
|
|
koData =
|
|
ClassData{prior = -0.8472978603872037,
|
|
unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
|
("in the <part-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.639057329615259,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("afternoon", -1.8718021769015913),
|
|
("hour", -0.7731898882334817),
|
|
("morning", -0.9555114450274363)],
|
|
n = 5},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.3862943611198906,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("this|next <day-of-week>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.044522437723423,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("day", -0.6931471805599453),
|
|
("named-day", -0.6931471805599453)],
|
|
n = 9},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("natal",
|
|
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}}),
|
|
("morning",
|
|
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}}),
|
|
("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}}),
|
|
("hora (grain)",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.40546510810816444,
|
|
unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 6},
|
|
koData =
|
|
ClassData{prior = -1.0986122886681098,
|
|
unseen = -1.6094379124341003,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 3}}),
|
|
("right now",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.1823215567939546,
|
|
unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 5},
|
|
koData =
|
|
ClassData{prior = -1.791759469228055, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
|
|
("quinze para as <hour-of-day> (as relative minutes)",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.1972245773362196,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("noon", -0.6931471805599453), ("hour", -0.6931471805599453)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("\224s <time-of-day>",
|
|
Classifier{okData =
|
|
ClassData{prior = -0.16507975035944858,
|
|
unseen = -4.499809670330265,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("<time> timezone", -3.7954891891721947),
|
|
("<hour-of-day> and half", -2.8791984572980396),
|
|
("<time-of-day> horas", -3.7954891891721947),
|
|
("<hour-of-day> and 3/4", -3.39002408106403),
|
|
("time-of-day (latent)", -1.4441139320087168),
|
|
("<hour-of-day> and <relative minutes>", -2.409194828052304),
|
|
("<time-of-day> am|pm", -3.7954891891721947),
|
|
("hour", -1.3105825393841943),
|
|
("<hour-of-day> and quinze", -3.1023420086122493),
|
|
("minute", -1.6554230256759237)],
|
|
n = 39},
|
|
koData =
|
|
ClassData{prior = -1.8827312474337816, unseen = -3.258096538021482,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("midnight", -2.5257286443082556),
|
|
("<time-of-day> horas", -2.5257286443082556),
|
|
("time-of-day (latent)", -1.8325814637483102),
|
|
("<hour-of-day> and <relative minutes>", -2.120263536200091),
|
|
("hour", -1.4271163556401458), ("minute", -2.120263536200091)],
|
|
n = 7}}),
|
|
("<hour-of-day> <integer> (as relative minutes)",
|
|
Classifier{okData =
|
|
ClassData{prior = -infinity, unseen = -1.0986122886681098,
|
|
likelihoods = HashMap.fromList [], n = 0},
|
|
koData =
|
|
ClassData{prior = 0.0, unseen = -1.9459101490553135,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("time-of-day (latent)integer (numeric)", -0.6931471805599453),
|
|
("hour", -0.6931471805599453)],
|
|
n = 2}}),
|
|
("fazem <duration>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.772588722239781,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.6094379124341003), ("year", -2.0149030205422647),
|
|
("<integer> <unit-of-duration>", -0.916290731874155),
|
|
("hour", -2.0149030205422647), ("month", -2.0149030205422647)],
|
|
n = 5},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.791759469228055,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("n <cycle> atras",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -2.5649493574615367,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("week", -1.791759469228055), ("second", -1.791759469228055),
|
|
("integer (numeric)minutos (grain)", -1.791759469228055),
|
|
("integer (numeric)segundo (grain)", -1.791759469228055),
|
|
("minute", -1.791759469228055),
|
|
("number (0..15)semana (grain)", -1.791759469228055)],
|
|
n = 3},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -1.9459101490553135,
|
|
likelihoods = HashMap.fromList [], n = 0}}),
|
|
("this <time>",
|
|
Classifier{okData =
|
|
ClassData{prior = 0.0, unseen = -3.5263605246161616,
|
|
likelihoods =
|
|
HashMap.fromList
|
|
[("season", -2.1102132003465894),
|
|
("dia <day-of-month> (non ordinal)", -2.1102132003465894),
|
|
("day", -1.1939224684724346),
|
|
("named-day", -2.1102132003465894),
|
|
("hour", -1.8870696490323797), ("evening", -2.3978952727983707),
|
|
("week-end", -2.3978952727983707)],
|
|
n = 13},
|
|
koData =
|
|
ClassData{prior = -infinity, unseen = -2.0794415416798357,
|
|
likelihoods = HashMap.fromList [], n = 0}})] |