{-# LANGUAGE OverloadedStrings #-}
module Duckling.Ranking.Classifiers.GA_XX (classifiers) where
import Data.String
import Prelude
import qualified Data.HashMap.Strict as HashMap
import Duckling.Ranking.Types
classifiers :: Classifiers
classifiers :: Classifiers
classifiers
= [(Text, Classifier)] -> Classifiers
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Thursday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.3862943611198906,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
2}}),
(Text
"integer (numeric)",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
3}}),
(Text
"ar\250 am\225rach",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"dd/mm",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"inniu",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"Monday",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.0794415416798357,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
6},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"dd/mm/yyyy",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"fractional number",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1}}),
(Text
"year",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"integer (numeric)", Double
0.0)],
n :: Int
n = Int
1}}),
(Text
"<time> seo chugainn",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.833213344056216,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Monday", -Double
1.3862943611198906), (Text
"day", -Double
0.8266785731844679),
(Text
"d\233 named-day", -Double
2.0794415416798357),
(Text
"an named-day", -Double
1.6739764335716716)],
n :: Int
n = Int
6},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"d\233 named-day",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.9459101490553135,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Monday", -Double
0.6931471805599453), (Text
"day", -Double
0.6931471805599453)],
n :: Int
n = Int
2},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"anois",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"an named-day",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
2.3978952727983707,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Monday", -Double
0.6931471805599453), (Text
"day", -Double
0.6931471805599453)],
n :: Int
n = Int
4},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"am\225rach",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6931471805599453,
unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6931471805599453,
unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1}}),
(Text
"inn\233",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6931471805599453,
unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
0.6931471805599453,
unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1}}),
(Text
"<time> seo",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
3.044522437723423,
likelihoods :: HashMap Text Double
likelihoods =
[(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList
[(Text
"Monday", -Double
1.3862943611198906), (Text
"day", -Double
0.7985076962177716),
(Text
"d\233 named-day", -Double
2.3025850929940455),
(Text
"an named-day", -Double
1.6094379124341003)],
n :: Int
n = Int
8},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
1.6094379124341003,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}}),
(Text
"ar\250 inn\233",
Classifier :: ClassData -> ClassData -> Classifier
Classifier{okData :: ClassData
okData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = Double
0.0, unseen :: Double
unseen = -Double
1.0986122886681098,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [(Text
"", Double
0.0)], n :: Int
n = Int
1},
koData :: ClassData
koData =
ClassData :: Double -> Double -> HashMap Text Double -> Int -> ClassData
ClassData{prior :: Double
prior = -Double
infinity, unseen :: Double
unseen = -Double
0.6931471805599453,
likelihoods :: HashMap Text Double
likelihoods = [(Text, Double)] -> HashMap Text Double
forall k v. (Eq k, Hashable k) => [(k, v)] -> HashMap k v
HashMap.fromList [], n :: Int
n = Int
0}})]