module Duckling.Ranking.Classifiers.DA (classifiers) where
import Prelude
import Duckling.Ranking.Types
import qualified Data.HashMap.Strict as HashMap
import Data.String
classifiers :: Classifiers
classifiers
= HashMap.fromList
[("<time> timezone",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.044522437723423,
likelihoods =
HashMap.fromList
[("at <time-of-day>", 1.2039728043259361),
("hh:mm", 1.6094379124341003), ("hour", 1.6094379124341003),
("minute", 1.2039728043259361)],
n = 8},
koData =
ClassData{prior = infinity, unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("integer (numeric)",
Classifier{okData =
ClassData{prior = 0.778087857209029, unseen = 4.962844630259907,
likelihoods = HashMap.fromList [("", 0.0)], n = 141},
koData =
ClassData{prior = 0.6148599592306538, unseen = 5.123963979403259,
likelihoods = HashMap.fromList [("", 0.0)], n = 166}}),
("the day before yesterday",
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}}),
("lunch",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<time> <part-of-day>",
Classifier{okData =
ClassData{prior = 0.5596157879354228, unseen = 2.772588722239781,
likelihoods =
HashMap.fromList
[("dayhour", 1.0986122886681098),
("tomorrowevening", 2.0149030205422647),
("named-daymorning", 2.0149030205422647),
("tomorrowlunch", 2.0149030205422647),
("yesterdayevening", 2.0149030205422647)],
n = 4},
koData =
ClassData{prior = 0.8472978603872037, unseen = 2.639057329615259,
likelihoods =
HashMap.fromList
[("yearhour", 1.1786549963416462),
("year (latent)in|during the <part-of-day>",
1.1786549963416462)],
n = 3}}),
("dd/mm",
Classifier{okData =
ClassData{prior = 0.2231435513142097,
unseen = 2.3025850929940455,
likelihoods = HashMap.fromList [("", 0.0)], n = 8},
koData =
ClassData{prior = 1.6094379124341003,
unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("today",
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}}),
("at <time-of-day>",
Classifier{okData =
ClassData{prior = 0.25593337413720063,
unseen = 4.6443908991413725,
likelihoods =
HashMap.fromList
[("<time> timezone", 3.536116699561526),
("time-of-day (latent)", 1.2007417837444896),
("relative minutes after|past <integer> (hour-of-day)",
3.536116699561526),
("hh:mm", 2.069779630768099),
("<time-of-day> sharp", 3.536116699561526),
("hour", 1.1382214267631554), ("minute", 1.8015156441734197)],
n = 48},
koData =
ClassData{prior = 1.488077055429833, unseen = 3.58351893845611,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", 0.8472978603872037),
("hour", 0.8472978603872037)],
n = 14}}),
("absorption of , after named day",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.9444389791664407,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("named-day", 0.6931471805599453)],
n = 8},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("tonight",
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}}),
("on <date>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.7376696182833684,
likelihoods =
HashMap.fromList
[("the <day-of-month> (non ordinal)", 2.6149597780361984),
("<day-of-month>(ordinal) <named-month>", 1.7676619176489945),
("day", 0.7691330875378672),
("the <day-of-month> (ordinal)", 3.0204248861443626),
("named-day", 1.410986973710262)],
n = 18},
koData =
ClassData{prior = infinity, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("integer (0..19)",
Classifier{okData =
ClassData{prior = 0.2231435513142097,
unseen = 3.7376696182833684,
likelihoods = HashMap.fromList [("", 0.0)], n = 40},
koData =
ClassData{prior = 1.6094379124341003,
unseen = 2.4849066497880004,
likelihoods = HashMap.fromList [("", 0.0)], n = 10}}),
("between <time-of-day> and <time-of-day> (interval)",
Classifier{okData =
ClassData{prior = 0.6931471805599453,
unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("minuteminute", 0.9808292530117262),
("hh:mmhh:mm", 0.9808292530117262)],
n = 2},
koData =
ClassData{prior = 0.6931471805599453,
unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("hh:mmtime-of-day (latent)", 0.9808292530117262),
("minutehour", 0.9808292530117262)],
n = 2}}),
("between <datetime> and <datetime> (interval)",
Classifier{okData =
ClassData{prior = 0.916290731874155, unseen = 2.3025850929940455,
likelihoods =
HashMap.fromList
[("minuteminute", 1.0986122886681098),
("hh:mmhh:mm", 1.0986122886681098)],
n = 2},
koData =
ClassData{prior = 0.5108256237659907,
unseen = 2.4849066497880004,
likelihoods =
HashMap.fromList
[("hh:mmtime-of-day (latent)", 1.2992829841302609),
("minuteminute", 1.7047480922384253),
("minutehour", 1.2992829841302609),
("hh:mmintersect", 1.7047480922384253)],
n = 3}}),
("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 = 2.0794415416798357,
likelihoods =
HashMap.fromList
[("integer (numeric)minute (grain)", 1.252762968495368),
("integer (0..19)minute (grain)", 1.252762968495368),
("minute", 0.8472978603872037)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("<time-of-day> o'clock",
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}}),
("hour (grain)",
Classifier{okData =
ClassData{prior = 0.10536051565782628,
unseen = 2.3978952727983707,
likelihoods = HashMap.fromList [("", 0.0)], n = 9},
koData =
ClassData{prior = 2.3025850929940455,
unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("<ordinal> quarter",
Classifier{okData =
ClassData{prior = 0.6931471805599453,
unseen = 2.0794415416798357,
likelihoods =
HashMap.fromList
[("ordinal (digits)quarter (grain)", 1.252762968495368),
("quarter", 0.8472978603872037),
("ordinals (first..31st)quarter (grain)", 1.252762968495368)],
n = 2},
koData =
ClassData{prior = 0.6931471805599453,
unseen = 2.0794415416798357,
likelihoods =
HashMap.fromList
[("ordinal (digits)quarter (grain)", 1.252762968495368),
("quarter", 0.8472978603872037),
("ordinals (first..31st)quarter (grain)", 1.252762968495368)],
n = 2}}),
("intersect",
Classifier{okData =
ClassData{prior = 0.46117571512217015, unseen = 5.8111409929767,
likelihoods =
HashMap.fromList
[("<datetime> - <datetime> (interval)on <date>",
4.0163830207523885),
("<time-of-day> - <time-of-day> (interval)on <date>",
4.0163830207523885),
("hourday", 5.1149953094204985),
("dayhour", 2.863703510814003),
("daymonth", 3.3232358401924436),
("monthyear", 3.0355537677406628),
("intersecthh:mm", 5.1149953094204985),
("the <day-of-month> (ordinal)named-month",
3.8622323409251305),
("intersect by \"of\", \"from\", \"'s\"year",
4.709530201312334),
("last <day-of-week> of <time>year", 4.709530201312334),
("todayat <time-of-day>", 4.709530201312334),
("dayday", 3.0355537677406628),
("dd/mmat <time-of-day>", 4.198704577546343),
("intersect by \",\"hh:mm", 4.198704577546343),
("intersectnamed-month", 5.1149953094204985),
("dayyear", 3.243193132518907),
("named-daythis <time>", 3.6109179126442243),
("tomorrow<time-of-day> sharp", 4.709530201312334),
("<day-of-month>(ordinal) <named-month>year",
4.709530201312334),
("named-day<time> timezone", 4.421848128860553),
("named-monthyear", 3.0355537677406628),
("absorption of , after named day<named-month> <day-of-month> (non ordinal)",
4.0163830207523885),
("tomorrowuntil <time-of-day>", 4.709530201312334),
("absorption of , after named day<day-of-month> (non ordinal) <named-month>",
4.421848128860553),
("after <time-of-day>at <time-of-day>", 4.709530201312334),
("intersect by \",\"<day-of-month> (non ordinal) <named-month>",
4.709530201312334),
("named-day<day-of-month> (non ordinal) <named-month>",
5.1149953094204985),
("named-day<named-month> <day-of-month> (non ordinal)",
5.1149953094204985),
("named-dayfrom <datetime> - <datetime> (interval)",
4.709530201312334),
("named-daynext <cycle>", 5.1149953094204985),
("named-dayintersect", 5.1149953094204985),
("named-dayfrom <time-of-day> - <time-of-day> (interval)",
4.709530201312334),
("tomorrowafter <time-of-day>", 4.709530201312334),
("from <time-of-day> - <time-of-day> (interval)on <date>",
4.198704577546343),
("dayminute", 2.763620052257021),
("from <datetime> - <datetime> (interval)on <date>",
4.421848128860553),
("<ordinal> <cycle> of <time>year", 4.709530201312334),
("minuteday", 2.512305623976115),
("absorption of , after named dayintersect",
5.1149953094204985),
("named-daybetween <time-of-day> and <time-of-day> (interval)",
5.1149953094204985),
("named-dayon <date>", 5.1149953094204985),
("named-dayat <time-of-day>", 4.709530201312334),
("yearhh:mm", 5.1149953094204985),
("named-daybetween <datetime> and <datetime> (interval)",
5.1149953094204985),
("absorption of , after named dayintersect by \",\"",
4.709530201312334),
("dd/mmyear", 4.709530201312334),
("at <time-of-day>on <date>", 5.1149953094204985),
("between <time-of-day> and <time-of-day> (interval)on <date>",
5.1149953094204985),
("between <datetime> and <datetime> (interval)on <date>",
5.1149953094204985),
("dayweek", 4.0163830207523885),
("weekyear", 4.198704577546343),
("hh:mmtomorrow", 4.421848128860553),
("tomorrowat <time-of-day>", 3.8622323409251305),
("named-daythe <day-of-month> (ordinal)", 5.1149953094204985),
("at <time-of-day>tomorrow", 4.709530201312334),
("last <cycle> of <time>year", 4.198704577546343),
("named-daythe <day-of-month> (non ordinal)",
5.1149953094204985),
("<day-of-month> (non ordinal) <named-month>year",
4.709530201312334),
("yearminute", 5.1149953094204985)],
n = 128},
koData =
ClassData{prior = 0.9957178655054769, unseen = 5.429345628954441,
likelihoods =
HashMap.fromList
[("named-daynamed-month", 4.7318028369214575),
("dayhour", 3.3455084758015667),
("daymonth", 2.129113151477074),
("monthday", 3.8155121050473024),
("monthyear", 3.8155121050473024),
("intersect by \"of\", \"from\", \"'s\"year",
3.4790398684260895),
("named-dayhh:mm", 4.7318028369214575),
("dd/mmat <time-of-day>", 3.8155121050473024),
("hourhour", 3.4790398684260895),
("dayyear", 3.3455084758015667),
("named-daythis <time>", 2.5917366734251868),
("year<hour-of-day> <integer> (as relative minutes)",
4.326337728813293),
("minutemonth", 4.326337728813293),
("named-monthyear", 3.8155121050473024),
("in|during the <part-of-day>until <time-of-day>",
4.326337728813293),
("absorption of , after named daynamed-month",
3.6331905482533475),
("named-dayfrom <datetime> - <datetime> (interval)",
4.326337728813293),
("<hour-of-day> <integer> (as relative minutes)named-month",
4.326337728813293),
("named-dayfrom <time-of-day> - <time-of-day> (interval)",
4.7318028369214575),
("until <time-of-day>on <date>", 4.7318028369214575),
("dayminute", 3.3455084758015667),
("minuteday", 3.2277254401451834),
("named-daybetween <time-of-day> and <time-of-day> (interval)",
4.7318028369214575),
("named-dayat <time-of-day>", 3.8155121050473024),
("hh:mmon <date>", 3.3455084758015667),
("named-daybetween <datetime> and <datetime> (interval)",
4.7318028369214575),
("named-month<day-of-month> (non ordinal) <named-month>",
3.8155121050473024),
("<named-month> <day-of-month> (non ordinal)named-month",
3.8155121050473024),
("this <part-of-day>until <time-of-day>", 4.326337728813293),
("<hour-of-day> <integer> (as relative minutes)year",
4.326337728813293),
("tomorrownoon", 4.7318028369214575),
("this <time>until <time-of-day>", 4.326337728813293),
("minuteyear", 4.326337728813293),
("yearminute", 4.326337728813293)],
n = 75}}),
("<ordinal> <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.890371757896165,
likelihoods =
HashMap.fromList
[("daymonth", 1.7346010553881064),
("ordinals (first..31st)week (grain)intersect",
1.7346010553881064),
("ordinals (first..31st)week (grain)named-month",
1.7346010553881064),
("weekmonth", 1.2237754316221157),
("ordinals (first..31st)day (grain)named-month",
1.7346010553881064)],
n = 6},
koData =
ClassData{prior = infinity, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("season",
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}}),
("year (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.772588722239781,
likelihoods = HashMap.fromList [("", 0.0)], n = 14},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("from <datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = 1.0296194171811581,
unseen = 3.0910424533583156,
likelihoods =
HashMap.fromList
[("minuteminute", 1.4350845252893227),
("time-of-day (latent)time-of-day (latent)",
2.3513752571634776),
("hh:mmhh:mm", 1.4350845252893227),
("hourhour", 2.3513752571634776)],
n = 5},
koData =
ClassData{prior = 0.4418327522790392,
unseen = 3.4011973816621555,
likelihoods =
HashMap.fromList
[("yearhour", 2.6741486494265287),
("hh:mmtime-of-day (latent)", 1.7578579175523736),
("minuteminute", 1.9810014688665833),
("yearyear", 2.6741486494265287),
("year (latent)year (latent)", 2.6741486494265287),
("minutehour", 1.7578579175523736),
("hh:mmintersect", 1.9810014688665833),
("year (latent)time-of-day (latent)", 2.6741486494265287)],
n = 9}}),
("next <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.044522437723423,
likelihoods =
HashMap.fromList
[("week", 1.6094379124341003),
("month (grain)", 2.3025850929940455),
("year (grain)", 2.3025850929940455),
("week (grain)", 1.6094379124341003),
("quarter", 2.3025850929940455), ("year", 2.3025850929940455),
("month", 2.3025850929940455),
("quarter (grain)", 2.3025850929940455)],
n = 6},
koData =
ClassData{prior = infinity, unseen = 2.1972245773362196,
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.6061358035703156,
unseen = 2.9444389791664407,
likelihoods =
HashMap.fromList
[("minuteminute", 1.0986122886681098),
("time-of-day (latent)time-of-day (latent)",
2.1972245773362196),
("hh:mmhh:mm", 1.0986122886681098),
("hourhour", 2.1972245773362196)],
n = 6},
koData =
ClassData{prior = 0.7884573603642702, unseen = 2.833213344056216,
likelihoods =
HashMap.fromList
[("hh:mmtime-of-day (latent)", 0.9808292530117262),
("minutehour", 0.9808292530117262)],
n = 5}}),
("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}}),
("year (latent)",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 3.258096538021482,
likelihoods =
HashMap.fromList
[("integer (numeric)", 0.4462871026284195),
("integer (0..19)", 1.0216512475319814)],
n = 23}}),
("dd/mm/yyyy",
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}}),
("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}}),
("<ordinal> quarter <year>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.0794415416798357,
likelihoods =
HashMap.fromList
[("ordinals (first..31st)quarter (grain)year",
1.252762968495368),
("quarteryear", 0.8472978603872037),
("ordinal (digits)quarter (grain)year", 1.252762968495368)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("after lunch",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("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}}),
("the <cycle> after <time>",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("year (grain)christmas eve", 0.6931471805599453),
("yearday", 0.6931471805599453)],
n = 2}}),
("quarter to|till|before <integer> (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}}),
("a pair",
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}}),
("nth <time> of <time>",
Classifier{okData =
ClassData{prior = 0.5596157879354228, unseen = 2.995732273553991,
likelihoods =
HashMap.fromList
[("daymonth", 0.7472144018302211),
("ordinals (first..31st)named-dayintersect",
0.9985288301111273),
("ordinals (first..31st)named-daynamed-month",
1.845826690498331)],
n = 8},
koData =
ClassData{prior = 0.8472978603872037, unseen = 2.772588722239781,
likelihoods =
HashMap.fromList
[("daymonth", 0.7621400520468967),
("ordinals (first..31st)named-daynamed-month",
0.7621400520468967)],
n = 6}}),
("the <day-of-month> (non ordinal)",
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}}),
("ordinals (first..31st)",
Classifier{okData =
ClassData{prior = 5.406722127027582e-2,
unseen = 2.995732273553991,
likelihoods = HashMap.fromList [("", 0.0)], n = 18},
koData =
ClassData{prior = 2.9444389791664407,
unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("named-month",
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}}),
("week (grain)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.332204510175204,
likelihoods = HashMap.fromList [("", 0.0)], n = 26},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("now",
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}}),
("this <part-of-day>",
Classifier{okData =
ClassData{prior = 1.9459101490553135,
unseen = 2.0794415416798357,
likelihoods =
HashMap.fromList
[("hour", 0.8472978603872037), ("evening", 1.252762968495368),
("morning", 1.252762968495368)],
n = 2},
koData =
ClassData{prior = 0.15415067982725836,
unseen = 3.332204510175204,
likelihoods =
HashMap.fromList
[("hour", 0.7308875085427924),
("morning", 0.7308875085427924)],
n = 12}}),
("christmas 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}}),
("<day-of-month>(ordinal) <named-month>",
Classifier{okData =
ClassData{prior = 9.53101798043249e-2,
unseen = 3.1780538303479458,
likelihoods =
HashMap.fromList
[("ordinals (first..31st)named-month", 1.749199854809259),
("ordinal (digits)named-month", 1.0560526742493137),
("month", 0.7375989431307791)],
n = 10},
koData =
ClassData{prior = 2.3978952727983707, unseen = 1.791759469228055,
likelihoods =
HashMap.fromList
[("ordinals (first..31st)named-month", 0.916290731874155),
("month", 0.916290731874155)],
n = 1}}),
("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 = 3.4011973816621555,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 28}}),
("in|during the <part-of-day>",
Classifier{okData =
ClassData{prior = 1.9459101490553135,
unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("afternoon", 1.3862943611198906),
("hour", 0.9808292530117262),
("evening", 1.3862943611198906)],
n = 2},
koData =
ClassData{prior = 0.15415067982725836,
unseen = 3.367295829986474,
likelihoods =
HashMap.fromList
[("hour", 0.7672551527136672),
("morning", 0.7672551527136672)],
n = 12}}),
("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}}),
("tomorrow",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.772588722239781,
likelihoods = HashMap.fromList [("", 0.0)], n = 14},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("<cycle> after <time>",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("year (grain)christmas eve", 0.6931471805599453),
("yearday", 0.6931471805599453)],
n = 2}}),
("<time> after next",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.5649493574615367,
likelihoods =
HashMap.fromList
[("named-month", 1.791759469228055),
("day", 1.0986122886681098),
("named-day", 1.0986122886681098),
("month", 1.791759469228055)],
n = 4},
koData =
ClassData{prior = infinity, unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [], n = 0}}),
("half an hour",
Classifier{okData =
ClassData{prior = 0.5108256237659907,
unseen = 1.6094379124341003,
likelihoods = HashMap.fromList [("", 0.0)], n = 3},
koData =
ClassData{prior = 0.916290731874155, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2}}),
("the <day-of-month> (ordinal)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.3978952727983707,
likelihoods =
HashMap.fromList
[("ordinals (first..31st)", 1.2039728043259361),
("ordinal (digits)", 0.35667494393873245)],
n = 8},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("afternoon",
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> from now",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.890371757896165,
likelihoods =
HashMap.fromList
[("second", 1.4469189829363254), ("year", 2.1400661634962708),
("<integer> <unit-of-duration>", 1.041453874828161),
("a <unit-of-duration>", 2.1400661634962708),
("minute", 1.7346010553881064)],
n = 6},
koData =
ClassData{prior = infinity, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [], n = 0}}),
("this <cycle>",
Classifier{okData =
ClassData{prior = 0.11778303565638351,
unseen = 3.2188758248682006,
likelihoods =
HashMap.fromList
[("week", 1.5686159179138452),
("year (grain)", 2.0794415416798357),
("week (grain)", 1.5686159179138452),
("day", 2.4849066497880004), ("quarter", 2.4849066497880004),
("year", 2.0794415416798357),
("quarter (grain)", 2.4849066497880004),
("day (grain)", 2.4849066497880004)],
n = 8},
koData =
ClassData{prior = 2.1972245773362196,
unseen = 2.3978952727983707,
likelihoods =
HashMap.fromList
[("day", 1.6094379124341003),
("day (grain)", 1.6094379124341003)],
n = 1}}),
("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}}),
("about <time-of-day>",
Classifier{okData =
ClassData{prior = 0.8472978603872037,
unseen = 2.3978952727983707,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", 0.916290731874155),
("hour", 0.916290731874155)],
n = 3},
koData =
ClassData{prior = 0.5596157879354228,
unseen = 2.5649493574615367,
likelihoods =
HashMap.fromList
[("time-of-day (latent)", 1.3862943611198906),
("hour", 1.3862943611198906),
("<hour-of-day> half (as relative minutes)",
1.3862943611198906),
("minute", 1.3862943611198906)],
n = 4}}),
("time-of-day (latent)",
Classifier{okData =
ClassData{prior = 0.9711673420999893,
unseen = 3.7376696182833684,
likelihoods =
HashMap.fromList [("integer (numeric)", 2.469261259037152e-2)],
n = 39},
koData =
ClassData{prior = 0.475845904869964, unseen = 4.204692619390966,
likelihoods =
HashMap.fromList
[("integer (numeric)", 0.29783444391579894),
("integer (0..19)", 1.3564413979702095)],
n = 64}}),
("year",
Classifier{okData =
ClassData{prior = 0.1431008436406733, unseen = 3.332204510175204,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 26},
koData =
ClassData{prior = 2.0149030205422647, unseen = 1.791759469228055,
likelihoods = HashMap.fromList [("integer (numeric)", 0.0)],
n = 4}}),
("last <day-of-week> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.772588722239781,
likelihoods =
HashMap.fromList
[("named-daynamed-month", 1.0986122886681098),
("daymonth", 0.7621400520468967),
("named-dayintersect", 1.6094379124341003)],
n = 6},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("<integer> <unit-of-duration>",
Classifier{okData =
ClassData{prior = 0.5408064559779265, unseen = 4.74493212836325,
likelihoods =
HashMap.fromList
[("week", 2.538973871058276),
("integer (0..19)year (grain)", 3.349904087274605),
("integer (numeric)day (grain)", 2.9444389791664407),
("integer (0..19)hour (grain)", 4.04305126783455),
("second", 2.9444389791664407),
("integer (numeric)second (grain)", 4.04305126783455),
("a pairhour (grain)", 4.04305126783455),
("integer (numeric)year (grain)", 3.6375861597263857),
("day", 2.338303175596125), ("year", 2.9444389791664407),
("integer (numeric)week (grain)", 3.349904087274605),
("integer (0..19)month (grain)", 4.04305126783455),
("integer (0..19)second (grain)", 3.126760535960395),
("hour", 2.9444389791664407), ("month", 3.6375861597263857),
("integer (numeric)minute (grain)", 2.790288299339182),
("integer (0..19)minute (grain)", 2.9444389791664407),
("integer (numeric)month (grain)", 4.04305126783455),
("minute", 2.2512917986064953),
("integer (numeric)hour (grain)", 3.349904087274605),
("integer (0..19)day (grain)", 2.9444389791664407),
("integer (0..19)week (grain)", 2.9444389791664407)],
n = 46},
koData =
ClassData{prior = 0.8729402910005413, unseen = 4.48863636973214,
likelihoods =
HashMap.fromList
[("week", 2.6855773452501515),
("integer (0..19)year (grain)", 3.378724525810097),
("integer (numeric)day (grain)", 3.0910424533583156),
("integer (0..19)hour (grain)", 3.784189633918261),
("second", 2.867898902044106),
("integer (numeric)second (grain)", 3.378724525810097),
("integer (numeric)year (grain)", 3.0910424533583156),
("day", 2.6855773452501515), ("year", 2.6855773452501515),
("integer (numeric)week (grain)", 3.378724525810097),
("integer (0..19)month (grain)", 3.0910424533583156),
("integer (0..19)second (grain)", 3.378724525810097),
("hour", 2.6855773452501515), ("month", 2.6855773452501515),
("integer (numeric)minute (grain)", 3.378724525810097),
("integer (0..19)minute (grain)", 3.378724525810097),
("integer (numeric)month (grain)", 3.378724525810097),
("minute", 2.867898902044106),
("integer (numeric)hour (grain)", 2.867898902044106),
("integer (0..19)day (grain)", 3.378724525810097),
("integer (0..19)week (grain)", 3.0910424533583156)],
n = 33}}),
("<duration> after <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.3025850929940455,
likelihoods =
HashMap.fromList
[("a <unit-of-duration>christmas eve", 1.5040773967762742),
("yearday", 0.8109302162163288),
("<integer> <unit-of-duration>christmas eve",
1.0986122886681098)],
n = 3},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("relative minutes after|past <integer> (hour-of-day)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("hour", 0.6931471805599453),
("integer (numeric)time-of-day (latent)", 0.6931471805599453)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("a <unit-of-duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.2188758248682006,
likelihoods =
HashMap.fromList
[("week", 2.0794415416798357),
("year (grain)", 2.4849066497880004),
("second", 2.0794415416798357),
("week (grain)", 2.0794415416798357),
("day", 2.4849066497880004),
("minute (grain)", 2.4849066497880004),
("year", 2.4849066497880004),
("second (grain)", 2.0794415416798357),
("minute", 2.4849066497880004),
("day (grain)", 2.4849066497880004)],
n = 7},
koData =
ClassData{prior = infinity, unseen = 2.3978952727983707,
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by \",\"",
Classifier{okData =
ClassData{prior = 0.1590646946296874, unseen = 4.442651256490317,
likelihoods =
HashMap.fromList
[("at <time-of-day>named-day", 3.7376696182833684),
("intersect by \",\"year", 3.7376696182833684),
("hh:mmintersect by \",\"", 3.7376696182833684),
("dayday", 2.032921526044943),
("hh:mmnamed-day", 3.7376696182833684),
("named-dayintersect by \",\"", 3.332204510175204),
("dayyear", 2.8213788864092133),
("<named-month> <day-of-month> (non ordinal)intersect",
3.7376696182833684),
("intersect by \",\"<day-of-month> (non ordinal) <named-month>",
3.332204510175204),
("<named-month> <day-of-month> (non ordinal)named-day",
3.7376696182833684),
("named-day<day-of-month> (non ordinal) <named-month>",
3.044522437723423),
("named-day<named-month> <day-of-month> (non ordinal)",
2.639057329615259),
("hh:mmintersect", 3.7376696182833684),
("intersect by \",\"intersect", 3.7376696182833684),
("named-dayintersect", 3.7376696182833684),
("at <time-of-day>intersect", 3.7376696182833684),
("dayminute", 2.639057329615259),
("intersectyear", 3.7376696182833684),
("minuteday", 2.032921526044943),
("hh:mmabsorption of , after named day", 3.7376696182833684),
("at <time-of-day>intersect by \",\"", 3.7376696182833684),
("at <time-of-day>absorption of , after named day",
3.7376696182833684),
("intersectintersect", 3.7376696182833684),
("<named-month> <day-of-month> (non ordinal)year",
3.332204510175204)],
n = 29},
koData =
ClassData{prior = 1.916922612182061, unseen = 3.6109179126442243,
likelihoods =
HashMap.fromList
[("named-daynamed-month", 1.791759469228055),
("daymonth", 1.791759469228055)],
n = 5}}),
("hh:mm",
Classifier{okData =
ClassData{prior = 1.8018505502678365e-2,
unseen = 4.04305126783455,
likelihoods = HashMap.fromList [("", 0.0)], n = 55},
koData =
ClassData{prior = 4.02535169073515, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("quarter after|past <integer> (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}}),
("named-day",
Classifier{okData =
ClassData{prior = 0.0, unseen = 4.276666119016055,
likelihoods = HashMap.fromList [("", 0.0)], n = 70},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("second (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}}),
("<time-of-day> sharp",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.4849066497880004,
likelihoods =
HashMap.fromList
[("at <time-of-day>", 1.2992829841302609),
("time-of-day (latent)", 1.2992829841302609),
("hour", 0.7884573603642702)],
n = 4},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("intersect by \"of\", \"from\", \"'s\"",
Classifier{okData =
ClassData{prior = 0.8209805520698302,
unseen = 3.4011973816621555,
likelihoods =
HashMap.fromList
[("named-daynamed-month", 1.7578579175523736),
("daymonth", 1.4213856809311607),
("named-daylast <cycle>", 2.6741486494265287),
("named-daynext <cycle>", 2.6741486494265287),
("named-dayintersect", 2.268683541318364),
("dayweek", 1.575536360758419),
("named-daythis <cycle>", 1.9810014688665833)],
n = 11},
koData =
ClassData{prior = 0.579818495252942, unseen = 3.58351893845611,
likelihoods =
HashMap.fromList
[("named-daynamed-month", 1.3581234841531944),
("daymonth", 0.8472978603872037),
("named-dayintersect", 1.6094379124341003)],
n = 14}}),
("<duration> ago",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.5553480614894135,
likelihoods =
HashMap.fromList
[("week", 1.580450375560848), ("day", 1.916922612182061),
("year", 2.4277482359480516),
("<integer> <unit-of-duration>", 0.8873031950009028),
("a <unit-of-duration>", 2.833213344056216),
("month", 2.4277482359480516)],
n = 14},
koData =
ClassData{prior = infinity, unseen = 1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("last <time>",
Classifier{okData =
ClassData{prior = 2.751535313041949, unseen = 2.70805020110221,
likelihoods =
HashMap.fromList
[("day", 1.540445040947149), ("named-day", 1.540445040947149),
("hour", 1.9459101490553135),
("week-end", 1.9459101490553135)],
n = 3},
koData =
ClassData{prior = 6.59579677917974e-2,
unseen = 4.574710978503383,
likelihoods =
HashMap.fromList
[("year (latent)", 1.6199092123013958),
("day", 2.367123614131617),
("time-of-day (latent)", 1.6199092123013958),
("year", 1.6199092123013958),
("named-day", 2.9549102790337356),
("intersect by \"of\", \"from\", \"'s\"", 2.9549102790337356),
("hour", 1.6199092123013958)],
n = 44}}),
("the day after tomorrow",
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}}),
("noon",
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}}),
("until <time-of-day>",
Classifier{okData =
ClassData{prior = 0.25131442828090605,
unseen = 2.995732273553991,
likelihoods =
HashMap.fromList
[("at <time-of-day>", 0.8649974374866046),
("hour", 0.8649974374866046)],
n = 7},
koData =
ClassData{prior = 1.5040773967762742,
unseen = 2.3025850929940455,
likelihoods =
HashMap.fromList
[("intersect", 1.5040773967762742),
("hh:mm", 1.5040773967762742),
("minute", 1.0986122886681098)],
n = 2}}),
("<integer> and an half hours",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods =
HashMap.fromList
[("integer (numeric)", 0.6931471805599453),
("integer (0..19)", 0.6931471805599453)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("after <duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("<integer> <unit-of-duration>", 0.6931471805599453)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("evening",
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}}),
("decimal number",
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}}),
("next <time>",
Classifier{okData =
ClassData{prior = 0.587786664902119, unseen = 2.70805020110221,
likelihoods =
HashMap.fromList
[("named-month", 1.9459101490553135),
("day", 1.0296194171811581),
("named-day", 1.0296194171811581),
("month", 1.9459101490553135)],
n = 5},
koData =
ClassData{prior = 0.8109302162163288,
unseen = 2.5649493574615367,
likelihoods =
HashMap.fromList
[("named-month", 1.791759469228055),
("day", 1.0986122886681098),
("named-day", 1.0986122886681098),
("month", 1.791759469228055)],
n = 4}}),
("last <cycle>",
Classifier{okData =
ClassData{prior = 0.6931471805599453, unseen = 2.833213344056216,
likelihoods =
HashMap.fromList
[("week", 1.6739764335716716),
("month (grain)", 2.0794415416798357),
("year (grain)", 2.0794415416798357),
("week (grain)", 1.6739764335716716),
("year", 2.0794415416798357), ("month", 2.0794415416798357)],
n = 4},
koData =
ClassData{prior = 0.6931471805599453, unseen = 2.833213344056216,
likelihoods =
HashMap.fromList
[("week", 1.6739764335716716),
("week (grain)", 1.6739764335716716),
("day", 1.6739764335716716),
("day (grain)", 1.6739764335716716)],
n = 4}}),
("christmas",
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}}),
("new year's day",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1},
koData =
ClassData{prior = infinity, unseen = 0.6931471805599453,
likelihoods = HashMap.fromList [], n = 0}}),
("next n <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.912023005428146,
likelihoods =
HashMap.fromList
[("week", 2.793208009442517),
("integer (0..19)year (grain)", 3.1986731175506815),
("integer (numeric)day (grain)", 3.1986731175506815),
("integer (0..19)hour (grain)", 3.1986731175506815),
("second", 2.793208009442517),
("integer (numeric)second (grain)", 3.1986731175506815),
("integer (numeric)year (grain)", 3.1986731175506815),
("day", 2.793208009442517), ("year", 2.793208009442517),
("integer (numeric)week (grain)", 3.1986731175506815),
("integer (0..19)month (grain)", 3.1986731175506815),
("integer (0..19)second (grain)", 3.1986731175506815),
("hour", 2.793208009442517), ("month", 2.793208009442517),
("integer (numeric)minute (grain)", 3.1986731175506815),
("integer (0..19)minute (grain)", 3.1986731175506815),
("integer (numeric)month (grain)", 3.1986731175506815),
("minute", 2.793208009442517),
("integer (numeric)hour (grain)", 3.1986731175506815),
("integer (0..19)day (grain)", 3.1986731175506815),
("integer (0..19)week (grain)", 3.1986731175506815)],
n = 14},
koData =
ClassData{prior = infinity, unseen = 3.0910424533583156,
likelihoods = HashMap.fromList [], n = 0}}),
("in <duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 4.418840607796598,
likelihoods =
HashMap.fromList
[("week", 3.0204248861443626),
("<integer> more <unit-of-duration>", 3.3081069585961433),
("number.number hours", 3.713572066704308),
("second", 2.797281334830153), ("day", 2.6149597780361984),
("half an hour", 3.713572066704308),
("<integer> <unit-of-duration>", 1.2286654169163076),
("a <unit-of-duration>", 2.797281334830153),
("<integer> and an half hours", 3.3081069585961433),
("hour", 2.6149597780361984), ("minute", 1.4622802680978126),
("about <duration>", 3.3081069585961433)],
n = 35},
koData =
ClassData{prior = infinity, unseen = 2.5649493574615367,
likelihoods = HashMap.fromList [], n = 0}}),
("<datetime> - <datetime> (interval)",
Classifier{okData =
ClassData{prior = 0.6649763035932491, unseen = 3.912023005428146,
likelihoods =
HashMap.fromList
[("minuteminute", 1.252762968495368),
("hh:mmhh:mm", 1.252762968495368),
("dayday", 2.1000608288825715),
("<day-of-month> (non ordinal) <named-month><day-of-month> (non ordinal) <named-month>",
2.1000608288825715)],
n = 18},
koData =
ClassData{prior = 0.7221347174331976, unseen = 3.871201010907891,
likelihoods =
HashMap.fromList
[("monthday", 2.0583881324820035),
("minuteminute", 1.9042374526547454),
("hh:mmhh:mm", 3.1570004211501135),
("dayyear", 2.751535313041949),
("year<hour-of-day> <integer> (as relative minutes)",
2.751535313041949),
("hh:mmintersect", 2.0583881324820035),
("dd/mmyear", 2.751535313041949),
("named-month<day-of-month> (non ordinal) <named-month>",
2.0583881324820035),
("<hour-of-day> <integer> (as relative minutes)year",
2.751535313041949),
("minuteyear", 2.751535313041949),
("yearminute", 2.751535313041949)],
n = 17}}),
("<time-of-day> - <time-of-day> (interval)",
Classifier{okData =
ClassData{prior = 0.7672551527136672,
unseen = 3.4339872044851463,
likelihoods =
HashMap.fromList
[("minuteminute", 0.7621400520468967),
("hh:mmhh:mm", 0.7621400520468967)],
n = 13},
koData =
ClassData{prior = 0.6241543090729939,
unseen = 3.5553480614894135,
likelihoods =
HashMap.fromList
[("hh:mmtime-of-day (latent)", 0.8183103235139514),
("minuteminute", 2.833213344056216),
("hh:mmhh:mm", 2.833213344056216),
("minutehour", 0.8183103235139514)],
n = 15}}),
("last n <cycle>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 4.04305126783455,
likelihoods =
HashMap.fromList
[("week", 2.639057329615259),
("integer (0..19)year (grain)", 3.332204510175204),
("integer (numeric)day (grain)", 2.9267394020670396),
("second", 2.9267394020670396),
("integer (numeric)second (grain)", 3.332204510175204),
("integer (numeric)year (grain)", 2.9267394020670396),
("day", 2.639057329615259), ("year", 2.639057329615259),
("integer (numeric)week (grain)", 3.332204510175204),
("integer (0..19)month (grain)", 2.9267394020670396),
("integer (0..19)second (grain)", 3.332204510175204),
("hour", 2.9267394020670396), ("month", 2.639057329615259),
("integer (numeric)minute (grain)", 3.332204510175204),
("integer (0..19)minute (grain)", 3.332204510175204),
("integer (numeric)month (grain)", 3.332204510175204),
("minute", 2.9267394020670396),
("integer (numeric)hour (grain)", 2.9267394020670396),
("integer (0..19)day (grain)", 3.332204510175204),
("integer (0..19)week (grain)", 2.9267394020670396)],
n = 18},
koData =
ClassData{prior = infinity, unseen = 3.044522437723423,
likelihoods = HashMap.fromList [], n = 0}}),
("<named-month> <day-of-month> (non ordinal)",
Classifier{okData =
ClassData{prior = 0.4418327522790392, unseen = 3.044522437723423,
likelihoods =
HashMap.fromList
[("named-monthinteger (numeric)", 0.6931471805599453),
("month", 0.6931471805599453)],
n = 9},
koData =
ClassData{prior = 1.0296194171811581,
unseen = 2.5649493574615367,
likelihoods =
HashMap.fromList
[("named-monthinteger (numeric)", 0.6931471805599453),
("month", 0.6931471805599453)],
n = 5}}),
("<day-of-month> (non ordinal) <named-month>",
Classifier{okData =
ClassData{prior = 0.15415067982725836,
unseen = 3.6635616461296463,
likelihoods =
HashMap.fromList
[("integer (numeric)named-month", 0.6931471805599453),
("month", 0.6931471805599453)],
n = 18},
koData =
ClassData{prior = 1.9459101490553135,
unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("integer (numeric)named-month", 0.6931471805599453),
("month", 0.6931471805599453)],
n = 3}}),
("this|next <day-of-week>",
Classifier{okData =
ClassData{prior = 0.5596157879354228,
unseen = 2.3978952727983707,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("named-day", 0.6931471805599453)],
n = 4},
koData =
ClassData{prior = 0.8472978603872037,
unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("day", 0.6931471805599453),
("named-day", 0.6931471805599453)],
n = 3}}),
("<hour-of-day> half (as relative minutes)",
Classifier{okData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0},
koData =
ClassData{prior = 0.0, unseen = 2.890371757896165,
likelihoods =
HashMap.fromList
[("about <time-of-day>", 1.7346010553881064),
("time-of-day (latent)", 1.041453874828161),
("hour", 0.7537718023763802)],
n = 7}}),
("ordinal (digits)",
Classifier{okData =
ClassData{prior = 8.701137698962981e-2,
unseen = 2.5649493574615367,
likelihoods = HashMap.fromList [("", 0.0)], n = 11},
koData =
ClassData{prior = 2.4849066497880004,
unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("quarter (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}}),
("last <cycle> of <time>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 3.1354942159291497,
likelihoods =
HashMap.fromList
[("daymonth", 1.4816045409242156),
("week (grain)named-month", 1.9924301646902063),
("day (grain)intersect", 1.9924301646902063),
("weekmonth", 1.4816045409242156),
("day (grain)named-month", 1.9924301646902063),
("week (grain)intersect", 1.9924301646902063)],
n = 8},
koData =
ClassData{prior = infinity, unseen = 1.9459101490553135,
likelihoods = HashMap.fromList [], n = 0}}),
("<day-of-month>(ordinal) <named-month> year",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.3025850929940455,
likelihoods =
HashMap.fromList
[("ordinals (first..31st)named-month", 1.0986122886681098),
("ordinal (digits)named-month", 1.5040773967762742),
("month", 0.8109302162163288)],
n = 3},
koData =
ClassData{prior = infinity, unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [], n = 0}}),
("morning",
Classifier{okData =
ClassData{prior = 1.9459101490553135,
unseen = 1.3862943611198906,
likelihoods = HashMap.fromList [("", 0.0)], n = 2},
koData =
ClassData{prior = 0.15415067982725836,
unseen = 2.639057329615259,
likelihoods = HashMap.fromList [("", 0.0)], n = 12}}),
("week-end",
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}}),
("after <time-of-day>",
Classifier{okData =
ClassData{prior = 0.7537718023763802, unseen = 3.332204510175204,
likelihoods =
HashMap.fromList
[("at <time-of-day>", 1.6863989535702288),
("intersect", 2.1972245773362196),
("tomorrow", 2.1972245773362196), ("day", 2.1972245773362196),
("hour", 1.349926716949016)],
n = 8},
koData =
ClassData{prior = 0.6359887667199967,
unseen = 3.4011973816621555,
likelihoods =
HashMap.fromList
[("this <part-of-day>", 2.268683541318364),
("christmas eve", 2.268683541318364),
("in|during the <part-of-day>", 2.268683541318364),
("day", 2.268683541318364), ("hh:mm", 2.6741486494265287),
("hour", 1.4213856809311607), ("minute", 2.6741486494265287),
("this <time>", 2.268683541318364)],
n = 9}}),
("day (grain)",
Classifier{okData =
ClassData{prior = 4.8790164169432056e-2,
unseen = 3.0910424533583156,
likelihoods = HashMap.fromList [("", 0.0)], n = 20},
koData =
ClassData{prior = 3.044522437723423, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [("", 0.0)], n = 1}}),
("<month> dd-dd (interval)",
Classifier{okData =
ClassData{prior = 0.0, unseen = 2.1972245773362196,
likelihoods =
HashMap.fromList
[("named-month", 0.6931471805599453),
("month", 0.6931471805599453)],
n = 3},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("about <duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.9459101490553135,
likelihoods =
HashMap.fromList
[("half an hour", 0.6931471805599453),
("minute", 0.6931471805599453)],
n = 2},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}}),
("<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 = 3.1354942159291497,
likelihoods =
HashMap.fromList
[("time-of-day (latent)integer (numeric)", 0.6931471805599453),
("hour", 0.6931471805599453)],
n = 10}}),
("this <time>",
Classifier{okData =
ClassData{prior = 1.3217558399823195, unseen = 3.828641396489095,
likelihoods =
HashMap.fromList
[("week", 2.1972245773362196), ("intersect", 2.70805020110221),
("season", 2.1972245773362196),
("next <cycle>", 3.1135153092103742),
("named-month", 2.70805020110221),
("day", 2.1972245773362196),
("this <cycle>", 2.4203681286504293),
("hour", 2.1972245773362196), ("evening", 3.1135153092103742),
("month", 2.1972245773362196),
("morning", 3.1135153092103742),
("week-end", 2.70805020110221)],
n = 16},
koData =
ClassData{prior = 0.3101549283038396, unseen = 4.624972813284271,
likelihoods =
HashMap.fromList
[("intersect", 2.0501711593797225),
("named-month", 1.670681537674819),
("time-of-day (latent)", 3.5165082281731497),
("hour", 1.9070703157390494), ("month", 1.1811333123561132),
("morning", 2.0501711593797225)],
n = 44}}),
("within <duration>",
Classifier{okData =
ClassData{prior = 0.0, unseen = 1.6094379124341003,
likelihoods =
HashMap.fromList
[("week", 0.6931471805599453),
("<integer> <unit-of-duration>", 0.6931471805599453)],
n = 1},
koData =
ClassData{prior = infinity, unseen = 1.0986122886681098,
likelihoods = HashMap.fromList [], n = 0}})]