Search is not available for this dataset
repo_name
string
path
string
license
string
full_code
string
full_size
int64
uncommented_code
string
uncommented_size
int64
function_only_code
string
function_only_size
int64
is_commented
bool
is_signatured
bool
n_ast_errors
int64
ast_max_depth
int64
n_whitespaces
int64
n_ast_nodes
int64
n_ast_terminals
int64
n_ast_nonterminals
int64
loc
int64
cycloplexity
int64
exercism/xhaskell
exercises/practice/binary-search-tree/src/BST.hs
mit
bstValue :: BST a -> Maybe a bstValue tree = error "You need to implement this function."
89
bstValue :: BST a -> Maybe a bstValue tree = error "You need to implement this function."
89
bstValue tree = error "You need to implement this function."
60
false
true
0
6
16
27
12
15
null
null
input-output-hk/pos-haskell-prototype
wallet/test/unit/Wallet/Inductive/Generator.hs
mit
-- | Generate event tree -- -- NOTE: Rollbacks are implicit in the tree structure. genEventTree :: forall h a. (Hash h a, Ord a) => GenEventsParams h a -> GenEvents h a (Tree (WalletEvent h a)) genEventTree GenEventsParams{..} = unfoldTreeM buildTree initLocalState where buildTree :: GenSeeds h a (WalletEvent h a) buildTree ls = do prevForks <- use gegsPrevForks -- We cannot submit pending transactions until a switch-to-fork is -- complete (a rollback of @N@ blocks and the subsequent @N + 1@ -- blocks will happen atomically). let ourLength = ls ^. gelsLength canSubmitPending = case prevForks of [] -> True prev:_ -> ourLength > prev shouldSubmitPending <- lift $ toss gepPendingProb if canSubmitPending && shouldSubmitPending then submitPending ls else generateBlock ls -- Try to submit a new pending transaction -- -- If this fails (if the wallet has no inputs available), we just repeat -- the random choice in 'buildTree'. submitPending :: GenSeeds h a (WalletEvent h a) submitPending ls = do pending <- use gegsPending (mTr, ls') <- withCombinedState ls $ zoom gesWalletTrState $ -- Pending transactions don't affect the UTxO, but should not use -- inputs already used by other pending transactions genTransaction gepTrParams DontRemoveUsedInputs DontMakeOutputsAvailable (Set.unions $ map trIns $ Map.elems pending) case mTr of Nothing -> buildTree ls' Just tr -> do gegsPending %= Map.insert (givenHash tr) tr return (NewPending tr, [ls']) -- Generate a block generateBlock :: GenSeeds h a (WalletEvent h a) generateBlock ls = do -- Create the block itself (ev, ls') <- withCombinedState ls $ do blockSize <- lift $ choose (0, gepMaxBlockSize) -- First, we choose some pending transactions to commit availablePending <- Map.toList <$> use (_2 . gegsPending) (_pendingHashes, committedPending) <- unzip <$> commitSome gepPendingCommitProb (take blockSize availablePending) let remaining = blockSize - length committedPending -- Next, we choose some transactions from the shared pool availableShared <- Map.toList <$> use (_1 . gelsNextBlock) (sharedHashes, committedShared) <- unzip <$> commitSome gepSharedCommitProb (take remaining availableShared) (_1 . gelsNextBlock) %= (`withoutKeys` Set.fromList sharedHashes) let remaining' = remaining - length committedShared -- Finally, we create some transactions specific to this block -- -- For these final transactions, we make the outputs of the -- already selected transactions available, so that the block does -- not only consist of independent transactions. This means we now -- also need to pick an ordering. alreadyCommitted <- lift $ shuffle $ committedPending ++ committedShared let newUtxo = utxoUnions $ map trUtxo alreadyCommitted (_1 . gelsSystemUtxo) %= utxoUnion newUtxo committedRest <- zoom gesSystemTrState $ replicateAtMostM remaining' $ genTransaction gepTrParams RemoveUsedInputs MakeOutputsAvailable Set.empty -- Increase length of current branch (_1 . gelsLength) += 1 -- Apply the block to the wallet's UTxO let block = OldestFirst (alreadyCommitted ++ committedRest) (_1 . gelsWalletUTxO) %= updateWalletUtxo block return $ ApplyBlock block -- Generate some transactions to be included in the next block ls'' <- withCombinedState_ ls' $ do stillAvailable <- Map.size <$> use (_1 . gelsNextBlock) newAvailable <- zoom gesSystemTrState $ replicateAtMostM (gepMaxBlockSize - stillAvailable) $ do genTransaction gepTrParams RemoveUsedInputs DontMakeOutputsAvailable Set.empty let newAvailable' = map (\tr -> (givenHash tr, tr)) newAvailable _1 . gelsNextBlock %= Map.union (Map.fromList newAvailable') -- Finally, decide how to branch -- -- A branching factor of 0 means that we terminate this branch at this -- point, a branching factor of 1 is just a linear continuation, and -- a higher branching factor is a proper fork. -- -- We can terminate this branch at this point only if we have exceeded -- the maximum height seen so far, guaranteeing that each next -- path through the tree is longer than the previous. This is necessary, -- because we only ever switch to a fork when the new fork is longer -- than the current let ourLength = ls'' ^. gelsLength prevForks <- use gegsPrevForks let allowedTerminate, allowedFork :: Bool allowedTerminate = case prevForks of [] -> True (prev:_) -> ourLength > prev allowedFork = length prevForks < gepMaxNumForks -- Is a particular branching factor applicable? applicable :: (Int, Int) -> Bool applicable (_freq, 0) = allowedTerminate applicable (_freq, 1) = True applicable (_freq, _) = allowedFork -- Applicable branching frequencies freqs :: [(Int, Int)] freqs = filter applicable $ zip gepBranchingFrequencies [0 ..] branchingFactor <- lift $ frequency $ map (second pure) freqs -- If we are done with this fork, record our length when (branchingFactor == 0) $ gegsPrevForks %= (ourLength :) return (ev, replicate branchingFactor ls'') -- Commit some of the given transactions commitSome :: Probability -> [(GivenHash (Transaction h a), Transaction h a)] -> GenBranch h a [(GivenHash (Transaction h a), Transaction h a)] commitSome p trs = do fmap catMaybes <$> forM trs $ \(h, tr) -> do shouldCommit <- lift $ toss p canCommit <- (`checkCanCommit` tr) <$> use (_1 . gelsSystemUtxo) if not (shouldCommit && canCommit) then return Nothing else do (_1 . gelsSystemUtxo) %= utxoRemoveInputs (trIns tr) return $ Just (h, tr) -- Check if all inputs are available in the given UTxO checkCanCommit :: Utxo h a -> Transaction h a -> Bool checkCanCommit u = all (`Set.member` utxoDomain u) . Set.toList . trIns -- Update the wallet's UTxO updateWalletUtxo :: Block h a -> Utxo h a -> Utxo h a updateWalletUtxo b = utxoRestrictToAddr ours . utxoApplyBlock b -- Addresses owned by the wallet ours :: a -> Bool ours = (`Set.member` gepOurs) -- Initial local state at the root of the tree initLocalState :: GenEventsLocalState h a initLocalState = GenEventsLocalState { _gelsSystemInpState = initInpState initSystemUtxo , _gelsWalletInpState = initInpState initWalletUtxo , _gelsNextBlock = Map.empty , _gelsLength = 0 } where initSystemUtxo = gepInitUtxo initWalletUtxo = utxoRestrictToAddr ours gepInitUtxo {------------------------------------------------------------------------------- Generate wallet events -------------------------------------------------------------------------------}
8,013
genEventTree :: forall h a. (Hash h a, Ord a) => GenEventsParams h a -> GenEvents h a (Tree (WalletEvent h a)) genEventTree GenEventsParams{..} = unfoldTreeM buildTree initLocalState where buildTree :: GenSeeds h a (WalletEvent h a) buildTree ls = do prevForks <- use gegsPrevForks -- We cannot submit pending transactions until a switch-to-fork is -- complete (a rollback of @N@ blocks and the subsequent @N + 1@ -- blocks will happen atomically). let ourLength = ls ^. gelsLength canSubmitPending = case prevForks of [] -> True prev:_ -> ourLength > prev shouldSubmitPending <- lift $ toss gepPendingProb if canSubmitPending && shouldSubmitPending then submitPending ls else generateBlock ls -- Try to submit a new pending transaction -- -- If this fails (if the wallet has no inputs available), we just repeat -- the random choice in 'buildTree'. submitPending :: GenSeeds h a (WalletEvent h a) submitPending ls = do pending <- use gegsPending (mTr, ls') <- withCombinedState ls $ zoom gesWalletTrState $ -- Pending transactions don't affect the UTxO, but should not use -- inputs already used by other pending transactions genTransaction gepTrParams DontRemoveUsedInputs DontMakeOutputsAvailable (Set.unions $ map trIns $ Map.elems pending) case mTr of Nothing -> buildTree ls' Just tr -> do gegsPending %= Map.insert (givenHash tr) tr return (NewPending tr, [ls']) -- Generate a block generateBlock :: GenSeeds h a (WalletEvent h a) generateBlock ls = do -- Create the block itself (ev, ls') <- withCombinedState ls $ do blockSize <- lift $ choose (0, gepMaxBlockSize) -- First, we choose some pending transactions to commit availablePending <- Map.toList <$> use (_2 . gegsPending) (_pendingHashes, committedPending) <- unzip <$> commitSome gepPendingCommitProb (take blockSize availablePending) let remaining = blockSize - length committedPending -- Next, we choose some transactions from the shared pool availableShared <- Map.toList <$> use (_1 . gelsNextBlock) (sharedHashes, committedShared) <- unzip <$> commitSome gepSharedCommitProb (take remaining availableShared) (_1 . gelsNextBlock) %= (`withoutKeys` Set.fromList sharedHashes) let remaining' = remaining - length committedShared -- Finally, we create some transactions specific to this block -- -- For these final transactions, we make the outputs of the -- already selected transactions available, so that the block does -- not only consist of independent transactions. This means we now -- also need to pick an ordering. alreadyCommitted <- lift $ shuffle $ committedPending ++ committedShared let newUtxo = utxoUnions $ map trUtxo alreadyCommitted (_1 . gelsSystemUtxo) %= utxoUnion newUtxo committedRest <- zoom gesSystemTrState $ replicateAtMostM remaining' $ genTransaction gepTrParams RemoveUsedInputs MakeOutputsAvailable Set.empty -- Increase length of current branch (_1 . gelsLength) += 1 -- Apply the block to the wallet's UTxO let block = OldestFirst (alreadyCommitted ++ committedRest) (_1 . gelsWalletUTxO) %= updateWalletUtxo block return $ ApplyBlock block -- Generate some transactions to be included in the next block ls'' <- withCombinedState_ ls' $ do stillAvailable <- Map.size <$> use (_1 . gelsNextBlock) newAvailable <- zoom gesSystemTrState $ replicateAtMostM (gepMaxBlockSize - stillAvailable) $ do genTransaction gepTrParams RemoveUsedInputs DontMakeOutputsAvailable Set.empty let newAvailable' = map (\tr -> (givenHash tr, tr)) newAvailable _1 . gelsNextBlock %= Map.union (Map.fromList newAvailable') -- Finally, decide how to branch -- -- A branching factor of 0 means that we terminate this branch at this -- point, a branching factor of 1 is just a linear continuation, and -- a higher branching factor is a proper fork. -- -- We can terminate this branch at this point only if we have exceeded -- the maximum height seen so far, guaranteeing that each next -- path through the tree is longer than the previous. This is necessary, -- because we only ever switch to a fork when the new fork is longer -- than the current let ourLength = ls'' ^. gelsLength prevForks <- use gegsPrevForks let allowedTerminate, allowedFork :: Bool allowedTerminate = case prevForks of [] -> True (prev:_) -> ourLength > prev allowedFork = length prevForks < gepMaxNumForks -- Is a particular branching factor applicable? applicable :: (Int, Int) -> Bool applicable (_freq, 0) = allowedTerminate applicable (_freq, 1) = True applicable (_freq, _) = allowedFork -- Applicable branching frequencies freqs :: [(Int, Int)] freqs = filter applicable $ zip gepBranchingFrequencies [0 ..] branchingFactor <- lift $ frequency $ map (second pure) freqs -- If we are done with this fork, record our length when (branchingFactor == 0) $ gegsPrevForks %= (ourLength :) return (ev, replicate branchingFactor ls'') -- Commit some of the given transactions commitSome :: Probability -> [(GivenHash (Transaction h a), Transaction h a)] -> GenBranch h a [(GivenHash (Transaction h a), Transaction h a)] commitSome p trs = do fmap catMaybes <$> forM trs $ \(h, tr) -> do shouldCommit <- lift $ toss p canCommit <- (`checkCanCommit` tr) <$> use (_1 . gelsSystemUtxo) if not (shouldCommit && canCommit) then return Nothing else do (_1 . gelsSystemUtxo) %= utxoRemoveInputs (trIns tr) return $ Just (h, tr) -- Check if all inputs are available in the given UTxO checkCanCommit :: Utxo h a -> Transaction h a -> Bool checkCanCommit u = all (`Set.member` utxoDomain u) . Set.toList . trIns -- Update the wallet's UTxO updateWalletUtxo :: Block h a -> Utxo h a -> Utxo h a updateWalletUtxo b = utxoRestrictToAddr ours . utxoApplyBlock b -- Addresses owned by the wallet ours :: a -> Bool ours = (`Set.member` gepOurs) -- Initial local state at the root of the tree initLocalState :: GenEventsLocalState h a initLocalState = GenEventsLocalState { _gelsSystemInpState = initInpState initSystemUtxo , _gelsWalletInpState = initInpState initWalletUtxo , _gelsNextBlock = Map.empty , _gelsLength = 0 } where initSystemUtxo = gepInitUtxo initWalletUtxo = utxoRestrictToAddr ours gepInitUtxo {------------------------------------------------------------------------------- Generate wallet events -------------------------------------------------------------------------------}
7,930
genEventTree GenEventsParams{..} = unfoldTreeM buildTree initLocalState where buildTree :: GenSeeds h a (WalletEvent h a) buildTree ls = do prevForks <- use gegsPrevForks -- We cannot submit pending transactions until a switch-to-fork is -- complete (a rollback of @N@ blocks and the subsequent @N + 1@ -- blocks will happen atomically). let ourLength = ls ^. gelsLength canSubmitPending = case prevForks of [] -> True prev:_ -> ourLength > prev shouldSubmitPending <- lift $ toss gepPendingProb if canSubmitPending && shouldSubmitPending then submitPending ls else generateBlock ls -- Try to submit a new pending transaction -- -- If this fails (if the wallet has no inputs available), we just repeat -- the random choice in 'buildTree'. submitPending :: GenSeeds h a (WalletEvent h a) submitPending ls = do pending <- use gegsPending (mTr, ls') <- withCombinedState ls $ zoom gesWalletTrState $ -- Pending transactions don't affect the UTxO, but should not use -- inputs already used by other pending transactions genTransaction gepTrParams DontRemoveUsedInputs DontMakeOutputsAvailable (Set.unions $ map trIns $ Map.elems pending) case mTr of Nothing -> buildTree ls' Just tr -> do gegsPending %= Map.insert (givenHash tr) tr return (NewPending tr, [ls']) -- Generate a block generateBlock :: GenSeeds h a (WalletEvent h a) generateBlock ls = do -- Create the block itself (ev, ls') <- withCombinedState ls $ do blockSize <- lift $ choose (0, gepMaxBlockSize) -- First, we choose some pending transactions to commit availablePending <- Map.toList <$> use (_2 . gegsPending) (_pendingHashes, committedPending) <- unzip <$> commitSome gepPendingCommitProb (take blockSize availablePending) let remaining = blockSize - length committedPending -- Next, we choose some transactions from the shared pool availableShared <- Map.toList <$> use (_1 . gelsNextBlock) (sharedHashes, committedShared) <- unzip <$> commitSome gepSharedCommitProb (take remaining availableShared) (_1 . gelsNextBlock) %= (`withoutKeys` Set.fromList sharedHashes) let remaining' = remaining - length committedShared -- Finally, we create some transactions specific to this block -- -- For these final transactions, we make the outputs of the -- already selected transactions available, so that the block does -- not only consist of independent transactions. This means we now -- also need to pick an ordering. alreadyCommitted <- lift $ shuffle $ committedPending ++ committedShared let newUtxo = utxoUnions $ map trUtxo alreadyCommitted (_1 . gelsSystemUtxo) %= utxoUnion newUtxo committedRest <- zoom gesSystemTrState $ replicateAtMostM remaining' $ genTransaction gepTrParams RemoveUsedInputs MakeOutputsAvailable Set.empty -- Increase length of current branch (_1 . gelsLength) += 1 -- Apply the block to the wallet's UTxO let block = OldestFirst (alreadyCommitted ++ committedRest) (_1 . gelsWalletUTxO) %= updateWalletUtxo block return $ ApplyBlock block -- Generate some transactions to be included in the next block ls'' <- withCombinedState_ ls' $ do stillAvailable <- Map.size <$> use (_1 . gelsNextBlock) newAvailable <- zoom gesSystemTrState $ replicateAtMostM (gepMaxBlockSize - stillAvailable) $ do genTransaction gepTrParams RemoveUsedInputs DontMakeOutputsAvailable Set.empty let newAvailable' = map (\tr -> (givenHash tr, tr)) newAvailable _1 . gelsNextBlock %= Map.union (Map.fromList newAvailable') -- Finally, decide how to branch -- -- A branching factor of 0 means that we terminate this branch at this -- point, a branching factor of 1 is just a linear continuation, and -- a higher branching factor is a proper fork. -- -- We can terminate this branch at this point only if we have exceeded -- the maximum height seen so far, guaranteeing that each next -- path through the tree is longer than the previous. This is necessary, -- because we only ever switch to a fork when the new fork is longer -- than the current let ourLength = ls'' ^. gelsLength prevForks <- use gegsPrevForks let allowedTerminate, allowedFork :: Bool allowedTerminate = case prevForks of [] -> True (prev:_) -> ourLength > prev allowedFork = length prevForks < gepMaxNumForks -- Is a particular branching factor applicable? applicable :: (Int, Int) -> Bool applicable (_freq, 0) = allowedTerminate applicable (_freq, 1) = True applicable (_freq, _) = allowedFork -- Applicable branching frequencies freqs :: [(Int, Int)] freqs = filter applicable $ zip gepBranchingFrequencies [0 ..] branchingFactor <- lift $ frequency $ map (second pure) freqs -- If we are done with this fork, record our length when (branchingFactor == 0) $ gegsPrevForks %= (ourLength :) return (ev, replicate branchingFactor ls'') -- Commit some of the given transactions commitSome :: Probability -> [(GivenHash (Transaction h a), Transaction h a)] -> GenBranch h a [(GivenHash (Transaction h a), Transaction h a)] commitSome p trs = do fmap catMaybes <$> forM trs $ \(h, tr) -> do shouldCommit <- lift $ toss p canCommit <- (`checkCanCommit` tr) <$> use (_1 . gelsSystemUtxo) if not (shouldCommit && canCommit) then return Nothing else do (_1 . gelsSystemUtxo) %= utxoRemoveInputs (trIns tr) return $ Just (h, tr) -- Check if all inputs are available in the given UTxO checkCanCommit :: Utxo h a -> Transaction h a -> Bool checkCanCommit u = all (`Set.member` utxoDomain u) . Set.toList . trIns -- Update the wallet's UTxO updateWalletUtxo :: Block h a -> Utxo h a -> Utxo h a updateWalletUtxo b = utxoRestrictToAddr ours . utxoApplyBlock b -- Addresses owned by the wallet ours :: a -> Bool ours = (`Set.member` gepOurs) -- Initial local state at the root of the tree initLocalState :: GenEventsLocalState h a initLocalState = GenEventsLocalState { _gelsSystemInpState = initInpState initSystemUtxo , _gelsWalletInpState = initInpState initWalletUtxo , _gelsNextBlock = Map.empty , _gelsLength = 0 } where initSystemUtxo = gepInitUtxo initWalletUtxo = utxoRestrictToAddr ours gepInitUtxo {------------------------------------------------------------------------------- Generate wallet events -------------------------------------------------------------------------------}
7,793
true
true
0
18
2,643
1,553
792
761
null
null
bos/statistics
tests/Tests/Distribution.hs
bsd-2-clause
---------------------------------------------------------------- -- Tests ---------------------------------------------------------------- -- Tests for continuous distribution contDistrTests :: (Param d, ContDistr d, QC.Arbitrary d, Typeable d, Show d) => T d -> TestTree contDistrTests t = testGroup ("Tests for: " ++ typeName t) $ cdfTests t ++ [ testProperty "PDF sanity" $ pdfSanityCheck t ] ++ [ (if quantileIsInvCDF_enabled t then id else ignoreTest) $ testProperty "Quantile is CDF inverse" $ quantileIsInvCDF t , testProperty "quantile fails p<0||p>1" $ quantileShouldFail t , testProperty "log density check" $ logDensityCheck t , testProperty "complQuantile" $ complQuantileCheck t ]
748
contDistrTests :: (Param d, ContDistr d, QC.Arbitrary d, Typeable d, Show d) => T d -> TestTree contDistrTests t = testGroup ("Tests for: " ++ typeName t) $ cdfTests t ++ [ testProperty "PDF sanity" $ pdfSanityCheck t ] ++ [ (if quantileIsInvCDF_enabled t then id else ignoreTest) $ testProperty "Quantile is CDF inverse" $ quantileIsInvCDF t , testProperty "quantile fails p<0||p>1" $ quantileShouldFail t , testProperty "log density check" $ logDensityCheck t , testProperty "complQuantile" $ complQuantileCheck t ]
571
contDistrTests t = testGroup ("Tests for: " ++ typeName t) $ cdfTests t ++ [ testProperty "PDF sanity" $ pdfSanityCheck t ] ++ [ (if quantileIsInvCDF_enabled t then id else ignoreTest) $ testProperty "Quantile is CDF inverse" $ quantileIsInvCDF t , testProperty "quantile fails p<0||p>1" $ quantileShouldFail t , testProperty "log density check" $ logDensityCheck t , testProperty "complQuantile" $ complQuantileCheck t ]
475
true
true
0
11
143
171
85
86
null
null
mariusae/sstable
test/BinarySearchTest.hs
bsd-3-clause
toArray l = listArray (0, (length l) - 1) l
50
toArray l = listArray (0, (length l) - 1) l
50
toArray l = listArray (0, (length l) - 1) l
50
false
false
0
9
16
30
15
15
null
null
jqpeterson/roc-translator
src/Protocol/ROC/PointTypes/PointType118.hs
bsd-3-clause
pointType118Parser :: Get PointType118 pointType118Parser = do tagID <- getByteString 10 startRegister1 <- getWord16le endRegister1 <- getWord16le rOCParametersRegRange1 <- getTLP indexingRegRange1 <- anyButNull conversionCodeRegRange1 <- getWord8 commPortRegRange1 <- getWord8 startRegister2 <- getWord16le endRegister2 <- getWord16le rOCParametersRegRange2 <- getTLP indexingRegRange2 <- anyButNull conversionCodeRegRange2 <- getWord8 commPortRegRange2 <- getWord8 startRegister3 <- getWord16le endRegister3 <- getWord16le rOCParametersRegRange3 <- getTLP indexingRegRange3 <- anyButNull conversionCodeRegRange3 <- getWord8 commPortRegRange3 <- getWord8 startRegister4 <- getWord16le endRegister4 <- getWord16le rOCParametersRegRange4 <- getTLP indexingRegRange4 <- anyButNull conversionCodeRegRange4 <- getWord8 commPortRegRange4 <- getWord8 startRegister5 <- getWord16le endRegister5 <- getWord16le rOCParametersRegRange5 <- getTLP indexingRegRange5 <- anyButNull conversionCodeRegRange5 <- getWord8 commPortRegRange5 <- getWord8 startRegister6 <- getWord16le endRegister6 <- getWord16le rOCParametersRegRange6 <- getTLP indexingRegRange6 <- anyButNull conversionCodeRegRange6 <- getWord8 commPortRegRange6 <- getWord8 startRegister7 <- getWord16le endRegister7 <- getWord16le rOCParametersRegRange7 <- getTLP indexingRegRange7 <- anyButNull conversionCodeRegRange7 <- getWord8 commPortRegRange7 <- getWord8 startRegister8 <- getWord16le endRegister8 <- getWord16le rOCParametersRegRange8 <- getTLP indexingRegRange8 <- anyButNull conversionCodeRegRange8 <- getWord8 commPortRegRange8 <- getWord8 startRegister9 <- getWord16le endRegister9 <- getWord16le rOCParametersRegRange9 <- getTLP indexingRegRange9 <- anyButNull conversionCodeRegRange9 <- getWord8 commPortRegRange9 <- getWord8 startRegister10 <- getWord16le endRegister10 <- getWord16le rOCParametersRegRange10 <- getTLP indexingRegRange10 <- anyButNull conversionCodeRegRange10 <- getWord8 commPortRegRange10 <- getWord8 startRegister11 <- getWord16le endRegister11 <- getWord16le rOCParametersRegRange11 <- getTLP indexingRegRange11 <- anyButNull conversionCodeRegRange11 <- getWord8 commPortRegRange11 <- getWord8 startRegister12 <- getWord16le endRegister12 <- getWord16le rOCParametersRegRange12 <- getTLP indexingRegRange12 <- anyButNull conversionCodeRegRange12 <- getWord8 commPortRegRange12 <- getWord8 startRegister13 <- getWord16le endRegister13 <- getWord16le rOCParametersRegRange13 <- getTLP indexingRegRange13 <- anyButNull conversionCodeRegRange13 <- getWord8 commPortRegRange13 <- getWord8 startRegister14 <- getWord16le endRegister14 <- getWord16le rOCParametersRegRange14 <- getTLP indexingRegRange14 <- anyButNull conversionCodeRegRange14 <- getWord8 commPortRegRange14 <- getWord8 startRegister15 <- getWord16le endRegister15 <- getWord16le rOCParametersRegRange15 <- getTLP indexingRegRange15 <- anyButNull conversionCodeRegRange15 <- getWord8 commPortRegRange15 <- getWord8 return $ PointType118 tagID startRegister1 endRegister1 rOCParametersRegRange1 indexingRegRange1 conversionCodeRegRange1 commPortRegRange1 startRegister2 endRegister2 rOCParametersRegRange2 indexingRegRange2 conversionCodeRegRange2 commPortRegRange2 startRegister3 endRegister3 rOCParametersRegRange3 indexingRegRange3 conversionCodeRegRange3 commPortRegRange3 startRegister4 endRegister4 rOCParametersRegRange4 indexingRegRange4 conversionCodeRegRange4 commPortRegRange4 startRegister5 endRegister5 rOCParametersRegRange5 indexingRegRange5 conversionCodeRegRange5 commPortRegRange5 startRegister6 endRegister6 rOCParametersRegRange6 indexingRegRange6 conversionCodeRegRange6 commPortRegRange6 startRegister7 endRegister7 rOCParametersRegRange7 indexingRegRange7 conversionCodeRegRange7 commPortRegRange7 startRegister8 endRegister8 rOCParametersRegRange8 indexingRegRange8 conversionCodeRegRange8 commPortRegRange8 startRegister9 endRegister9 rOCParametersRegRange9 indexingRegRange9 conversionCodeRegRange9 commPortRegRange9 startRegister10 endRegister10 rOCParametersRegRange10 indexingRegRange10 conversionCodeRegRange10 commPortRegRange10 startRegister11 endRegister11 rOCParametersRegRange11 indexingRegRange11 conversionCodeRegRange11 commPortRegRange11 startRegister12 endRegister12 rOCParametersRegRange12 indexingRegRange12 conversionCodeRegRange12 commPortRegRange12 startRegister13 endRegister13 rOCParametersRegRange13 indexingRegRange13 conversionCodeRegRange13 commPortRegRange13 startRegister14 endRegister14 rOCParametersRegRange14 indexingRegRange14 conversionCodeRegRange14 commPortRegRange14 startRegister15 endRegister15 rOCParametersRegRange15 indexingRegRange15 conversionCodeRegRange15 commPortRegRange15
5,000
pointType118Parser :: Get PointType118 pointType118Parser = do tagID <- getByteString 10 startRegister1 <- getWord16le endRegister1 <- getWord16le rOCParametersRegRange1 <- getTLP indexingRegRange1 <- anyButNull conversionCodeRegRange1 <- getWord8 commPortRegRange1 <- getWord8 startRegister2 <- getWord16le endRegister2 <- getWord16le rOCParametersRegRange2 <- getTLP indexingRegRange2 <- anyButNull conversionCodeRegRange2 <- getWord8 commPortRegRange2 <- getWord8 startRegister3 <- getWord16le endRegister3 <- getWord16le rOCParametersRegRange3 <- getTLP indexingRegRange3 <- anyButNull conversionCodeRegRange3 <- getWord8 commPortRegRange3 <- getWord8 startRegister4 <- getWord16le endRegister4 <- getWord16le rOCParametersRegRange4 <- getTLP indexingRegRange4 <- anyButNull conversionCodeRegRange4 <- getWord8 commPortRegRange4 <- getWord8 startRegister5 <- getWord16le endRegister5 <- getWord16le rOCParametersRegRange5 <- getTLP indexingRegRange5 <- anyButNull conversionCodeRegRange5 <- getWord8 commPortRegRange5 <- getWord8 startRegister6 <- getWord16le endRegister6 <- getWord16le rOCParametersRegRange6 <- getTLP indexingRegRange6 <- anyButNull conversionCodeRegRange6 <- getWord8 commPortRegRange6 <- getWord8 startRegister7 <- getWord16le endRegister7 <- getWord16le rOCParametersRegRange7 <- getTLP indexingRegRange7 <- anyButNull conversionCodeRegRange7 <- getWord8 commPortRegRange7 <- getWord8 startRegister8 <- getWord16le endRegister8 <- getWord16le rOCParametersRegRange8 <- getTLP indexingRegRange8 <- anyButNull conversionCodeRegRange8 <- getWord8 commPortRegRange8 <- getWord8 startRegister9 <- getWord16le endRegister9 <- getWord16le rOCParametersRegRange9 <- getTLP indexingRegRange9 <- anyButNull conversionCodeRegRange9 <- getWord8 commPortRegRange9 <- getWord8 startRegister10 <- getWord16le endRegister10 <- getWord16le rOCParametersRegRange10 <- getTLP indexingRegRange10 <- anyButNull conversionCodeRegRange10 <- getWord8 commPortRegRange10 <- getWord8 startRegister11 <- getWord16le endRegister11 <- getWord16le rOCParametersRegRange11 <- getTLP indexingRegRange11 <- anyButNull conversionCodeRegRange11 <- getWord8 commPortRegRange11 <- getWord8 startRegister12 <- getWord16le endRegister12 <- getWord16le rOCParametersRegRange12 <- getTLP indexingRegRange12 <- anyButNull conversionCodeRegRange12 <- getWord8 commPortRegRange12 <- getWord8 startRegister13 <- getWord16le endRegister13 <- getWord16le rOCParametersRegRange13 <- getTLP indexingRegRange13 <- anyButNull conversionCodeRegRange13 <- getWord8 commPortRegRange13 <- getWord8 startRegister14 <- getWord16le endRegister14 <- getWord16le rOCParametersRegRange14 <- getTLP indexingRegRange14 <- anyButNull conversionCodeRegRange14 <- getWord8 commPortRegRange14 <- getWord8 startRegister15 <- getWord16le endRegister15 <- getWord16le rOCParametersRegRange15 <- getTLP indexingRegRange15 <- anyButNull conversionCodeRegRange15 <- getWord8 commPortRegRange15 <- getWord8 return $ PointType118 tagID startRegister1 endRegister1 rOCParametersRegRange1 indexingRegRange1 conversionCodeRegRange1 commPortRegRange1 startRegister2 endRegister2 rOCParametersRegRange2 indexingRegRange2 conversionCodeRegRange2 commPortRegRange2 startRegister3 endRegister3 rOCParametersRegRange3 indexingRegRange3 conversionCodeRegRange3 commPortRegRange3 startRegister4 endRegister4 rOCParametersRegRange4 indexingRegRange4 conversionCodeRegRange4 commPortRegRange4 startRegister5 endRegister5 rOCParametersRegRange5 indexingRegRange5 conversionCodeRegRange5 commPortRegRange5 startRegister6 endRegister6 rOCParametersRegRange6 indexingRegRange6 conversionCodeRegRange6 commPortRegRange6 startRegister7 endRegister7 rOCParametersRegRange7 indexingRegRange7 conversionCodeRegRange7 commPortRegRange7 startRegister8 endRegister8 rOCParametersRegRange8 indexingRegRange8 conversionCodeRegRange8 commPortRegRange8 startRegister9 endRegister9 rOCParametersRegRange9 indexingRegRange9 conversionCodeRegRange9 commPortRegRange9 startRegister10 endRegister10 rOCParametersRegRange10 indexingRegRange10 conversionCodeRegRange10 commPortRegRange10 startRegister11 endRegister11 rOCParametersRegRange11 indexingRegRange11 conversionCodeRegRange11 commPortRegRange11 startRegister12 endRegister12 rOCParametersRegRange12 indexingRegRange12 conversionCodeRegRange12 commPortRegRange12 startRegister13 endRegister13 rOCParametersRegRange13 indexingRegRange13 conversionCodeRegRange13 commPortRegRange13 startRegister14 endRegister14 rOCParametersRegRange14 indexingRegRange14 conversionCodeRegRange14 commPortRegRange14 startRegister15 endRegister15 rOCParametersRegRange15 indexingRegRange15 conversionCodeRegRange15 commPortRegRange15
5,000
pointType118Parser = do tagID <- getByteString 10 startRegister1 <- getWord16le endRegister1 <- getWord16le rOCParametersRegRange1 <- getTLP indexingRegRange1 <- anyButNull conversionCodeRegRange1 <- getWord8 commPortRegRange1 <- getWord8 startRegister2 <- getWord16le endRegister2 <- getWord16le rOCParametersRegRange2 <- getTLP indexingRegRange2 <- anyButNull conversionCodeRegRange2 <- getWord8 commPortRegRange2 <- getWord8 startRegister3 <- getWord16le endRegister3 <- getWord16le rOCParametersRegRange3 <- getTLP indexingRegRange3 <- anyButNull conversionCodeRegRange3 <- getWord8 commPortRegRange3 <- getWord8 startRegister4 <- getWord16le endRegister4 <- getWord16le rOCParametersRegRange4 <- getTLP indexingRegRange4 <- anyButNull conversionCodeRegRange4 <- getWord8 commPortRegRange4 <- getWord8 startRegister5 <- getWord16le endRegister5 <- getWord16le rOCParametersRegRange5 <- getTLP indexingRegRange5 <- anyButNull conversionCodeRegRange5 <- getWord8 commPortRegRange5 <- getWord8 startRegister6 <- getWord16le endRegister6 <- getWord16le rOCParametersRegRange6 <- getTLP indexingRegRange6 <- anyButNull conversionCodeRegRange6 <- getWord8 commPortRegRange6 <- getWord8 startRegister7 <- getWord16le endRegister7 <- getWord16le rOCParametersRegRange7 <- getTLP indexingRegRange7 <- anyButNull conversionCodeRegRange7 <- getWord8 commPortRegRange7 <- getWord8 startRegister8 <- getWord16le endRegister8 <- getWord16le rOCParametersRegRange8 <- getTLP indexingRegRange8 <- anyButNull conversionCodeRegRange8 <- getWord8 commPortRegRange8 <- getWord8 startRegister9 <- getWord16le endRegister9 <- getWord16le rOCParametersRegRange9 <- getTLP indexingRegRange9 <- anyButNull conversionCodeRegRange9 <- getWord8 commPortRegRange9 <- getWord8 startRegister10 <- getWord16le endRegister10 <- getWord16le rOCParametersRegRange10 <- getTLP indexingRegRange10 <- anyButNull conversionCodeRegRange10 <- getWord8 commPortRegRange10 <- getWord8 startRegister11 <- getWord16le endRegister11 <- getWord16le rOCParametersRegRange11 <- getTLP indexingRegRange11 <- anyButNull conversionCodeRegRange11 <- getWord8 commPortRegRange11 <- getWord8 startRegister12 <- getWord16le endRegister12 <- getWord16le rOCParametersRegRange12 <- getTLP indexingRegRange12 <- anyButNull conversionCodeRegRange12 <- getWord8 commPortRegRange12 <- getWord8 startRegister13 <- getWord16le endRegister13 <- getWord16le rOCParametersRegRange13 <- getTLP indexingRegRange13 <- anyButNull conversionCodeRegRange13 <- getWord8 commPortRegRange13 <- getWord8 startRegister14 <- getWord16le endRegister14 <- getWord16le rOCParametersRegRange14 <- getTLP indexingRegRange14 <- anyButNull conversionCodeRegRange14 <- getWord8 commPortRegRange14 <- getWord8 startRegister15 <- getWord16le endRegister15 <- getWord16le rOCParametersRegRange15 <- getTLP indexingRegRange15 <- anyButNull conversionCodeRegRange15 <- getWord8 commPortRegRange15 <- getWord8 return $ PointType118 tagID startRegister1 endRegister1 rOCParametersRegRange1 indexingRegRange1 conversionCodeRegRange1 commPortRegRange1 startRegister2 endRegister2 rOCParametersRegRange2 indexingRegRange2 conversionCodeRegRange2 commPortRegRange2 startRegister3 endRegister3 rOCParametersRegRange3 indexingRegRange3 conversionCodeRegRange3 commPortRegRange3 startRegister4 endRegister4 rOCParametersRegRange4 indexingRegRange4 conversionCodeRegRange4 commPortRegRange4 startRegister5 endRegister5 rOCParametersRegRange5 indexingRegRange5 conversionCodeRegRange5 commPortRegRange5 startRegister6 endRegister6 rOCParametersRegRange6 indexingRegRange6 conversionCodeRegRange6 commPortRegRange6 startRegister7 endRegister7 rOCParametersRegRange7 indexingRegRange7 conversionCodeRegRange7 commPortRegRange7 startRegister8 endRegister8 rOCParametersRegRange8 indexingRegRange8 conversionCodeRegRange8 commPortRegRange8 startRegister9 endRegister9 rOCParametersRegRange9 indexingRegRange9 conversionCodeRegRange9 commPortRegRange9 startRegister10 endRegister10 rOCParametersRegRange10 indexingRegRange10 conversionCodeRegRange10 commPortRegRange10 startRegister11 endRegister11 rOCParametersRegRange11 indexingRegRange11 conversionCodeRegRange11 commPortRegRange11 startRegister12 endRegister12 rOCParametersRegRange12 indexingRegRange12 conversionCodeRegRange12 commPortRegRange12 startRegister13 endRegister13 rOCParametersRegRange13 indexingRegRange13 conversionCodeRegRange13 commPortRegRange13 startRegister14 endRegister14 rOCParametersRegRange14 indexingRegRange14 conversionCodeRegRange14 commPortRegRange14 startRegister15 endRegister15 rOCParametersRegRange15 indexingRegRange15 conversionCodeRegRange15 commPortRegRange15
4,961
false
true
0
8
686
844
375
469
null
null
oldmanmike/ghc
compiler/deSugar/Coverage.hs
bsd-3-clause
addTickLHsExprNever :: LHsExpr Id -> TM (LHsExpr Id) addTickLHsExprNever (L pos e0) = do e1 <- addTickHsExpr e0 return $ L pos e1 -- general heuristic: expressions which do not denote values are good -- break points
224
addTickLHsExprNever :: LHsExpr Id -> TM (LHsExpr Id) addTickLHsExprNever (L pos e0) = do e1 <- addTickHsExpr e0 return $ L pos e1 -- general heuristic: expressions which do not denote values are good -- break points
224
addTickLHsExprNever (L pos e0) = do e1 <- addTickHsExpr e0 return $ L pos e1 -- general heuristic: expressions which do not denote values are good -- break points
171
false
true
0
8
45
62
29
33
null
null
testexplode/testexplode
src/TestExplode/TestExplode.hs
lgpl-3.0
generate :: L.Text -- ^ how a text is coomented, ("# " or "-- ") -> [cnf] -- ^ a list of the testvalues -> locals -- ^ the initial value of the variables that the -- testcases change -> (cnf -> L.Text) -- ^ "prelude" of a testcase, i.e. 'show' of cnf -> DirGraph (CasepartInternal cnf locals) -- ^ the graph of caseparts -> [L.Text] -- ^ the final result: the list of testcases incl. comments generate commentString cnfList locals cnfShow graph = [L.concat[mkComment(L.concat[(cnfShow cnf),"\n", desc]) commentString, DF.fold $ snd $ runWriter (stringFkt cnf locals) ] | cnf <- cnfList, -- Casepart stringFkt cond <- cpGetPaths graph, -- cond cnf] -- -- Does this work too? is independent of the -- structure, uses record syntax let cpList = cpGetPaths commentString graph, (stringFkt, cond, desc) <- map getCodeAndConditionAndDesc cpList, cond cnf locals]
1,232
generate :: L.Text -- ^ how a text is coomented, ("# " or "-- ") -> [cnf] -- ^ a list of the testvalues -> locals -- ^ the initial value of the variables that the -- testcases change -> (cnf -> L.Text) -- ^ "prelude" of a testcase, i.e. 'show' of cnf -> DirGraph (CasepartInternal cnf locals) -- ^ the graph of caseparts -> [L.Text] generate commentString cnfList locals cnfShow graph = [L.concat[mkComment(L.concat[(cnfShow cnf),"\n", desc]) commentString, DF.fold $ snd $ runWriter (stringFkt cnf locals) ] | cnf <- cnfList, -- Casepart stringFkt cond <- cpGetPaths graph, -- cond cnf] -- -- Does this work too? is independent of the -- structure, uses record syntax let cpList = cpGetPaths commentString graph, (stringFkt, cond, desc) <- map getCodeAndConditionAndDesc cpList, cond cnf locals]
1,171
generate commentString cnfList locals cnfShow graph = [L.concat[mkComment(L.concat[(cnfShow cnf),"\n", desc]) commentString, DF.fold $ snd $ runWriter (stringFkt cnf locals) ] | cnf <- cnfList, -- Casepart stringFkt cond <- cpGetPaths graph, -- cond cnf] -- -- Does this work too? is independent of the -- structure, uses record syntax let cpList = cpGetPaths commentString graph, (stringFkt, cond, desc) <- map getCodeAndConditionAndDesc cpList, cond cnf locals]
738
true
true
0
13
517
201
109
92
null
null
kovach/web2
src/Reflection.hs
mit
withR = withL (rlens)
21
withR = withL (rlens)
21
withR = withL (rlens)
21
false
false
0
6
3
12
6
6
null
null
Mahdi89/eTeak
src/Misc.hs
bsd-3-clause
capitalise cs = cs
18
capitalise cs = cs
18
capitalise cs = cs
18
false
false
0
5
3
9
4
5
null
null
circuithub/haskell-filepicker-policy
tests/Network/Filepicker/PolicySpec.hs
mit
spec :: Spec spec = do describe "policy json" $ do it "read policy" $ do (A.encode . setHandle "AAAAAAAAAAAAAAAAAAAA" . addCall Read . expiryToPolicy $ expiryDate) `shouldBe` [RAW.r|{"expiry":1577836800,"handle":"AAAAAAAAAAAAAAAAAAAA","call":["read"]}|] describe "signed policy URL parameters" $ do it "read policy" $ do (encodePolicyS "OOOOOOOOOOOOOOOOOOOOOOOOO" . setHandle "AAAAAAAAAAAAAAAAAAAA" . addCall Read . expiryToPolicy $ expiryDate) `shouldBe` [RAW.r|signature=c4cf11c73fa1511b558f1182547079ad54e9976837f25cdf820eb3c04a402dd6&policy=eyJleHBpcnkiOjE1Nzc4MzY4MDAsImhhbmRsZSI6IkFBQUFBQUFBQUFBQUFBQUFBQUFBIiwiY2FsbCI6WyJyZWFkIl19|]
696
spec :: Spec spec = do describe "policy json" $ do it "read policy" $ do (A.encode . setHandle "AAAAAAAAAAAAAAAAAAAA" . addCall Read . expiryToPolicy $ expiryDate) `shouldBe` [RAW.r|{"expiry":1577836800,"handle":"AAAAAAAAAAAAAAAAAAAA","call":["read"]}|] describe "signed policy URL parameters" $ do it "read policy" $ do (encodePolicyS "OOOOOOOOOOOOOOOOOOOOOOOOO" . setHandle "AAAAAAAAAAAAAAAAAAAA" . addCall Read . expiryToPolicy $ expiryDate) `shouldBe` [RAW.r|signature=c4cf11c73fa1511b558f1182547079ad54e9976837f25cdf820eb3c04a402dd6&policy=eyJleHBpcnkiOjE1Nzc4MzY4MDAsImhhbmRsZSI6IkFBQUFBQUFBQUFBQUFBQUFBQUFBIiwiY2FsbCI6WyJyZWFkIl19|]
696
spec = do describe "policy json" $ do it "read policy" $ do (A.encode . setHandle "AAAAAAAAAAAAAAAAAAAA" . addCall Read . expiryToPolicy $ expiryDate) `shouldBe` [RAW.r|{"expiry":1577836800,"handle":"AAAAAAAAAAAAAAAAAAAA","call":["read"]}|] describe "signed policy URL parameters" $ do it "read policy" $ do (encodePolicyS "OOOOOOOOOOOOOOOOOOOOOOOOO" . setHandle "AAAAAAAAAAAAAAAAAAAA" . addCall Read . expiryToPolicy $ expiryDate) `shouldBe` [RAW.r|signature=c4cf11c73fa1511b558f1182547079ad54e9976837f25cdf820eb3c04a402dd6&policy=eyJleHBpcnkiOjE1Nzc4MzY4MDAsImhhbmRsZSI6IkFBQUFBQUFBQUFBQUFBQUFBQUFBIiwiY2FsbCI6WyJyZWFkIl19|]
683
false
true
0
19
111
143
69
74
null
null
Cahu/krpc-hs
src/KRPCHS/SpaceCenter.hs
gpl-3.0
{- - The maximum amount of thrust that can be produced by the engine in a - vacuum, in Newtons. This is the amount of thrust produced by the engine - when activated, <see cref="M:SpaceCenter.Engine.ThrustLimit" /> is set to 100%, the main - vessel's throttle is set to 100% and the engine is in a vacuum. -} getEngineMaxVacuumThrust :: KRPCHS.SpaceCenter.Engine -> RPCContext (Float) getEngineMaxVacuumThrust thisArg = do let r = makeRequest "SpaceCenter" "Engine_get_MaxVacuumThrust" [makeArgument 0 thisArg] res <- sendRequest r processResponse res
567
getEngineMaxVacuumThrust :: KRPCHS.SpaceCenter.Engine -> RPCContext (Float) getEngineMaxVacuumThrust thisArg = do let r = makeRequest "SpaceCenter" "Engine_get_MaxVacuumThrust" [makeArgument 0 thisArg] res <- sendRequest r processResponse res
254
getEngineMaxVacuumThrust thisArg = do let r = makeRequest "SpaceCenter" "Engine_get_MaxVacuumThrust" [makeArgument 0 thisArg] res <- sendRequest r processResponse res
178
true
true
0
13
98
73
33
40
null
null
urbanslug/ghc
compiler/prelude/THNames.hs
bsd-3-clause
-- data TyVarBndr = ... plainTVIdKey, kindedTVIdKey :: Unique plainTVIdKey = mkPreludeMiscIdUnique 397
108
plainTVIdKey, kindedTVIdKey :: Unique plainTVIdKey = mkPreludeMiscIdUnique 397
84
plainTVIdKey = mkPreludeMiscIdUnique 397
46
true
true
2
6
18
27
11
16
null
null
christiaanb/DepCore
Test.hs
bsd-2-clause
evalCase _ _ _ = throwError "evalCase: Label expected"
54
evalCase _ _ _ = throwError "evalCase: Label expected"
54
evalCase _ _ _ = throwError "evalCase: Label expected"
54
false
false
1
5
8
16
6
10
null
null
shayan-najd/QFeldspar
QFeldspar/Environment/Typed.hs
gpl-3.0
foldl :: (forall t. b -> tfa t -> b) -> b -> Env tfa r -> b foldl _ z Emp = z
84
foldl :: (forall t. b -> tfa t -> b) -> b -> Env tfa r -> b foldl _ z Emp = z
84
foldl _ z Emp = z
24
false
true
0
11
30
60
28
32
null
null
tanimoto/orc
src/Control/Concurrent/Hierarchical.hs
bsd-3-clause
-- set to False to disable reporting threadCount :: TVar Integer threadCount = unsafePerformIO $ newTVar 0
135
threadCount :: TVar Integer threadCount = unsafePerformIO $ newTVar 0
69
threadCount = unsafePerformIO $ newTVar 0
41
true
true
0
6
45
22
11
11
null
null
phischu/fragnix
builtins/ghc-prim/GHC.Prim.hs
bsd-3-clause
-- | Read a vector from specified index of immutable array. indexInt16X32Array# :: ByteArray# -> Int# -> Int16X32# indexInt16X32Array# = indexInt16X32Array#
158
indexInt16X32Array# :: ByteArray# -> Int# -> Int16X32# indexInt16X32Array# = indexInt16X32Array#
96
indexInt16X32Array# = indexInt16X32Array#
41
true
true
0
6
22
20
11
9
null
null
tolysz/prepare-ghcjs
spec-lts8/cabal/cabal-install/Distribution/Client/Install.hs
bsd-3-clause
pruneInstallPlan :: Package targetpkg => [PackageSpecifier targetpkg] -> InstallPlan -> Progress String String InstallPlan pruneInstallPlan pkgSpecifiers = -- TODO: this is a general feature and should be moved to D.C.Dependency -- Also, the InstallPlan.remove should return info more precise to the -- problem, rather than the very general PlanProblem type. either (Fail . explain) Done . InstallPlan.remove (\pkg -> packageName pkg `elem` targetnames) where explain :: [InstallPlan.PlanProblem ipkg srcpkg iresult ifailure] -> String explain problems = "Cannot select only the dependencies (as requested by the " ++ "'--only-dependencies' flag), " ++ (case pkgids of [pkgid] -> "the package " ++ display pkgid ++ " is " _ -> "the packages " ++ intercalate ", " (map display pkgids) ++ " are ") ++ "required by a dependency of one of the other targets." where pkgids = nub [ depid | InstallPlan.PackageMissingDeps _ depids <- problems , depid <- depids , packageName depid `elem` targetnames ] targetnames = map pkgSpecifierTarget pkgSpecifiers -- ------------------------------------------------------------ -- * Informational messages -- ------------------------------------------------------------ -- | Perform post-solver checks of the install plan and print it if -- either requested or needed.
1,525
pruneInstallPlan :: Package targetpkg => [PackageSpecifier targetpkg] -> InstallPlan -> Progress String String InstallPlan pruneInstallPlan pkgSpecifiers = -- TODO: this is a general feature and should be moved to D.C.Dependency -- Also, the InstallPlan.remove should return info more precise to the -- problem, rather than the very general PlanProblem type. either (Fail . explain) Done . InstallPlan.remove (\pkg -> packageName pkg `elem` targetnames) where explain :: [InstallPlan.PlanProblem ipkg srcpkg iresult ifailure] -> String explain problems = "Cannot select only the dependencies (as requested by the " ++ "'--only-dependencies' flag), " ++ (case pkgids of [pkgid] -> "the package " ++ display pkgid ++ " is " _ -> "the packages " ++ intercalate ", " (map display pkgids) ++ " are ") ++ "required by a dependency of one of the other targets." where pkgids = nub [ depid | InstallPlan.PackageMissingDeps _ depids <- problems , depid <- depids , packageName depid `elem` targetnames ] targetnames = map pkgSpecifierTarget pkgSpecifiers -- ------------------------------------------------------------ -- * Informational messages -- ------------------------------------------------------------ -- | Perform post-solver checks of the install plan and print it if -- either requested or needed.
1,525
pruneInstallPlan pkgSpecifiers = -- TODO: this is a general feature and should be moved to D.C.Dependency -- Also, the InstallPlan.remove should return info more precise to the -- problem, rather than the very general PlanProblem type. either (Fail . explain) Done . InstallPlan.remove (\pkg -> packageName pkg `elem` targetnames) where explain :: [InstallPlan.PlanProblem ipkg srcpkg iresult ifailure] -> String explain problems = "Cannot select only the dependencies (as requested by the " ++ "'--only-dependencies' flag), " ++ (case pkgids of [pkgid] -> "the package " ++ display pkgid ++ " is " _ -> "the packages " ++ intercalate ", " (map display pkgids) ++ " are ") ++ "required by a dependency of one of the other targets." where pkgids = nub [ depid | InstallPlan.PackageMissingDeps _ depids <- problems , depid <- depids , packageName depid `elem` targetnames ] targetnames = map pkgSpecifierTarget pkgSpecifiers -- ------------------------------------------------------------ -- * Informational messages -- ------------------------------------------------------------ -- | Perform post-solver checks of the install plan and print it if -- either requested or needed.
1,351
false
true
4
16
410
249
128
121
null
null
k0001/gtk2hs
gtk/demo/unicode/Arabic.hs
gpl-3.0
arabic :: String arabic = markSpan [FontSize (SizePoint 36)] $ --"Is Haskell a "++markSpan [FontForeground "red"] "fantastic"++" language?"++ -- Do you find Haskell a fantastic language? (language has a grammatical -- mistake in it) map chr [0x647,0x644,32,0x62A,0x62C,0x62F,0x646,32]++ markSpan [FontForeground "red"] (map chr [0x647,0x622,0x633,0x643,0x622,0x644])++ map chr [32,0x644,0x63A,0x62A,32,0x645,0x62F,0x647,0x634,0x62A,0x61F]
452
arabic :: String arabic = markSpan [FontSize (SizePoint 36)] $ --"Is Haskell a "++markSpan [FontForeground "red"] "fantastic"++" language?"++ -- Do you find Haskell a fantastic language? (language has a grammatical -- mistake in it) map chr [0x647,0x644,32,0x62A,0x62C,0x62F,0x646,32]++ markSpan [FontForeground "red"] (map chr [0x647,0x622,0x633,0x643,0x622,0x644])++ map chr [32,0x644,0x63A,0x62A,32,0x645,0x62F,0x647,0x634,0x62A,0x61F]
452
arabic = markSpan [FontSize (SizePoint 36)] $ --"Is Haskell a "++markSpan [FontForeground "red"] "fantastic"++" language?"++ -- Do you find Haskell a fantastic language? (language has a grammatical -- mistake in it) map chr [0x647,0x644,32,0x62A,0x62C,0x62F,0x646,32]++ markSpan [FontForeground "red"] (map chr [0x647,0x622,0x633,0x643,0x622,0x644])++ map chr [32,0x644,0x63A,0x62A,32,0x645,0x62F,0x647,0x634,0x62A,0x61F]
435
false
true
0
10
59
154
86
68
null
null
ComputationWithBoundedResources/ara-inference
doc/tpdb_trs/Haskell/basic_haskell/enumFromTo_3.hs
mit
not MyFalse = MyTrue
20
not MyFalse = MyTrue
20
not MyFalse = MyTrue
20
false
false
1
5
3
13
4
9
null
null
phischu/fragnix
builtins/base/GHC.IO.Handle.Types.hs
bsd-3-clause
isReadableHandleType :: HandleType -> Bool isReadableHandleType ReadHandle = True
89
isReadableHandleType :: HandleType -> Bool isReadableHandleType ReadHandle = True
89
isReadableHandleType ReadHandle = True
46
false
true
0
5
16
18
9
9
null
null
mettekou/ghc
libraries/base/Data/List/NonEmpty.hs
bsd-3-clause
-- | Compute n-ary logic exclusive OR operation on 'NonEmpty' list. xor :: NonEmpty Bool -> Bool xor (x :| xs) = foldr xor' x xs where xor' True y = not y xor' False y = y -- | 'unfold' produces a new stream by repeatedly applying the unfolding -- function to the seed value to produce an element of type @b@ and a new -- seed value. When the unfolding function returns 'Nothing' instead of -- a new seed value, the stream ends.
443
xor :: NonEmpty Bool -> Bool xor (x :| xs) = foldr xor' x xs where xor' True y = not y xor' False y = y -- | 'unfold' produces a new stream by repeatedly applying the unfolding -- function to the seed value to produce an element of type @b@ and a new -- seed value. When the unfolding function returns 'Nothing' instead of -- a new seed value, the stream ends.
375
xor (x :| xs) = foldr xor' x xs where xor' True y = not y xor' False y = y -- | 'unfold' produces a new stream by repeatedly applying the unfolding -- function to the seed value to produce an element of type @b@ and a new -- seed value. When the unfolding function returns 'Nothing' instead of -- a new seed value, the stream ends.
346
true
true
1
7
99
65
34
31
null
null
ksaveljev/hake-2
src/Render/RenderAPIConstants.hs
bsd-3-clause
glRendererPCX1 = 0x00000010 :: Int
40
glRendererPCX1 = 0x00000010 :: Int
40
glRendererPCX1 = 0x00000010 :: Int
40
false
false
0
4
10
9
5
4
null
null
sanjoy/echoes
src/Codegen/RegAlloc.hs
gpl-3.0
nullRegAlloc :: Graph LNode C C -> M (Graph (RegInfNode RgLNode) C C, Int) nullRegAlloc graph = let (frameSize, varMaps) = foldGraphNodes accSSAVar graph (wordSize, M.empty) in liftM (, frameSize) $ mapConcatGraph (spillCO, spillOO varMaps, spillOC varMaps) graph where accSSAVar :: forall e x. LNode e x -> (Int, M.Map SSAVar Int) -> (Int, M.Map SSAVar Int) accSSAVar node (maxIndex, slots) = let insVarIfNeeded (curIdx, varToIdx) v = if v `M.member` varToIdx then (curIdx, varToIdx) else (curIdx + wordSize, M.insert v curIdx varToIdx) in foldl insVarIfNeeded (maxIndex, slots) (getLVarsWritten node) -- In this "null" register allocator, we simply spill *all* the -- SSAVars to the stack; and emit code to load / store these on -- every instruction. This is pretty much the worst we can do but -- also the easiest thing that can possibly work. spillCO :: LNode C O -> M (Graph (RegInfNode RgLNode) C O) spillCO (LabelLN lbl) = return $ mkFirst $ RegInfNode allRegsFree (LabelLN lbl) spillOO :: M.Map SSAVar Int -> LNode O O -> M (Graph (RegInfNode RgLNode) O O) spillOO slots node = let [varsRead, varsWritten] = map (\f -> f node) [getLVarsRead, getLVarsWritten] varsTouched = varsRead ++ varsWritten assignRegs = M.fromList $ zip varsTouched $ S.toList generalRegSet -- Loads from the stack (freeRegsAfterLoads, loadInsts) = foldl (genLoadInst assignRegs slots) (allRegsFree, []) varsRead (_, storeInsts) = let regsWritten = map (`directLookup` assignRegs) varsRead in foldl genStoreInst (regsWritten `riRemoveFreeRegL` allRegsFree, []) varsWritten genStoreInst :: (RegInfo Reg, [RegInfNode RgLNode O O]) -> SSAVar -> (RegInfo Reg, [RegInfNode RgLNode O O]) genStoreInst (freeRegsTillNow, stores) ssaVar = let reg = ssaVar `directLookup` assignRegs offset = ssaVar `directLookup` slots in (reg `riRemoveFreeReg` freeRegsTillNow, RegInfNode freeRegsTillNow ( StoreWordLN (StackOffsetSA offset) (VarR reg)):stores) newNode = RegInfNode freeRegsAfterLoads $ mapGenLNodeRegs (`directLookup` assignRegs) node in return $ mkMiddles $ loadInsts ++ [newNode] ++ storeInsts spillOC :: M.Map SSAVar Int -> LNode O C -> M (Graph (RegInfNode RgLNode) O C) spillOC slots node = let varsRead = getLVarsRead node assignRegs = M.fromList $ zip varsRead $ S.toList generalRegSet -- Loads from the stack (freeRegsAfterLoads, loadInsts) = foldl (genLoadInst assignRegs slots) (allRegsFree, []) varsRead newNode = RegInfNode freeRegsAfterLoads $ mapGenLNodeRegs (`directLookup` assignRegs) node in return $ mkMiddles loadInsts Compiler.Hoopl.<*> mkLast newNode genLoadInst :: M.Map SSAVar Reg -> M.Map SSAVar Int -> (RegInfo Reg, [RegInfNode RgLNode O O]) -> SSAVar -> (RegInfo Reg, [RegInfNode RgLNode O O]) genLoadInst assignRegs slots (freeRegsTillNow, loads) ssaVar = let reg = ssaVar `directLookup` assignRegs offset = ssaVar `directLookup` slots in (reg `riRemoveFreeReg` freeRegsTillNow, RegInfNode freeRegsTillNow ( LoadWordLN (StackOffsetSA offset) reg):loads) allRegsFree = riAddFreeReg' generalRegSet riNewRegInfo directLookup k m = Mby.fromMaybe crash (M.lookup k m) where crash = error $ "directLookup: " ++ show k ++ " not in " ++ show m riRemoveFreeRegL = flip (foldl (flip riRemoveFreeReg))
3,843
nullRegAlloc :: Graph LNode C C -> M (Graph (RegInfNode RgLNode) C C, Int) nullRegAlloc graph = let (frameSize, varMaps) = foldGraphNodes accSSAVar graph (wordSize, M.empty) in liftM (, frameSize) $ mapConcatGraph (spillCO, spillOO varMaps, spillOC varMaps) graph where accSSAVar :: forall e x. LNode e x -> (Int, M.Map SSAVar Int) -> (Int, M.Map SSAVar Int) accSSAVar node (maxIndex, slots) = let insVarIfNeeded (curIdx, varToIdx) v = if v `M.member` varToIdx then (curIdx, varToIdx) else (curIdx + wordSize, M.insert v curIdx varToIdx) in foldl insVarIfNeeded (maxIndex, slots) (getLVarsWritten node) -- In this "null" register allocator, we simply spill *all* the -- SSAVars to the stack; and emit code to load / store these on -- every instruction. This is pretty much the worst we can do but -- also the easiest thing that can possibly work. spillCO :: LNode C O -> M (Graph (RegInfNode RgLNode) C O) spillCO (LabelLN lbl) = return $ mkFirst $ RegInfNode allRegsFree (LabelLN lbl) spillOO :: M.Map SSAVar Int -> LNode O O -> M (Graph (RegInfNode RgLNode) O O) spillOO slots node = let [varsRead, varsWritten] = map (\f -> f node) [getLVarsRead, getLVarsWritten] varsTouched = varsRead ++ varsWritten assignRegs = M.fromList $ zip varsTouched $ S.toList generalRegSet -- Loads from the stack (freeRegsAfterLoads, loadInsts) = foldl (genLoadInst assignRegs slots) (allRegsFree, []) varsRead (_, storeInsts) = let regsWritten = map (`directLookup` assignRegs) varsRead in foldl genStoreInst (regsWritten `riRemoveFreeRegL` allRegsFree, []) varsWritten genStoreInst :: (RegInfo Reg, [RegInfNode RgLNode O O]) -> SSAVar -> (RegInfo Reg, [RegInfNode RgLNode O O]) genStoreInst (freeRegsTillNow, stores) ssaVar = let reg = ssaVar `directLookup` assignRegs offset = ssaVar `directLookup` slots in (reg `riRemoveFreeReg` freeRegsTillNow, RegInfNode freeRegsTillNow ( StoreWordLN (StackOffsetSA offset) (VarR reg)):stores) newNode = RegInfNode freeRegsAfterLoads $ mapGenLNodeRegs (`directLookup` assignRegs) node in return $ mkMiddles $ loadInsts ++ [newNode] ++ storeInsts spillOC :: M.Map SSAVar Int -> LNode O C -> M (Graph (RegInfNode RgLNode) O C) spillOC slots node = let varsRead = getLVarsRead node assignRegs = M.fromList $ zip varsRead $ S.toList generalRegSet -- Loads from the stack (freeRegsAfterLoads, loadInsts) = foldl (genLoadInst assignRegs slots) (allRegsFree, []) varsRead newNode = RegInfNode freeRegsAfterLoads $ mapGenLNodeRegs (`directLookup` assignRegs) node in return $ mkMiddles loadInsts Compiler.Hoopl.<*> mkLast newNode genLoadInst :: M.Map SSAVar Reg -> M.Map SSAVar Int -> (RegInfo Reg, [RegInfNode RgLNode O O]) -> SSAVar -> (RegInfo Reg, [RegInfNode RgLNode O O]) genLoadInst assignRegs slots (freeRegsTillNow, loads) ssaVar = let reg = ssaVar `directLookup` assignRegs offset = ssaVar `directLookup` slots in (reg `riRemoveFreeReg` freeRegsTillNow, RegInfNode freeRegsTillNow ( LoadWordLN (StackOffsetSA offset) reg):loads) allRegsFree = riAddFreeReg' generalRegSet riNewRegInfo directLookup k m = Mby.fromMaybe crash (M.lookup k m) where crash = error $ "directLookup: " ++ show k ++ " not in " ++ show m riRemoveFreeRegL = flip (foldl (flip riRemoveFreeReg))
3,843
nullRegAlloc graph = let (frameSize, varMaps) = foldGraphNodes accSSAVar graph (wordSize, M.empty) in liftM (, frameSize) $ mapConcatGraph (spillCO, spillOO varMaps, spillOC varMaps) graph where accSSAVar :: forall e x. LNode e x -> (Int, M.Map SSAVar Int) -> (Int, M.Map SSAVar Int) accSSAVar node (maxIndex, slots) = let insVarIfNeeded (curIdx, varToIdx) v = if v `M.member` varToIdx then (curIdx, varToIdx) else (curIdx + wordSize, M.insert v curIdx varToIdx) in foldl insVarIfNeeded (maxIndex, slots) (getLVarsWritten node) -- In this "null" register allocator, we simply spill *all* the -- SSAVars to the stack; and emit code to load / store these on -- every instruction. This is pretty much the worst we can do but -- also the easiest thing that can possibly work. spillCO :: LNode C O -> M (Graph (RegInfNode RgLNode) C O) spillCO (LabelLN lbl) = return $ mkFirst $ RegInfNode allRegsFree (LabelLN lbl) spillOO :: M.Map SSAVar Int -> LNode O O -> M (Graph (RegInfNode RgLNode) O O) spillOO slots node = let [varsRead, varsWritten] = map (\f -> f node) [getLVarsRead, getLVarsWritten] varsTouched = varsRead ++ varsWritten assignRegs = M.fromList $ zip varsTouched $ S.toList generalRegSet -- Loads from the stack (freeRegsAfterLoads, loadInsts) = foldl (genLoadInst assignRegs slots) (allRegsFree, []) varsRead (_, storeInsts) = let regsWritten = map (`directLookup` assignRegs) varsRead in foldl genStoreInst (regsWritten `riRemoveFreeRegL` allRegsFree, []) varsWritten genStoreInst :: (RegInfo Reg, [RegInfNode RgLNode O O]) -> SSAVar -> (RegInfo Reg, [RegInfNode RgLNode O O]) genStoreInst (freeRegsTillNow, stores) ssaVar = let reg = ssaVar `directLookup` assignRegs offset = ssaVar `directLookup` slots in (reg `riRemoveFreeReg` freeRegsTillNow, RegInfNode freeRegsTillNow ( StoreWordLN (StackOffsetSA offset) (VarR reg)):stores) newNode = RegInfNode freeRegsAfterLoads $ mapGenLNodeRegs (`directLookup` assignRegs) node in return $ mkMiddles $ loadInsts ++ [newNode] ++ storeInsts spillOC :: M.Map SSAVar Int -> LNode O C -> M (Graph (RegInfNode RgLNode) O C) spillOC slots node = let varsRead = getLVarsRead node assignRegs = M.fromList $ zip varsRead $ S.toList generalRegSet -- Loads from the stack (freeRegsAfterLoads, loadInsts) = foldl (genLoadInst assignRegs slots) (allRegsFree, []) varsRead newNode = RegInfNode freeRegsAfterLoads $ mapGenLNodeRegs (`directLookup` assignRegs) node in return $ mkMiddles loadInsts Compiler.Hoopl.<*> mkLast newNode genLoadInst :: M.Map SSAVar Reg -> M.Map SSAVar Int -> (RegInfo Reg, [RegInfNode RgLNode O O]) -> SSAVar -> (RegInfo Reg, [RegInfNode RgLNode O O]) genLoadInst assignRegs slots (freeRegsTillNow, loads) ssaVar = let reg = ssaVar `directLookup` assignRegs offset = ssaVar `directLookup` slots in (reg `riRemoveFreeReg` freeRegsTillNow, RegInfNode freeRegsTillNow ( LoadWordLN (StackOffsetSA offset) reg):loads) allRegsFree = riAddFreeReg' generalRegSet riNewRegInfo directLookup k m = Mby.fromMaybe crash (M.lookup k m) where crash = error $ "directLookup: " ++ show k ++ " not in " ++ show m riRemoveFreeRegL = flip (foldl (flip riRemoveFreeReg))
3,768
false
true
95
11
1,112
1,094
585
509
null
null
daewon/til
exercism/haskell/meetup/src/Meetup.hs
mpl-2.0
offset :: Weekday -> Weekday -> Int offset from to = delta `mod` 7 where delta = fromEnum to - fromEnum from
110
offset :: Weekday -> Weekday -> Int offset from to = delta `mod` 7 where delta = fromEnum to - fromEnum from
110
offset from to = delta `mod` 7 where delta = fromEnum to - fromEnum from
74
false
true
0
8
23
47
24
23
null
null
brendanhay/gogol
gogol-analyticsreporting/gen/Network/Google/AnalyticsReporting/Types/Product.hs
mpl-2.0
-- | A continuation token to get the next page of the results. Adding this to -- the request will return the rows after the pageToken. The pageToken -- should be the value returned in the nextPageToken parameter in the -- response to the [SearchUserActivityRequest](#SearchUserActivityRequest) -- request. suarPageToken :: Lens' SearchUserActivityRequest (Maybe Text) suarPageToken = lens _suarPageToken (\ s a -> s{_suarPageToken = a})
444
suarPageToken :: Lens' SearchUserActivityRequest (Maybe Text) suarPageToken = lens _suarPageToken (\ s a -> s{_suarPageToken = a})
138
suarPageToken = lens _suarPageToken (\ s a -> s{_suarPageToken = a})
76
true
true
1
9
71
56
29
27
null
null
Courseography/courseography
app/WebParsing/ReqParser.hs
gpl-3.0
completionPrefix :: Parser () completionPrefix = Parsec.choice (map (Parsec.try . Parsec.string) [ "Completion of at least", "Completion of a minimum of", "Completion of" ]) >> Parsec.spaces
210
completionPrefix :: Parser () completionPrefix = Parsec.choice (map (Parsec.try . Parsec.string) [ "Completion of at least", "Completion of a minimum of", "Completion of" ]) >> Parsec.spaces
210
completionPrefix = Parsec.choice (map (Parsec.try . Parsec.string) [ "Completion of at least", "Completion of a minimum of", "Completion of" ]) >> Parsec.spaces
180
false
true
2
10
45
57
29
28
null
null
arybczak/happstack-server
src/Happstack/Server/SURI.hs
bsd-3-clause
render :: (ToSURI a) => a -> String render = show . suri . toSURI
65
render :: (ToSURI a) => a -> String render = show . suri . toSURI
65
render = show . suri . toSURI
29
false
true
2
8
14
41
18
23
null
null
5outh/fievel
Parser.hs
gpl-2.0
fievelType = liftA (foldr1 TLam) ( (constType <|> T.parens lexer fievelType) `sepBy` (T.reservedOp lexer "->") )
127
fievelType = liftA (foldr1 TLam) ( (constType <|> T.parens lexer fievelType) `sepBy` (T.reservedOp lexer "->") )
127
fievelType = liftA (foldr1 TLam) ( (constType <|> T.parens lexer fievelType) `sepBy` (T.reservedOp lexer "->") )
127
false
false
0
10
30
51
26
25
null
null
kapilash/ccs2cs
src/Language/CCS/Printer.hs
apache-2.0
nativeTxtToC (StructOffset s f) = offsetPrintStmt s f
53
nativeTxtToC (StructOffset s f) = offsetPrintStmt s f
53
nativeTxtToC (StructOffset s f) = offsetPrintStmt s f
53
false
false
0
7
7
22
10
12
null
null
andreasabel/helf
src/DatastrucImpl/SimpleDynArray.hs
mit
-- injects a given value at the given places -- O(k*log n), n = size of the DynArray, k = number of the position where a value has to be injected multiinsert:: a -> [Int] -> DynArray a -> DynArray a multiinsert _ [] dyn = dyn
225
multiinsert:: a -> [Int] -> DynArray a -> DynArray a multiinsert _ [] dyn = dyn
79
multiinsert _ [] dyn = dyn
26
true
true
0
8
46
43
22
21
null
null
glguy/5puzzle
Palisade/Regions.hs
isc
mapRegion :: (Coord -> Coord) -> Region -> Region mapRegion f (Region r) = Region (Set.map f r)
95
mapRegion :: (Coord -> Coord) -> Region -> Region mapRegion f (Region r) = Region (Set.map f r)
95
mapRegion f (Region r) = Region (Set.map f r)
45
false
true
0
8
17
50
25
25
null
null
kovach/web
res2/Syntax.hs
gpl-2.0
alphaNum = all isAlphaNum
25
alphaNum = all isAlphaNum
25
alphaNum = all isAlphaNum
25
false
false
0
5
3
9
4
5
null
null
karamellpelle/grid
designer/source/Game/Values.hs
gpl-3.0
valueGridPathSpeed :: Float valueGridPathSpeed = 1.6
57
valueGridPathSpeed :: Float valueGridPathSpeed = 1.6
56
valueGridPathSpeed = 1.6
28
false
true
0
4
10
11
6
5
null
null
ghcjs/jsaddle-dom
src/JSDOM/Generated/DynamicsCompressorNode.hs
mit
-- | <https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode.ratio Mozilla DynamicsCompressorNode.ratio documentation> getRatio :: (MonadDOM m) => DynamicsCompressorNode -> m AudioParam getRatio self = liftDOM ((self ^. js "ratio") >>= fromJSValUnchecked)
275
getRatio :: (MonadDOM m) => DynamicsCompressorNode -> m AudioParam getRatio self = liftDOM ((self ^. js "ratio") >>= fromJSValUnchecked)
138
getRatio self = liftDOM ((self ^. js "ratio") >>= fromJSValUnchecked)
71
true
true
0
10
27
56
27
29
null
null
JacquesCarette/literate-scientific-software
People/Dan/Thesis Proposal/Presentation/HeatTransfer.hs
bsd-2-clause
--------------- --------------- --------------- --------------- {--------------- Begin tau_c ---------------} --------------- --------------- --------------- --------------- tau_c :: VarChunk tau_c = makeVC "tau_c" "clad thickness" ((Special Tau_L) `sub` lC)
258
tau_c :: VarChunk tau_c = makeVC "tau_c" "clad thickness" ((Special Tau_L) `sub` lC)
84
tau_c = makeVC "tau_c" "clad thickness" ((Special Tau_L) `sub` lC)
66
true
true
0
9
24
36
21
15
null
null
bmsherman/magma-gpu
Foreign/CUDA/Magma/TH.hs
bsd-3-clause
funArgs :: CDeclarator a -> Maybe [CDeclaration a] funArgs (CDeclr _ [(CFunDeclr (Right (ys,_)) _ _)] _ _ _) = Just ys
118
funArgs :: CDeclarator a -> Maybe [CDeclaration a] funArgs (CDeclr _ [(CFunDeclr (Right (ys,_)) _ _)] _ _ _) = Just ys
118
funArgs (CDeclr _ [(CFunDeclr (Right (ys,_)) _ _)] _ _ _) = Just ys
67
false
true
0
12
21
76
37
39
null
null
bgold-cosmos/Tidal
src/Sound/Tidal/Tempo.hs
gpl-3.0
listenTempo :: O.UDP -> MVar Tempo -> IO () listenTempo udp tempoMV = forever $ do pkt <- O.recvPacket udp act Nothing pkt return () where act _ (O.Packet_Bundle (O.Bundle ts ms)) = mapM_ (act (Just ts) . O.Packet_Message) ms act (Just ts) (O.Packet_Message (O.Message "/cps/cycle" [O.Float atCycle', O.Float cps', O.Int32 paused' ] ) ) = do tempo <- takeMVar tempoMV putMVar tempoMV $ tempo {atTime = ts, atCycle = realToFrac atCycle', cps = realToFrac cps', paused = paused' == 1, synched = True } act _ pkt = writeError $ "Unknown packet (client): " ++ show pkt
1,128
listenTempo :: O.UDP -> MVar Tempo -> IO () listenTempo udp tempoMV = forever $ do pkt <- O.recvPacket udp act Nothing pkt return () where act _ (O.Packet_Bundle (O.Bundle ts ms)) = mapM_ (act (Just ts) . O.Packet_Message) ms act (Just ts) (O.Packet_Message (O.Message "/cps/cycle" [O.Float atCycle', O.Float cps', O.Int32 paused' ] ) ) = do tempo <- takeMVar tempoMV putMVar tempoMV $ tempo {atTime = ts, atCycle = realToFrac atCycle', cps = realToFrac cps', paused = paused' == 1, synched = True } act _ pkt = writeError $ "Unknown packet (client): " ++ show pkt
1,128
listenTempo udp tempoMV = forever $ do pkt <- O.recvPacket udp act Nothing pkt return () where act _ (O.Packet_Bundle (O.Bundle ts ms)) = mapM_ (act (Just ts) . O.Packet_Message) ms act (Just ts) (O.Packet_Message (O.Message "/cps/cycle" [O.Float atCycle', O.Float cps', O.Int32 paused' ] ) ) = do tempo <- takeMVar tempoMV putMVar tempoMV $ tempo {atTime = ts, atCycle = realToFrac atCycle', cps = realToFrac cps', paused = paused' == 1, synched = True } act _ pkt = writeError $ "Unknown packet (client): " ++ show pkt
1,084
false
true
2
14
661
260
127
133
null
null
edsko/cabal
Cabal/src/Distribution/PackageDescription.hs
bsd-3-clause
knownTestTypes :: [TestType] knownTestTypes = [ TestTypeExe (Version [1,0] []) , TestTypeLib (Version [0,9] []) ]
130
knownTestTypes :: [TestType] knownTestTypes = [ TestTypeExe (Version [1,0] []) , TestTypeLib (Version [0,9] []) ]
130
knownTestTypes = [ TestTypeExe (Version [1,0] []) , TestTypeLib (Version [0,9] []) ]
101
false
true
0
9
32
58
32
26
null
null
spechub/Hets
Temporal/NuSmv.hs
gpl-2.0
showBasicExpr (Next expr) outer = concat [ "next(", showBasicExpr expr True, ")" ]
125
showBasicExpr (Next expr) outer = concat [ "next(", showBasicExpr expr True, ")" ]
125
showBasicExpr (Next expr) outer = concat [ "next(", showBasicExpr expr True, ")" ]
125
false
false
1
7
55
36
17
19
null
null
keera-studios/hsQt
Qtc/Core/QSettings.hs
bsd-2-clause
qSettings_deleteLater :: QSettings a -> IO () qSettings_deleteLater x0 = withObjectPtr x0 $ \cobj_x0 -> qtc_QSettings_deleteLater cobj_x0
143
qSettings_deleteLater :: QSettings a -> IO () qSettings_deleteLater x0 = withObjectPtr x0 $ \cobj_x0 -> qtc_QSettings_deleteLater cobj_x0
143
qSettings_deleteLater x0 = withObjectPtr x0 $ \cobj_x0 -> qtc_QSettings_deleteLater cobj_x0
97
false
true
2
7
22
42
19
23
null
null
rmallermartins/sudoku-haskell
sudoku.hs
gpl-2.0
blockConflits :: Index -> Int -> SudokuGrid -> Int blockConflits (x,y) number grid = (length (filter (\(x',y') -> number == (getElem x' y' grid)) blockIndexs)) where blockX = ((div (x - 1) 3) * 3) + 1 blockY = ((div (y - 1) 3) * 3) + 1 blockIndexs = [(x',y') | x' <- [blockX..(blockX+2)], y' <- [blockY..(blockY+2)]]
409
blockConflits :: Index -> Int -> SudokuGrid -> Int blockConflits (x,y) number grid = (length (filter (\(x',y') -> number == (getElem x' y' grid)) blockIndexs)) where blockX = ((div (x - 1) 3) * 3) + 1 blockY = ((div (y - 1) 3) * 3) + 1 blockIndexs = [(x',y') | x' <- [blockX..(blockX+2)], y' <- [blockY..(blockY+2)]]
409
blockConflits (x,y) number grid = (length (filter (\(x',y') -> number == (getElem x' y' grid)) blockIndexs)) where blockX = ((div (x - 1) 3) * 3) + 1 blockY = ((div (y - 1) 3) * 3) + 1 blockIndexs = [(x',y') | x' <- [blockX..(blockX+2)], y' <- [blockY..(blockY+2)]]
358
false
true
0
13
150
196
108
88
null
null
haskell/haddock
haddock-api/src/Haddock/Interface/Rename.hs
bsd-2-clause
renameLThing :: (a GhcRn -> RnM (a DocNameI)) -> LocatedAn an (a GhcRn) -> RnM (Located (a DocNameI)) renameLThing fn (L loc x) = return . L (locA loc) =<< fn x
160
renameLThing :: (a GhcRn -> RnM (a DocNameI)) -> LocatedAn an (a GhcRn) -> RnM (Located (a DocNameI)) renameLThing fn (L loc x) = return . L (locA loc) =<< fn x
160
renameLThing fn (L loc x) = return . L (locA loc) =<< fn x
58
false
true
0
11
31
97
46
51
null
null
sol/aeson
Data/Aeson/TH.hs
bsd-3-clause
jsonClassName :: JSONClass -> Name jsonClassName (JSONClass To Arity0) = ''ToJSON
83
jsonClassName :: JSONClass -> Name jsonClassName (JSONClass To Arity0) = ''ToJSON
83
jsonClassName (JSONClass To Arity0) = ''ToJSON
48
false
true
0
7
12
28
14
14
null
null
urbanslug/ghc
compiler/llvmGen/Llvm/Types.hs
bsd-3-clause
-- | Print a literal value. No type. ppLit :: LlvmLit -> SDoc ppLit (LMIntLit i (LMInt 32)) = ppr (fromInteger i :: Int32)
123
ppLit :: LlvmLit -> SDoc ppLit (LMIntLit i (LMInt 32)) = ppr (fromInteger i :: Int32)
86
ppLit (LMIntLit i (LMInt 32)) = ppr (fromInteger i :: Int32)
61
true
true
0
8
24
49
24
25
null
null
audreyt/stringtable-atom
src/StringTable/AtomMap.hs
bsd-3-clause
fromListWith :: (a -> a -> a) -> [(Atom, a)] -> AtomMap a fromListWith f ps = MkAtomMap $ IM.fromListWith f [ (fromAtom l, x) | (l, x) <- ps ]
142
fromListWith :: (a -> a -> a) -> [(Atom, a)] -> AtomMap a fromListWith f ps = MkAtomMap $ IM.fromListWith f [ (fromAtom l, x) | (l, x) <- ps ]
142
fromListWith f ps = MkAtomMap $ IM.fromListWith f [ (fromAtom l, x) | (l, x) <- ps ]
84
false
true
0
10
30
84
45
39
null
null
bgamari/icalendar
Data/ICalendar/Pretty.hs
bsd-3-clause
iCalProperty prop = text "P:" <> text (icpName prop) <+> (if null (icpParams prop) then empty else parens (hcat $ punctuate (char ',') (map iCalParam $ icpParams prop))) <+> char '=' <+> text (icpValue prop)
301
iCalProperty prop = text "P:" <> text (icpName prop) <+> (if null (icpParams prop) then empty else parens (hcat $ punctuate (char ',') (map iCalParam $ icpParams prop))) <+> char '=' <+> text (icpValue prop)
301
iCalProperty prop = text "P:" <> text (icpName prop) <+> (if null (icpParams prop) then empty else parens (hcat $ punctuate (char ',') (map iCalParam $ icpParams prop))) <+> char '=' <+> text (icpValue prop)
301
false
false
0
16
128
103
49
54
null
null
mattias-lundell/timber-llvm
src/Syntax.hs
bsd-3-clause
rAp (RGrd gs) es = RGrd [ GExp qs (eAp e es) | GExp qs e <- gs ]
79
rAp (RGrd gs) es = RGrd [ GExp qs (eAp e es) | GExp qs e <- gs ]
79
rAp (RGrd gs) es = RGrd [ GExp qs (eAp e es) | GExp qs e <- gs ]
79
false
false
0
9
33
49
23
26
null
null
Noeda/caramia-extras
lib/Caramia/Extras/ShaderEffects.hs
mit
stepShaderEffects :: ShaderEffects -> IO () stepShaderEffects (ShaderEffects {..}) = do tm <- getMonotonicTime ((tex_src, fbuf), (tex_dst, _)) <- atomicModifyIORef' texes $ \(t1, t2) -> ( (t2, t1), (t1, t2) ) setUniform (tm :: Float) monotonicLoc sePipeline draw drawCommand { primitiveType = TriangleStrip , primitivesVAO = vao , numIndices = 4 , sourceData = Primitives { firstIndex = 0 } } defaultDrawParams { pipeline = sePipeline , blending = nopBlend , targetFramebuffer = fbuf , bindTextures = IM.fromList [(0, tex_src)] } draw drawCommand { primitiveType = TriangleStrip , primitivesVAO = vao , numIndices = 4 , sourceData = Primitives { firstIndex = 0 } } defaultDrawParams { pipeline = unloadPipeline , blending = nopBlend , bindTextures = IM.fromList [(0, tex_dst)] }
960
stepShaderEffects :: ShaderEffects -> IO () stepShaderEffects (ShaderEffects {..}) = do tm <- getMonotonicTime ((tex_src, fbuf), (tex_dst, _)) <- atomicModifyIORef' texes $ \(t1, t2) -> ( (t2, t1), (t1, t2) ) setUniform (tm :: Float) monotonicLoc sePipeline draw drawCommand { primitiveType = TriangleStrip , primitivesVAO = vao , numIndices = 4 , sourceData = Primitives { firstIndex = 0 } } defaultDrawParams { pipeline = sePipeline , blending = nopBlend , targetFramebuffer = fbuf , bindTextures = IM.fromList [(0, tex_src)] } draw drawCommand { primitiveType = TriangleStrip , primitivesVAO = vao , numIndices = 4 , sourceData = Primitives { firstIndex = 0 } } defaultDrawParams { pipeline = unloadPipeline , blending = nopBlend , bindTextures = IM.fromList [(0, tex_dst)] }
960
stepShaderEffects (ShaderEffects {..}) = do tm <- getMonotonicTime ((tex_src, fbuf), (tex_dst, _)) <- atomicModifyIORef' texes $ \(t1, t2) -> ( (t2, t1), (t1, t2) ) setUniform (tm :: Float) monotonicLoc sePipeline draw drawCommand { primitiveType = TriangleStrip , primitivesVAO = vao , numIndices = 4 , sourceData = Primitives { firstIndex = 0 } } defaultDrawParams { pipeline = sePipeline , blending = nopBlend , targetFramebuffer = fbuf , bindTextures = IM.fromList [(0, tex_src)] } draw drawCommand { primitiveType = TriangleStrip , primitivesVAO = vao , numIndices = 4 , sourceData = Primitives { firstIndex = 0 } } defaultDrawParams { pipeline = unloadPipeline , blending = nopBlend , bindTextures = IM.fromList [(0, tex_dst)] }
916
false
true
0
13
302
279
161
118
null
null
ssaavedra/liquidhaskell
tests/pos/alphaconvert-List.hs
bsd-3-clause
maxs ([]) = 0
15
maxs ([]) = 0
15
maxs ([]) = 0
15
false
false
0
6
5
15
7
8
null
null
tpltnt/Tidal
Sound/Tidal/Strategies.hs
gpl-3.0
echo = stutter 2
18
echo = stutter 2
18
echo = stutter 2
18
false
false
1
5
5
13
4
9
null
null
yu-i9/thih
src/Thih/Static/Thih.hs
bsd-3-clause
tLiteral = TCon (Tycon "Literal" Star)
38
tLiteral = TCon (Tycon "Literal" Star)
38
tLiteral = TCon (Tycon "Literal" Star)
38
false
false
0
7
5
17
8
9
null
null
urbanslug/ghc
compiler/stgSyn/CoreToStg.hs
bsd-3-clause
coreTopBindToStg :: DynFlags -> Module -> IdEnv HowBound -> FreeVarsInfo -- Info about the body -> CoreBind -> (IdEnv HowBound, FreeVarsInfo, StgBinding) coreTopBindToStg dflags this_mod env body_fvs (NonRec id rhs) = let env' = extendVarEnv env id how_bound how_bound = LetBound TopLet $! manifestArity rhs (stg_rhs, fvs') = initLne env $ do (stg_rhs, fvs') <- coreToTopStgRhs dflags this_mod body_fvs (id,rhs) return (stg_rhs, fvs') bind = StgNonRec id stg_rhs in ASSERT2(consistentCafInfo id bind, ppr id ) -- NB: previously the assertion printed 'rhs' and 'bind' -- as well as 'id', but that led to a black hole -- where printing the assertion error tripped the -- assertion again! (env', fvs' `unionFVInfo` body_fvs, bind)
913
coreTopBindToStg :: DynFlags -> Module -> IdEnv HowBound -> FreeVarsInfo -- Info about the body -> CoreBind -> (IdEnv HowBound, FreeVarsInfo, StgBinding) coreTopBindToStg dflags this_mod env body_fvs (NonRec id rhs) = let env' = extendVarEnv env id how_bound how_bound = LetBound TopLet $! manifestArity rhs (stg_rhs, fvs') = initLne env $ do (stg_rhs, fvs') <- coreToTopStgRhs dflags this_mod body_fvs (id,rhs) return (stg_rhs, fvs') bind = StgNonRec id stg_rhs in ASSERT2(consistentCafInfo id bind, ppr id ) -- NB: previously the assertion printed 'rhs' and 'bind' -- as well as 'id', but that led to a black hole -- where printing the assertion error tripped the -- assertion again! (env', fvs' `unionFVInfo` body_fvs, bind)
912
coreTopBindToStg dflags this_mod env body_fvs (NonRec id rhs) = let env' = extendVarEnv env id how_bound how_bound = LetBound TopLet $! manifestArity rhs (stg_rhs, fvs') = initLne env $ do (stg_rhs, fvs') <- coreToTopStgRhs dflags this_mod body_fvs (id,rhs) return (stg_rhs, fvs') bind = StgNonRec id stg_rhs in ASSERT2(consistentCafInfo id bind, ppr id ) -- NB: previously the assertion printed 'rhs' and 'bind' -- as well as 'id', but that led to a black hole -- where printing the assertion error tripped the -- assertion again! (env', fvs' `unionFVInfo` body_fvs, bind)
702
false
true
0
14
297
213
109
104
null
null
lpeterse/koka
src/Type/Assumption.hs
apache-2.0
gammaSingle :: Name -> NameInfo -> Gamma gammaSingle name tp = gammaNew [(name,tp)]
85
gammaSingle :: Name -> NameInfo -> Gamma gammaSingle name tp = gammaNew [(name,tp)]
85
gammaSingle name tp = gammaNew [(name,tp)]
44
false
true
0
7
14
36
19
17
null
null
msakai/ptq
src/ParserTest.hs
lgpl-2.1
ex_2 = "Every woman loves a unicorn."
37
ex_2 = "Every woman loves a unicorn."
37
ex_2 = "Every woman loves a unicorn."
37
false
false
0
4
6
6
3
3
null
null
osa1/chsc
Supercompile/Match.hs
bsd-3-clause
-- NB: if there are dead bindings in the left PureHeap then the output Renaming will not contain a renaming for their binders. matchHeap :: PureHeap -> PureHeap -> ([(Var, Var)], [(Var, Var)]) -> Match Renaming matchHeap init_h_l init_h_r (bound_eqs, free_eqs) = do -- 1) Find the initial matching by simply recursively matching used bindings from the Left -- heap against those from the Right heap (if any) eqs <- matchEnvironmentExact matchIdSupply bound_eqs free_eqs init_h_l init_h_r -- 2) Perhaps we violate the occurs check? occursCheck bound_eqs eqs -- 3) If the left side var was free, we might have assumed two different corresponding rights for it. This is not necessarily a problem: -- a |-> True; ()<(a, a)> `match` c |-> True; d |-> True; ()<(c, d)> -- a |-> True; ()<(a, a)> `match` c |-> True; d |-> c; ()<(c, d)> -- However, I'm going to reject this for now (simpler). safeMkRenaming eqs --- Returns a renaming from the list only if the list maps a "left" variable to a unique "right" variable
1,063
matchHeap :: PureHeap -> PureHeap -> ([(Var, Var)], [(Var, Var)]) -> Match Renaming matchHeap init_h_l init_h_r (bound_eqs, free_eqs) = do -- 1) Find the initial matching by simply recursively matching used bindings from the Left -- heap against those from the Right heap (if any) eqs <- matchEnvironmentExact matchIdSupply bound_eqs free_eqs init_h_l init_h_r -- 2) Perhaps we violate the occurs check? occursCheck bound_eqs eqs -- 3) If the left side var was free, we might have assumed two different corresponding rights for it. This is not necessarily a problem: -- a |-> True; ()<(a, a)> `match` c |-> True; d |-> True; ()<(c, d)> -- a |-> True; ()<(a, a)> `match` c |-> True; d |-> c; ()<(c, d)> -- However, I'm going to reject this for now (simpler). safeMkRenaming eqs --- Returns a renaming from the list only if the list maps a "left" variable to a unique "right" variable
936
matchHeap init_h_l init_h_r (bound_eqs, free_eqs) = do -- 1) Find the initial matching by simply recursively matching used bindings from the Left -- heap against those from the Right heap (if any) eqs <- matchEnvironmentExact matchIdSupply bound_eqs free_eqs init_h_l init_h_r -- 2) Perhaps we violate the occurs check? occursCheck bound_eqs eqs -- 3) If the left side var was free, we might have assumed two different corresponding rights for it. This is not necessarily a problem: -- a |-> True; ()<(a, a)> `match` c |-> True; d |-> True; ()<(c, d)> -- a |-> True; ()<(a, a)> `match` c |-> True; d |-> c; ()<(c, d)> -- However, I'm going to reject this for now (simpler). safeMkRenaming eqs --- Returns a renaming from the list only if the list maps a "left" variable to a unique "right" variable
852
true
true
0
11
227
109
59
50
null
null
rueshyna/gogol
gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hs
mpl-2.0
-- | Whether the creative is SSL-compliant. This is a read-only field. -- Applicable to all creative types. creSSLCompliant :: Lens' Creative (Maybe Bool) creSSLCompliant = lens _creSSLCompliant (\ s a -> s{_creSSLCompliant = a})
237
creSSLCompliant :: Lens' Creative (Maybe Bool) creSSLCompliant = lens _creSSLCompliant (\ s a -> s{_creSSLCompliant = a})
129
creSSLCompliant = lens _creSSLCompliant (\ s a -> s{_creSSLCompliant = a})
82
true
true
1
9
42
52
26
26
null
null
Leonti/haskell-memory-so
src/PriceParsing.hs
bsd-3-clause
parsePrice :: String -> Maybe Int parsePrice textPrice = if null prices then Nothing else Just $ last prices where maybeRawRegularPrice :: Maybe Int maybeRawRegularPrice = (\p -> read p :: Int) <$> extractPrice "\\$([0-9][0-9][0-9],[0-9][0-9][0-9])" textPrice maybeRawPriceWithK :: Maybe Int maybeRawPriceWithK = (\p -> read p :: Int) . (++ "000") <$> extractPrice "\\$([0-9][0-9][0-9][Kk])" textPrice prices :: [Int] prices = catMaybes [maybeRawRegularPrice, maybeRawPriceWithK]
537
parsePrice :: String -> Maybe Int parsePrice textPrice = if null prices then Nothing else Just $ last prices where maybeRawRegularPrice :: Maybe Int maybeRawRegularPrice = (\p -> read p :: Int) <$> extractPrice "\\$([0-9][0-9][0-9],[0-9][0-9][0-9])" textPrice maybeRawPriceWithK :: Maybe Int maybeRawPriceWithK = (\p -> read p :: Int) . (++ "000") <$> extractPrice "\\$([0-9][0-9][0-9][Kk])" textPrice prices :: [Int] prices = catMaybes [maybeRawRegularPrice, maybeRawPriceWithK]
537
parsePrice textPrice = if null prices then Nothing else Just $ last prices where maybeRawRegularPrice :: Maybe Int maybeRawRegularPrice = (\p -> read p :: Int) <$> extractPrice "\\$([0-9][0-9][0-9],[0-9][0-9][0-9])" textPrice maybeRawPriceWithK :: Maybe Int maybeRawPriceWithK = (\p -> read p :: Int) . (++ "000") <$> extractPrice "\\$([0-9][0-9][0-9][Kk])" textPrice prices :: [Int] prices = catMaybes [maybeRawRegularPrice, maybeRawPriceWithK]
503
false
true
11
8
120
146
76
70
null
null
cyruscousins/HarmLang
src/HarmLang/InitialBasis.hs
mit
interpretNamedInterval "fifth" = Interval 7
43
interpretNamedInterval "fifth" = Interval 7
43
interpretNamedInterval "fifth" = Interval 7
43
false
false
0
5
4
12
5
7
null
null
jystic/lambdasim
src/Lambdasim/Simulation.hs
bsd-3-clause
updateFirstVessel :: (Vessel -> Vessel) -> Simulation -> Simulation updateFirstVessel f = updateVessels update where update [] = [] update (v:vs) = f v : vs
166
updateFirstVessel :: (Vessel -> Vessel) -> Simulation -> Simulation updateFirstVessel f = updateVessels update where update [] = [] update (v:vs) = f v : vs
166
updateFirstVessel f = updateVessels update where update [] = [] update (v:vs) = f v : vs
98
false
true
1
8
35
68
34
34
null
null
nukisman/elm-format-short
src/ElmFormat.hs
bsd-3-clause
determineDestination :: Maybe FilePath -> Bool -> Either ErrorMessage Destination determineDestination output validate = case ( output, validate ) of ( Nothing, True ) -> Right ValidateOnly ( Nothing, False ) -> Right UpdateInPlace ( Just path, False ) -> Right $ ToFile path ( Just _, True ) -> Left OutputAndValidate
354
determineDestination :: Maybe FilePath -> Bool -> Either ErrorMessage Destination determineDestination output validate = case ( output, validate ) of ( Nothing, True ) -> Right ValidateOnly ( Nothing, False ) -> Right UpdateInPlace ( Just path, False ) -> Right $ ToFile path ( Just _, True ) -> Left OutputAndValidate
354
determineDestination output validate = case ( output, validate ) of ( Nothing, True ) -> Right ValidateOnly ( Nothing, False ) -> Right UpdateInPlace ( Just path, False ) -> Right $ ToFile path ( Just _, True ) -> Left OutputAndValidate
272
false
true
0
9
87
116
58
58
null
null
dmbarbour/awelon
hsrc/AO/AOFile.hs
bsd-3-clause
-- | Load an AO dictionary and additionally precompile it, i.e. such -- that if we define `compile!fibonacci` then the word `fibonacci` -- will be compiled into a separate ABC resource. Uses same location -- as `saveRscFile`. loadAODict :: (AOFileRoot s, MonadIO m) => s -> (String -> m ()) -> m (AODict AOFMeta) loadAODict src warnOp = loadAODict0 src warnOp >>= \ d0 -> let (df,(_prcd,secd)) = preCompileDict d0 in mapM_ (uncurry saveRscFile) (M.toList secd) >> return df
502
loadAODict :: (AOFileRoot s, MonadIO m) => s -> (String -> m ()) -> m (AODict AOFMeta) loadAODict src warnOp = loadAODict0 src warnOp >>= \ d0 -> let (df,(_prcd,secd)) = preCompileDict d0 in mapM_ (uncurry saveRscFile) (M.toList secd) >> return df
275
loadAODict src warnOp = loadAODict0 src warnOp >>= \ d0 -> let (df,(_prcd,secd)) = preCompileDict d0 in mapM_ (uncurry saveRscFile) (M.toList secd) >> return df
176
true
true
0
13
107
131
67
64
null
null
diku-dk/futhark
src/Futhark/CodeGen/ImpGen.hs
isc
defCompileBasicOp (Pat [pe]) (Index src slice) | Just idxs <- sliceIndices slice = copyDWIM (patElemName pe) [] (Var src) $ map (DimFix . toInt64Exp) idxs
160
defCompileBasicOp (Pat [pe]) (Index src slice) | Just idxs <- sliceIndices slice = copyDWIM (patElemName pe) [] (Var src) $ map (DimFix . toInt64Exp) idxs
160
defCompileBasicOp (Pat [pe]) (Index src slice) | Just idxs <- sliceIndices slice = copyDWIM (patElemName pe) [] (Var src) $ map (DimFix . toInt64Exp) idxs
160
false
false
0
9
30
86
39
47
null
null
Oscarzhao/haskell
functional_program_design/ch03/natural_number.hs
apache-2.0
m + Succ n = Succ (m + n)
31
m + Succ n = Succ (m + n)
31
m + Succ n = Succ (m + n)
31
false
false
2
7
14
25
11
14
null
null
devyn/haPaws
Language/HaPaws/CPaws.hs
bsd-3-clause
lexWhitespace :: Text -> SourcePosition -> [(Token, SourcePosition)] lexWhitespace text (line, column) = (Whitespace, (line, column)) : consumeSpaces text (line, column) where consumeSpaces text (line, column) = case Text.uncons text of Just ('\n', rest) -> consumeSpaces rest (line + 1, 1) Just (ch, rest) | isSpace ch -> consumeSpaces rest (line, column + 1) | otherwise -> lexExpression text (line, column) _ -> lexExpression text (line, column) -- | Represents the lexing state within a symbol. Reads until the given -- terminator is found and emits that token as well.
692
lexWhitespace :: Text -> SourcePosition -> [(Token, SourcePosition)] lexWhitespace text (line, column) = (Whitespace, (line, column)) : consumeSpaces text (line, column) where consumeSpaces text (line, column) = case Text.uncons text of Just ('\n', rest) -> consumeSpaces rest (line + 1, 1) Just (ch, rest) | isSpace ch -> consumeSpaces rest (line, column + 1) | otherwise -> lexExpression text (line, column) _ -> lexExpression text (line, column) -- | Represents the lexing state within a symbol. Reads until the given -- terminator is found and emits that token as well.
692
lexWhitespace text (line, column) = (Whitespace, (line, column)) : consumeSpaces text (line, column) where consumeSpaces text (line, column) = case Text.uncons text of Just ('\n', rest) -> consumeSpaces rest (line + 1, 1) Just (ch, rest) | isSpace ch -> consumeSpaces rest (line, column + 1) | otherwise -> lexExpression text (line, column) _ -> lexExpression text (line, column) -- | Represents the lexing state within a symbol. Reads until the given -- terminator is found and emits that token as well.
623
false
true
0
11
208
206
109
97
null
null
ComputationWithBoundedResources/tct-core
src/Tct/Core/Common/Error.hs
bsd-3-clause
liftEither :: Either e a -> ErroneousIO e a liftEither = ExceptT . return
73
liftEither :: Either e a -> ErroneousIO e a liftEither = ExceptT . return
73
liftEither = ExceptT . return
29
false
true
0
6
13
29
14
15
null
null
Rydgel/advent-of-code-2016
src/Day1.hs
bsd-3-clause
day1' :: IO () day1' = do parseS <- T.pack <$> readFile "resources/day1.txt" let (Right moves) = parseOnly parseMoves parseS let visitesTwice = filter ((==2) . length) $ groupPositionsByVisits moves let Position (x, y) _ : _ = head visitesTwice print $ abs x + abs y
276
day1' :: IO () day1' = do parseS <- T.pack <$> readFile "resources/day1.txt" let (Right moves) = parseOnly parseMoves parseS let visitesTwice = filter ((==2) . length) $ groupPositionsByVisits moves let Position (x, y) _ : _ = head visitesTwice print $ abs x + abs y
276
day1' = do parseS <- T.pack <$> readFile "resources/day1.txt" let (Right moves) = parseOnly parseMoves parseS let visitesTwice = filter ((==2) . length) $ groupPositionsByVisits moves let Position (x, y) _ : _ = head visitesTwice print $ abs x + abs y
261
false
true
2
13
56
115
56
59
null
null
skogsbaer/HTF
tests/TestHTF.hs
lgpl-2.1
test_pendingTest_PENDING = unitTestPending "This test is pending"
65
test_pendingTest_PENDING = unitTestPending "This test is pending"
65
test_pendingTest_PENDING = unitTestPending "This test is pending"
65
false
false
0
5
6
9
4
5
null
null
stefan-j/ProjectEuler
q36.hs
mit
to_binary n = to_binary (n `div` 2) ++ [n `mod` 2]
50
to_binary n = to_binary (n `div` 2) ++ [n `mod` 2]
50
to_binary n = to_binary (n `div` 2) ++ [n `mod` 2]
50
false
false
0
8
10
34
19
15
null
null
emk/haskell-probability-monads
Control/Monad/MonoidValue.hs
bsd-3-clause
joinMV :: (Monoid w) => MV w (MV w a) -> MV w a joinMV (MV w1 (MV w2 v)) = MV (w1 `mappend` w2) v
97
joinMV :: (Monoid w) => MV w (MV w a) -> MV w a joinMV (MV w1 (MV w2 v)) = MV (w1 `mappend` w2) v
97
joinMV (MV w1 (MV w2 v)) = MV (w1 `mappend` w2) v
49
false
true
0
9
25
75
38
37
null
null
mettekou/ghc
compiler/utils/Outputable.hs
bsd-3-clause
hang :: SDoc -- ^ The header -> Int -- ^ Amount to indent the hung body -> SDoc -- ^ The hung body, indented and placed below the header -> SDoc hang d1 n d2 = SDoc $ \sty -> Pretty.hang (runSDoc d1 sty) n (runSDoc d2 sty)
244
hang :: SDoc -- ^ The header -> Int -- ^ Amount to indent the hung body -> SDoc -- ^ The hung body, indented and placed below the header -> SDoc hang d1 n d2 = SDoc $ \sty -> Pretty.hang (runSDoc d1 sty) n (runSDoc d2 sty)
244
hang d1 n d2 = SDoc $ \sty -> Pretty.hang (runSDoc d1 sty) n (runSDoc d2 sty)
79
false
true
0
9
70
72
36
36
null
null
barrucadu/search-party
tests/Main.hs
mit
streams1 :: IO Bool streams1 = dejafus (as @! const True >>= readStream) $ cases "streams1" (`elem` as) where as = [0,1] -------------------------------------------------------------------------------- -- (streams2): Checking stream ordering works
250
streams1 :: IO Bool streams1 = dejafus (as @! const True >>= readStream) $ cases "streams1" (`elem` as) where as = [0,1] -------------------------------------------------------------------------------- -- (streams2): Checking stream ordering works
250
streams1 = dejafus (as @! const True >>= readStream) $ cases "streams1" (`elem` as) where as = [0,1] -------------------------------------------------------------------------------- -- (streams2): Checking stream ordering works
230
false
true
0
10
31
60
34
26
null
null
prb/perpubplat
src/Blog/Widgets/StreamOfConsciousness/TwitterNanny.hs
bsd-3-clause
start_twitter_nanny :: SoCController -> [(Worker,Int)] -> String -> String -> IO Worker start_twitter_nanny socc kids user password = do { let req = build_request user password ; p <- start_poller log_handle req (handle_throttle kids) nanny_period ; return $ Worker socc p }
372
start_twitter_nanny :: SoCController -> [(Worker,Int)] -> String -> String -> IO Worker start_twitter_nanny socc kids user password = do { let req = build_request user password ; p <- start_poller log_handle req (handle_throttle kids) nanny_period ; return $ Worker socc p }
372
start_twitter_nanny socc kids user password = do { let req = build_request user password ; p <- start_poller log_handle req (handle_throttle kids) nanny_period ; return $ Worker socc p }
284
false
true
0
11
139
105
51
54
null
null
DavidAlphaFox/ghc
libraries/Cabal/cabal-install/Distribution/Client/FetchUtils.hs
bsd-3-clause
fetchPackage :: Verbosity -> PackageLocation (Maybe FilePath) -> IO (PackageLocation FilePath) fetchPackage verbosity loc = case loc of LocalUnpackedPackage dir -> return (LocalUnpackedPackage dir) LocalTarballPackage file -> return (LocalTarballPackage file) RemoteTarballPackage uri (Just file) -> return (RemoteTarballPackage uri file) RepoTarballPackage repo pkgid (Just file) -> return (RepoTarballPackage repo pkgid file) RemoteTarballPackage uri Nothing -> do path <- downloadTarballPackage uri return (RemoteTarballPackage uri path) RepoTarballPackage repo pkgid Nothing -> do local <- fetchRepoTarball verbosity repo pkgid return (RepoTarballPackage repo pkgid local) where downloadTarballPackage uri = do notice verbosity ("Downloading " ++ show uri) tmpdir <- getTemporaryDirectory (path, hnd) <- openTempFile tmpdir "cabal-.tar.gz" hClose hnd _ <- downloadURI verbosity uri path return path -- | Fetch a repo package if we don't have it already. --
1,106
fetchPackage :: Verbosity -> PackageLocation (Maybe FilePath) -> IO (PackageLocation FilePath) fetchPackage verbosity loc = case loc of LocalUnpackedPackage dir -> return (LocalUnpackedPackage dir) LocalTarballPackage file -> return (LocalTarballPackage file) RemoteTarballPackage uri (Just file) -> return (RemoteTarballPackage uri file) RepoTarballPackage repo pkgid (Just file) -> return (RepoTarballPackage repo pkgid file) RemoteTarballPackage uri Nothing -> do path <- downloadTarballPackage uri return (RemoteTarballPackage uri path) RepoTarballPackage repo pkgid Nothing -> do local <- fetchRepoTarball verbosity repo pkgid return (RepoTarballPackage repo pkgid local) where downloadTarballPackage uri = do notice verbosity ("Downloading " ++ show uri) tmpdir <- getTemporaryDirectory (path, hnd) <- openTempFile tmpdir "cabal-.tar.gz" hClose hnd _ <- downloadURI verbosity uri path return path -- | Fetch a repo package if we don't have it already. --
1,106
fetchPackage verbosity loc = case loc of LocalUnpackedPackage dir -> return (LocalUnpackedPackage dir) LocalTarballPackage file -> return (LocalTarballPackage file) RemoteTarballPackage uri (Just file) -> return (RemoteTarballPackage uri file) RepoTarballPackage repo pkgid (Just file) -> return (RepoTarballPackage repo pkgid file) RemoteTarballPackage uri Nothing -> do path <- downloadTarballPackage uri return (RemoteTarballPackage uri path) RepoTarballPackage repo pkgid Nothing -> do local <- fetchRepoTarball verbosity repo pkgid return (RepoTarballPackage repo pkgid local) where downloadTarballPackage uri = do notice verbosity ("Downloading " ++ show uri) tmpdir <- getTemporaryDirectory (path, hnd) <- openTempFile tmpdir "cabal-.tar.gz" hClose hnd _ <- downloadURI verbosity uri path return path -- | Fetch a repo package if we don't have it already. --
985
false
true
0
12
269
301
137
164
null
null
csrhodes/pandoc
src/Text/Pandoc/Writers/DokuWiki.hs
gpl-2.0
isSimpleListItem [x, y] | isPlainOrPara x = case y of BulletList _ -> isSimpleList y OrderedList _ _ -> isSimpleList y DefinitionList _ -> isSimpleList y _ -> False
218
isSimpleListItem [x, y] | isPlainOrPara x = case y of BulletList _ -> isSimpleList y OrderedList _ _ -> isSimpleList y DefinitionList _ -> isSimpleList y _ -> False
218
isSimpleListItem [x, y] | isPlainOrPara x = case y of BulletList _ -> isSimpleList y OrderedList _ _ -> isSimpleList y DefinitionList _ -> isSimpleList y _ -> False
218
false
false
5
8
82
65
32
33
null
null
jac3km4/haskit
src/Haskit/Parser.hs
mit
expr :: Parser Expr expr = aExpr <|> bExpr <|> binding
54
expr :: Parser Expr expr = aExpr <|> bExpr <|> binding
54
expr = aExpr <|> bExpr <|> binding
34
false
true
0
6
10
22
11
11
null
null
michaxm/task-distribution
src/Control/Distributed/Task/Util/SerializationUtil.hs
bsd-3-clause
deserializeTimeDiff :: Rational -> NominalDiffTime deserializeTimeDiff = fromRational
85
deserializeTimeDiff :: Rational -> NominalDiffTime deserializeTimeDiff = fromRational
85
deserializeTimeDiff = fromRational
34
false
true
0
5
7
15
8
7
null
null
leksah/yi
src/library/Yi/Buffer/HighLevel.hs
gpl-2.0
getMaybeNextLineB :: Direction -> BufferM (Maybe YiString) getMaybeNextLineB dir = listToMaybe <$> lineStreamB dir
114
getMaybeNextLineB :: Direction -> BufferM (Maybe YiString) getMaybeNextLineB dir = listToMaybe <$> lineStreamB dir
114
getMaybeNextLineB dir = listToMaybe <$> lineStreamB dir
55
false
true
0
9
13
38
17
21
null
null
ganeti/htools
test.hs
gpl-2.0
incIORef :: IORef Int -> IO () incIORef ir = atomicModifyIORef ir (\x -> (x + 1, ()))
85
incIORef :: IORef Int -> IO () incIORef ir = atomicModifyIORef ir (\x -> (x + 1, ()))
85
incIORef ir = atomicModifyIORef ir (\x -> (x + 1, ()))
54
false
true
0
9
17
51
26
25
null
null
rfranek/duckling
Duckling/Time/DA/Rules.hs
bsd-3-clause
ruleQuarterTotillbeforeIntegerHourofday :: Rule ruleQuarterTotillbeforeIntegerHourofday = Rule { name = "quarter to|till|before <integer> (hour-of-day)" , pattern = [ regex "(et|\x00e9t)? ?kvart(er)? i" , Predicate isAnHourOfDay ] , prod = \tokens -> case tokens of (_:Token Time td:_) -> do t <- minutesBefore 15 td Just $ Token Time t _ -> Nothing }
399
ruleQuarterTotillbeforeIntegerHourofday :: Rule ruleQuarterTotillbeforeIntegerHourofday = Rule { name = "quarter to|till|before <integer> (hour-of-day)" , pattern = [ regex "(et|\x00e9t)? ?kvart(er)? i" , Predicate isAnHourOfDay ] , prod = \tokens -> case tokens of (_:Token Time td:_) -> do t <- minutesBefore 15 td Just $ Token Time t _ -> Nothing }
399
ruleQuarterTotillbeforeIntegerHourofday = Rule { name = "quarter to|till|before <integer> (hour-of-day)" , pattern = [ regex "(et|\x00e9t)? ?kvart(er)? i" , Predicate isAnHourOfDay ] , prod = \tokens -> case tokens of (_:Token Time td:_) -> do t <- minutesBefore 15 td Just $ Token Time t _ -> Nothing }
351
false
true
0
15
99
108
55
53
null
null
jfischoff/Sharpen
src/Numeric/MaxEnt/Deconvolution/Internal.hs
bsd-3-clause
testInput1 :: [[Double]] testInput1 = [[0, 0, 0, 0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 0, 0, 0, 0]]
257
testInput1 :: [[Double]] testInput1 = [[0, 0, 0, 0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 0, 0, 0, 0]]
257
testInput1 = [[0, 0, 0, 0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 1.0/9.0, 1.0/9.0, 1.0/9.0, 0], [0, 0, 0, 0, 0]]
232
false
true
0
7
109
143
88
55
null
null
ledyba/Jinzamomi
src/Jinzamomi/Driver/IR.hs
gpl-3.0
-- compile' indent (PreUni op node) = T.concat [indent, op, "(", compile' "" node,")"]
90
compile' indent (PreUni op node) = T.concat [indent, op, "(", compile' "" node,")"]
87
compile' indent (PreUni op node) = T.concat [indent, op, "(", compile' "" node,")"]
87
true
false
0
6
17
47
24
23
null
null
facebookincubator/duckling
Duckling/Ranking/Classifiers/ZH_MO.hs
bsd-3-clause
classifiers :: Classifiers classifiers = HashMap.fromList [("\25490\28783\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\26837\26525\20027\26085", 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}}), ("number of 5 minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = -0.2231435513142097, unseen = -3.332204510175204, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.8979415932059586), ("hour", -0.7308875085427924), ("<integer> (latent time-of-day)<number>\20010/\20491", -2.1972245773362196)], n = 12}, koData = ClassData{prior = -1.6094379124341003, unseen = -2.3025850929940455, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.8109302162163288), ("hour", -0.8109302162163288)], n = 3}}), ("\21360\24230\20016\25910\33410\31532\22235\22825", 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}}), ("<time> timezone", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("<time-of-day> am|pm", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 1}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("Thursday", Classifier{okData = ClassData{prior = -0.4700036292457356, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.9808292530117262, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("integer (numeric)", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726, likelihoods = HashMap.fromList [("", 0.0)], n = 67}, koData = ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726, likelihoods = HashMap.fromList [("", 0.0)], n = 67}}), ("\21355\22622\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("the day before yesterday", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22269\38469\28040\36153\32773\26435\30410\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\24314\20891\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\29369\22826\26032\24180", 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}}), ("today", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("mm/dd", Classifier{okData = ClassData{prior = -1.6094379124341003, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}, koData = ClassData{prior = -0.2231435513142097, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("absorption of , after named day", Classifier{okData = ClassData{prior = 0.0, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("day", -0.6931471805599453), ("Sunday", -0.6931471805599453)], n = 7}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("September", 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}}), ("tonight", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("October", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("month (grain)", Classifier{okData = ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("", 0.0)], n = 29}, koData = ClassData{prior = -0.48058573857627246, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("", 0.0)], n = 47}}), ("<time-of-day> o'clock", Classifier{okData = ClassData{prior = -1.466337068793427, unseen = -3.044522437723423, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 9}, koData = ClassData{prior = -0.262364264467491, unseen = -4.143134726391533, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 30}}), ("national day", 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}}), ("integer (20,30,40)", 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}}), ("Wednesday", Classifier{okData = ClassData{prior = -5.715841383994864e-2, unseen = -2.9444389791664407, likelihoods = HashMap.fromList [("", 0.0)], n = 17}, koData = ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}}), ("\21360\24230\20016\25910\33410\31532\19977\22825", 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}}), ("hour (grain)", Classifier{okData = ClassData{prior = -9.53101798043249e-2, unseen = -3.0910424533583156, likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -2.3978952727983707, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("\22307\20250\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20803\26086", Classifier{okData = ClassData{prior = -1.0986122886681098, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -0.40546510810816444, unseen = -2.3025850929940455, likelihoods = HashMap.fromList [("", 0.0)], n = 8}}), ("\32654\22269\29420\31435\26085", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("intersect", Classifier{okData = ClassData{prior = -5.694137640013845e-2, unseen = -6.329720905522696, likelihoods = HashMap.fromList [("\20799\31461\33410<part-of-day> <dim time>", -4.718498871295094), ("year (numeric with year symbol)\20809\26126\33410", -4.248495242049359), ("xxxx year<named-month> <day-of-month>", -4.941642422609305), ("daymonth", -4.248495242049359), ("monthday", -1.9459101490553135), ("next yearSeptember", -5.2293244950610855), ("year (numeric with year symbol)\25995\26376", -4.941642422609305), ("year (numeric with year symbol)\20061\22812\33410", -4.941642422609305), ("year (numeric with year symbol)February", -4.718498871295094), ("xxxx yearintersect", -4.941642422609305), ("March<time> <day-of-month>", -3.7629874262676584), ("year (numeric with year symbol)<named-month> <day-of-month>", -3.494723439672979), ("monthhour", -3.7629874262676584), ("year (numeric with year symbol)\22320\29699\19968\23567\26102", -5.2293244950610855), ("year (numeric with year symbol)April", -5.2293244950610855), ("dayday", -2.284885515894645), ("hourhour", -4.718498871295094), ("xxxx yearFebruary", -5.634789603169249), ("year (numeric with year symbol)March", -4.1307122063929755), ("February<dim time> <part-of-day>", -3.7629874262676584), ("hourminute", -4.718498871295094), ("April<time> <day-of-month>", -5.2293244950610855), ("February<time> <day-of-month>", -2.614364717024887), ("absorption of , after named day<named-month> <day-of-month>", -3.619886582626985), ("year (numeric with year symbol)\22823\25995\26399", -4.941642422609305), ("this <cycle><time> <day-of-month>", -4.941642422609305), ("year (numeric with year symbol)\22235\26092\33410", -5.2293244950610855), ("yearmonth", -3.332204510175204), ("year (numeric with year symbol)\20303\26842\33410", -5.2293244950610855), ("dayminute", -4.718498871295094), ("next <cycle>September", -5.634789603169249), ("intersect by \",\"<time> <day-of-month>", -3.619886582626985), ("xxxx yearMarch", -5.634789603169249), ("absorption of , after named dayintersect", -3.619886582626985), ("intersect<time> <day-of-month>", -2.8015762591130335), ("next <cycle><time> <day-of-month>", -4.941642422609305), ("tonight<time-of-day> o'clock", -4.718498871295094), ("year (numeric with year symbol)intersect", -3.494723439672979), ("yearday", -2.0794415416798357), ("absorption of , after named dayFebruary", -4.248495242049359), ("year (numeric with year symbol)\19971\19971\33410", -4.248495242049359), ("year (numeric with year symbol)\36926\36234\33410", -5.2293244950610855), ("year (numeric with year symbol)\29369\22826\26032\24180", -5.2293244950610855), ("yearminute", -5.2293244950610855), ("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)", -4.718498871295094)], n = 256}, koData = ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215, likelihoods = HashMap.fromList [("\20799\31461\33410<part-of-day> <dim time>", -2.159484249353372), ("dayhour", -2.7472709142554916), ("year (numeric with year symbol)Sunday", -3.6635616461296463), ("<dim time> <part-of-day><time-of-day> o'clock", -3.258096538021482), ("hourhour", -3.258096538021482), ("hourminute", -2.7472709142554916), ("dayminute", -2.7472709142554916), ("yearday", -3.6635616461296463), ("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)", -2.7472709142554916)], n = 15}}), ("half after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = 0.0, unseen = -2.5649493574615367, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 5}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("\20399\20029\33410", 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}}), ("year (grain)", Classifier{okData = ClassData{prior = -1.625967214385311, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("", 0.0)], n = 12}, koData = ClassData{prior = -0.21905356606268464, unseen = -3.9318256327243257, likelihoods = HashMap.fromList [("", 0.0)], n = 49}}), ("Saturday", Classifier{okData = ClassData{prior = -0.8754687373538999, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.5389965007326869, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("", 0.0)], n = 7}}), ("next <cycle>", Classifier{okData = ClassData{prior = -0.570544858467613, unseen = -3.4965075614664802, likelihoods = HashMap.fromList [("week", -1.6739764335716716), ("month (grain)", -1.5198257537444133), ("year (grain)", -2.367123614131617), ("week (grain)", -1.6739764335716716), ("year", -2.367123614131617), ("month", -1.5198257537444133)], n = 13}, koData = ClassData{prior = -0.832909122935104, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("week", -0.8602012652231115), ("week (grain)", -0.8602012652231115)], n = 10}}), ("last year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22307\27583\34987\27585\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <day-of-week>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.970291913552122, likelihoods = HashMap.fromList [("Wednesday", -1.8718021769015913), ("Monday", -1.8718021769015913), ("day", -0.7323678937132265), ("Tuesday", -1.5533484457830569)], n = 24}, koData = ClassData{prior = -infinity, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [], n = 0}}), ("\35199\36203\25176\25289\33410", 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}}), ("yyyy-mm-dd", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("mm/dd/yyyy", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20811\21704\29305\26222\36838\33410", 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}}), ("\21313\32988\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("evening|night", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20303\26842\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22307\19977\19968\20027\26085", 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}}), ("\30331\38660\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("Monday", Classifier{okData = ClassData{prior = -0.15415067982725836, unseen = -3.258096538021482, likelihoods = HashMap.fromList [("", 0.0)], n = 24}, koData = ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("\19971\19971\33410", 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.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<time> <day-of-month>", Classifier{okData = ClassData{prior = -0.24946085963158313, unseen = -4.204692619390966, likelihoods = HashMap.fromList [("integer (numeric)", -1.3564413979702095), ("integer (20,30,40)", -3.0910424533583156), ("integer with consecutive unit modifiers", -1.245215762859985), ("integer (0..10)", -1.4170660197866443), ("number suffix: \21313|\25342", -2.1102132003465894), ("compose by multiplication", -3.0910424533583156)], n = 60}, koData = ClassData{prior = -1.5105920777974677, unseen = -3.1780538303479458, likelihoods = HashMap.fromList [("integer (0..10)", -0.3629054936893685), ("number suffix: \21313|\25342", -2.03688192726104)], n = 17}}), ("\19996\27491\25945\22797\27963\33410", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("hh:mm (time-of-day)", 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}}), ("relative (1-9) minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = 0.0, unseen = -3.044522437723423, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 9}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("<integer> (latent time-of-day)", Classifier{okData = ClassData{prior = -0.2754119798599665, unseen = -3.8066624897703196, likelihoods = HashMap.fromList [("integer (numeric)", -2.174751721484161), ("integer (0..10)", -0.1466034741918754)], n = 41}, koData = ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("integer (numeric)", -0.4700036292457356), ("one point 2", -1.1631508098056809)], n = 13}}), ("\36926\36234\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("nth <time> of <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("Octoberordinal (digits)Monday", -0.6931471805599453), ("monthday", -0.6931471805599453)], n = 4}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("\22235\26092\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\22307\21608\20845", 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}}), ("April", 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}}), ("\21360\24230\20016\25910\33410", 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}}), ("\20809\26126\33410", 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 (grain)", Classifier{okData = ClassData{prior = -0.8434293836092833, unseen = -3.6635616461296463, likelihoods = HashMap.fromList [("", 0.0)], n = 37}, koData = ClassData{prior = -0.5625269981428811, unseen = -3.9318256327243257, likelihoods = HashMap.fromList [("", 0.0)], n = 49}}), ("relative (10-59) minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = -0.45198512374305727, unseen = -4.127134385045092, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)compose by multiplication", -2.164963715117998), ("<integer> (latent time-of-day)integer with consecutive unit modifiers", -0.9753796482441617), ("hour", -0.7435780341868373)], n = 28}, koData = ClassData{prior = -1.0116009116784799, unseen = -3.6375861597263857, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)number suffix: \21313|\25342", -1.413693335308005), ("<integer> (latent time-of-day)integer (0..10)", -1.413693335308005), ("hour", -0.7777045685880083)], n = 16}}), ("year (numeric with year symbol)", Classifier{okData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("integer (numeric)", 0.0)], n = 47}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("now", Classifier{okData = ClassData{prior = 0.0, unseen = -2.4849066497880004, likelihoods = HashMap.fromList [("", 0.0)], n = 10}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22823\25995\26399", 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}}), ("\24858\20154\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\29369\22826\26893\26641\33410", 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}}), ("\19996\27491\25945\22797\27963\33410\26143\26399\19968", 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}}), ("\22307\28789\33410\24198\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("numbers prefix with -, negative or minus", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("integer (numeric)", 0.0)], n = 4}}), ("Friday", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("tomorrow", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22522\30563\22307\20307\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\28595\38376\22238\24402\32426\24565\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\21360\24230\20804\22969\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next <day-of-week>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.1780538303479458, likelihoods = HashMap.fromList [("Wednesday", -1.3437347467010947), ("day", -0.7375989431307791), ("Tuesday", -1.3437347467010947)], n = 10}, koData = ClassData{prior = -infinity, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [], n = 0}}), ("fractional number", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("Sunday", Classifier{okData = ClassData{prior = -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}}), ("afternoon", Classifier{okData = ClassData{prior = 0.0, unseen = -3.6375861597263857, likelihoods = HashMap.fromList [("", 0.0)], n = 36}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<duration> from now", Classifier{okData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("week", -2.2617630984737906), ("second", -2.772588722239781), ("day", -2.2617630984737906), ("year", -2.772588722239781), ("<integer> <unit-of-duration>", -0.8266785731844679), ("hour", -2.2617630984737906), ("month", -2.772588722239781), ("minute", -2.772588722239781)], n = 20}}), ("\36174\32618\26085", 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}}), ("February", Classifier{okData = ClassData{prior = 0.0, unseen = -3.258096538021482, likelihoods = HashMap.fromList [("", 0.0)], n = 24}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <cycle>", Classifier{okData = ClassData{prior = -0.8909729238898653, unseen = -3.6635616461296463, likelihoods = HashMap.fromList [("week", -1.1526795099383855), ("month (grain)", -2.2512917986064953), ("year (grain)", -2.538973871058276), ("week (grain)", -1.1526795099383855), ("year", -2.538973871058276), ("month", -2.2512917986064953)], n = 16}, koData = ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122, likelihoods = HashMap.fromList [("week", -0.7731898882334817), ("week (grain)", -0.7731898882334817)], n = 23}}), ("minute (grain)", Classifier{okData = ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165, likelihoods = HashMap.fromList [("", 0.0)], n = 16}, koData = ClassData{prior = -1.0216512475319814, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("", 0.0)], n = 9}}), ("xxxx year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)integer (0..10)integer (0..10)", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<dim time> <part-of-day>", Classifier{okData = ClassData{prior = -7.696104113612832e-2, unseen = -4.6913478822291435, likelihoods = HashMap.fromList [("dayhour", -0.750305594399894), ("national dayevening|night", -3.58351893845611), ("<named-month> <day-of-month>morning", -2.117181869662683), ("\24773\20154\33410evening|night", -3.58351893845611), ("\20799\31461\33410afternoon", -3.58351893845611), ("intersectmorning", -2.117181869662683), ("<time> <day-of-month>morning", -2.117181869662683), ("Mondaymorning", -2.4849066497880004)], n = 50}, koData = ClassData{prior = -2.6026896854443837, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("dayhour", -1.1631508098056809), ("<time> <day-of-month>morning", -1.1631508098056809)], n = 4}}), ("<part-of-day> <dim time>", Classifier{okData = ClassData{prior = -0.7935659283069926, unseen = -5.0369526024136295, likelihoods = HashMap.fromList [("tonight<integer> (latent time-of-day)", -3.4210000089583352), ("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)", -1.6631420914059614), ("hourhour", -2.322387720290225), ("afternoon<time-of-day> o'clock", -3.644143560272545), ("hourminute", -0.9699949108460162), ("afternoon<integer> (latent time-of-day)", -3.644143560272545), ("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)", -2.72785282839839), ("afternoonhh:mm (time-of-day)", -3.644143560272545), ("tonight<time-of-day> o'clock", -3.4210000089583352), ("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)", -2.4654885639308985), ("afternoonhalf after|past <integer> (hour-of-day)", -3.2386784521643803)], n = 71}, koData = ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986, likelihoods = HashMap.fromList [("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)", -2.3762728087852047), ("hourhour", -0.9899784476653142), ("afternoon<time-of-day> o'clock", -1.7754989483562746), ("hourminute", -2.21375387928743), ("afternoon<integer> (latent time-of-day)", -1.571899993115035), ("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)", -3.82319179172153)], n = 86}}), ("<integer> <unit-of-duration>", Classifier{okData = ClassData{prior = -infinity, unseen = -3.1354942159291497, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -6.244166900663736, likelihoods = HashMap.fromList [("number suffix: \21313|\25342month (grain)", -4.632785353021065), ("week", -3.0233474405869645), ("integer (0..10)month (grain)", -2.745715703988685), ("integer (0..10)hour (grain)", -3.1067290495260154), ("<number>\20010/\20491week (grain)", -3.8443279926567944), ("compose by multiplicationminute (grain)", -4.45046379622711), ("second", -3.6031659358399066), ("integer (0..10)day (grain)", -3.1067290495260154), ("integer (0..10)year (grain)", -3.7573166156671647), ("<number>\20010/\20491month (grain)", -3.469634543215384), ("integer (numeric)year (grain)", -2.3710222545472743), ("integer (0..10)second (grain)", -3.6031659358399066), ("day", -3.1067290495260154), ("year", -2.1646858215494458), ("integer (0..10)minute (grain)", -2.984126727433683), ("number suffix: \21313|\25342minute (grain)", -4.855928904335275), ("hour", -3.1067290495260154), ("integer (0..10)week (grain)", -3.534173064352955), ("month", -2.008116760857906), ("integer (numeric)month (grain)", -3.3518515075590005), ("integer with consecutive unit modifiersminute (grain)", -4.296313116399852), ("minute", -2.553343811341229)], n = 246}}), ("\32769\26495\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\31709\28779\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<time-of-day> am|pm", Classifier{okData = ClassData{prior = -0.4353180712578455, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("hh:mm (time-of-day)", -0.9555114450274363), ("<integer> (latent time-of-day)", -2.159484249353372), ("hour", -2.159484249353372), ("minute", -0.9555114450274363)], n = 11}, koData = ClassData{prior = -1.041453874828161, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.8266785731844679), ("hour", -0.8266785731844679)], n = 6}}), ("one point 2", Classifier{okData = ClassData{prior = -infinity, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.7612001156935624, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)", -0.9650808960435872), ("integer (0..10)number suffix: \21313|\25342", -1.9459101490553135), ("integer (0..10)integer with consecutive unit modifiers", -1.3397743454849977), ("integer (0..10)<number>\20010/\20491", -2.639057329615259), ("integer (0..10)compose by multiplication", -2.639057329615259), ("integer (0..10)half", -2.639057329615259)], n = 36}}), ("intersect by \",\"", Classifier{okData = ClassData{prior = 0.0, unseen = -4.330733340286331, likelihoods = HashMap.fromList [("daymonth", -2.2380465718564744), ("Sunday<named-month> <day-of-month>", -1.6094379124341003), ("SundayFebruary", -2.2380465718564744), ("dayday", -0.9501922835498364), ("Sundayintersect", -1.6094379124341003)], n = 35}, koData = ClassData{prior = -infinity, unseen = -1.791759469228055, likelihoods = HashMap.fromList [], n = 0}}), ("\26837\26525\20027\26085", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("\38463\33298\25289\33410", 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}}), ("integer with consecutive unit modifiers", Classifier{okData = ClassData{prior = -5.715841383994864e-2, unseen = -3.6109179126442243, likelihoods = HashMap.fromList [("number suffix: \21313|\25342integer (0..10)", -0.6931471805599453), ("integer (0..10)integer (0..10)", -0.6931471805599453)], n = 34}, koData = ClassData{prior = -2.890371757896165, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)", -0.2876820724517809)], n = 2}}), ("second (grain)", Classifier{okData = ClassData{prior = 0.0, unseen = -2.70805020110221, likelihoods = HashMap.fromList [("", 0.0)], n = 13}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\32822\31267\21463\38590\26085", 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}}), ("\25289\25746\36335\22307\21608\20845", 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}}), ("<duration> ago", Classifier{okData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("week", -2.2617630984737906), ("second", -2.772588722239781), ("day", -2.2617630984737906), ("year", -2.772588722239781), ("<integer> <unit-of-duration>", -0.8266785731844679), ("hour", -2.2617630984737906), ("month", -2.772588722239781), ("minute", -2.772588722239781)], n = 20}}), ("\22307\35806\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("last <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.332204510175204, likelihoods = HashMap.fromList [("day", -0.7308875085427924), ("Sunday", -1.2163953243244932), ("Tuesday", -1.5040773967762742)], n = 12}, koData = ClassData{prior = -infinity, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [], n = 0}}), ("\20234\26031\20848\26032\24180", 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}}), ("March", 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}}), ("\24320\25995\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("the day after tomorrow", 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}}), ("\22307\21608\20845", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}, koData = ClassData{prior = -0.6931471805599453, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}}), ("\22919\22899\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20840\29699\38738\24180\26381\21153\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\27431\21335\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20061\22812\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next <time>", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("day", -0.7731898882334817), ("Tuesday", -0.7731898882334817)], n = 5}, koData = ClassData{prior = -0.6931471805599453, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("Wednesday", -0.7731898882334817), ("day", -0.7731898882334817)], n = 5}}), ("last <cycle>", Classifier{okData = ClassData{prior = -0.8472978603872037, unseen = -3.2188758248682006, likelihoods = HashMap.fromList [("week", -1.3862943611198906), ("month (grain)", -1.791759469228055), ("year (grain)", -2.4849066497880004), ("week (grain)", -1.3862943611198906), ("year", -2.4849066497880004), ("month", -1.791759469228055)], n = 9}, koData = ClassData{prior = -0.5596157879354228, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("week", -0.8362480242006186), ("week (grain)", -0.8362480242006186)], n = 12}}), ("\20197\33394\21015\29420\31435\26085", 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}}), ("next n <cycle>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.605170185988091, likelihoods = HashMap.fromList [("week", -2.3978952727983707), ("integer (0..10)hour (grain)", -2.3978952727983707), ("<number>\20010/\20491week (grain)", -2.9856819377004897), ("second", -2.803360380906535), ("integer (0..10)day (grain)", -2.515678308454754), ("integer (0..10)year (grain)", -3.2088254890146994), ("<number>\20010/\20491month (grain)", -2.803360380906535), ("integer (0..10)second (grain)", -2.803360380906535), ("day", -2.515678308454754), ("year", -3.2088254890146994), ("integer (0..10)minute (grain)", -2.649209701079277), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.9856819377004897), ("month", -2.803360380906535), ("minute", -2.649209701079277)], n = 42}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("\19975\22307\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\21476\23572\37030\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("number of five minutes", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("integer (0..10)", 0.0)], n = 2}}), ("\20799\31461\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("Tuesday", Classifier{okData = ClassData{prior = -3.922071315328127e-2, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("", 0.0)], n = 25}, koData = ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}}), ("\26149\33410", 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}}), ("number.number minutes", 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 (0..10)integer with consecutive unit modifiersminute (grain)", -1.0986122886681098), ("integer (0..10)compose by multiplicationminute (grain)", -1.6094379124341003), ("minute", -0.7621400520468967)], n = 6}}), ("\32822\31267\21463\38590\26085", Classifier{okData = ClassData{prior = -1.0296194171811581, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.4418327522790392, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("", 0.0)], n = 9}}), ("<named-month> <day-of-month>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.762173934797756, likelihoods = HashMap.fromList [("Marchinteger (0..10)", -2.5563656137701454), ("Marchinteger (numeric)", -3.144152278672264), ("Aprilinteger (numeric)", -3.654977902438255), ("Februaryinteger (0..10)", -2.6741486494265287), ("Februarynumber suffix: \21313|\25342", -2.6741486494265287), ("month", -0.7462570058738938), ("Februaryinteger (numeric)", -2.5563656137701454), ("Februaryinteger with consecutive unit modifiers", -1.8091512119399242)], n = 54}, koData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}}), ("\21171\21160\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22797\27963\33410\26143\26399\19968", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("number suffix: \19975|\33836", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("\22823\25995\39318\26085", 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}}), ("half", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("two days 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}}), ("integer (0..10)", Classifier{okData = ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119, likelihoods = HashMap.fromList [("", 0.0)], n = 221}, koData = ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795, likelihoods = HashMap.fromList [("", 0.0)], n = 180}}), ("last n <cycle>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.605170185988091, likelihoods = HashMap.fromList [("week", -2.9856819377004897), ("integer (0..10)month (grain)", -3.4965075614664802), ("integer (0..10)hour (grain)", -2.3978952727983707), ("second", -2.649209701079277), ("integer (0..10)day (grain)", -2.9856819377004897), ("integer (0..10)year (grain)", -3.4965075614664802), ("<number>\20010/\20491month (grain)", -2.3978952727983707), ("integer (0..10)second (grain)", -2.649209701079277), ("day", -2.9856819377004897), ("year", -3.4965075614664802), ("integer (0..10)minute (grain)", -2.3978952727983707), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.9856819377004897), ("month", -2.1972245773362196), ("minute", -2.3978952727983707)], n = 42}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("last <duration>", Classifier{okData = ClassData{prior = -infinity, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.912023005428146, likelihoods = HashMap.fromList [("week", -2.2823823856765264), ("second", -2.505525936990736), ("day", -2.793208009442517), ("<integer> <unit-of-duration>", -0.8007778447523107), ("hour", -2.2823823856765264), ("month", -2.2823823856765264), ("minute", -2.2823823856765264)], n = 21}}), ("ordinal (digits)", Classifier{okData = ClassData{prior = -1.252762968495368, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("<number>\20010/\20491", -0.1823215567939546)], n = 4}, koData = ClassData{prior = -0.3364722366212129, unseen = -2.5649493574615367, likelihoods = HashMap.fromList [("integer (0..10)", -8.701137698962981e-2)], n = 10}}), ("n <cycle> last", Classifier{okData = ClassData{prior = 0.0, unseen = -4.02535169073515, likelihoods = HashMap.fromList [("week", -2.3978952727983707), ("integer (0..10)hour (grain)", -2.3978952727983707), ("<number>\20010/\20491week (grain)", -2.908720896564361), ("second", -2.908720896564361), ("integer (0..10)day (grain)", -2.3978952727983707), ("integer (0..10)year (grain)", -2.908720896564361), ("<number>\20010/\20491month (grain)", -2.908720896564361), ("integer (0..10)second (grain)", -2.908720896564361), ("day", -2.3978952727983707), ("year", -2.908720896564361), ("integer (0..10)minute (grain)", -2.908720896564361), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.908720896564361), ("month", -2.908720896564361), ("minute", -2.908720896564361)], n = 20}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("\24527\24724\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("morning", Classifier{okData = ClassData{prior = 0.0, unseen = -2.890371757896165, likelihoods = HashMap.fromList [("", 0.0)], n = 16}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("week-end", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("number suffix: \21313|\25342", Classifier{okData = ClassData{prior = -0.1590646946296874, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("", 0.0)], n = 29}, koData = ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("\22320\29699\19968\23567\26102", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("day (grain)", Classifier{okData = ClassData{prior = -0.38299225225610584, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("", 0.0)], n = 15}, koData = ClassData{prior = -1.1451323043030026, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("", 0.0)], n = 7}}), ("\22307\32426\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22797\27963\33410", Classifier{okData = ClassData{prior = -1.0986122886681098, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -0.40546510810816444, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}}), ("<number>\20010/\20491", Classifier{okData = ClassData{prior = -0.2006706954621511, unseen = -3.4011973816621555, likelihoods = HashMap.fromList [("integer (0..10)", -3.509131981127006e-2)], n = 27}, koData = ClassData{prior = -1.7047480922384253, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("one point 2", -0.9808292530117262), ("integer (0..10)", -0.4700036292457356)], n = 6}}), ("compose by multiplication", Classifier{okData = ClassData{prior = -0.3364722366212129, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("integer (0..10)number suffix: \21313|\25342", -0.15415067982725836)], n = 5}, koData = ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("one point 2number suffix: \21313|\25342", -0.2876820724517809)], n = 2}}), ("\24773\20154\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20116\26092\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\31070\22307\26143\26399\22235", 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}}), ("\25995\26376", 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}}), ("\27861\20196\20043\22812", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.07753744390572, likelihoods = HashMap.fromList [("Wednesday", -1.9810014688665833), ("Monday", -1.9810014688665833), ("day", -0.8415671856782186), ("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489), ("week-end", -2.9618307218783095)], n = 26}, koData = ClassData{prior = -infinity, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [], n = 0}})]
93,221
classifiers :: Classifiers classifiers = HashMap.fromList [("\25490\28783\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\26837\26525\20027\26085", 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}}), ("number of 5 minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = -0.2231435513142097, unseen = -3.332204510175204, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.8979415932059586), ("hour", -0.7308875085427924), ("<integer> (latent time-of-day)<number>\20010/\20491", -2.1972245773362196)], n = 12}, koData = ClassData{prior = -1.6094379124341003, unseen = -2.3025850929940455, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.8109302162163288), ("hour", -0.8109302162163288)], n = 3}}), ("\21360\24230\20016\25910\33410\31532\22235\22825", 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}}), ("<time> timezone", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("<time-of-day> am|pm", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 1}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("Thursday", Classifier{okData = ClassData{prior = -0.4700036292457356, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.9808292530117262, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("integer (numeric)", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726, likelihoods = HashMap.fromList [("", 0.0)], n = 67}, koData = ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726, likelihoods = HashMap.fromList [("", 0.0)], n = 67}}), ("\21355\22622\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("the day before yesterday", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22269\38469\28040\36153\32773\26435\30410\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\24314\20891\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\29369\22826\26032\24180", 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}}), ("today", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("mm/dd", Classifier{okData = ClassData{prior = -1.6094379124341003, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}, koData = ClassData{prior = -0.2231435513142097, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("absorption of , after named day", Classifier{okData = ClassData{prior = 0.0, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("day", -0.6931471805599453), ("Sunday", -0.6931471805599453)], n = 7}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("September", 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}}), ("tonight", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("October", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("month (grain)", Classifier{okData = ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("", 0.0)], n = 29}, koData = ClassData{prior = -0.48058573857627246, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("", 0.0)], n = 47}}), ("<time-of-day> o'clock", Classifier{okData = ClassData{prior = -1.466337068793427, unseen = -3.044522437723423, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 9}, koData = ClassData{prior = -0.262364264467491, unseen = -4.143134726391533, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 30}}), ("national day", 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}}), ("integer (20,30,40)", 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}}), ("Wednesday", Classifier{okData = ClassData{prior = -5.715841383994864e-2, unseen = -2.9444389791664407, likelihoods = HashMap.fromList [("", 0.0)], n = 17}, koData = ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}}), ("\21360\24230\20016\25910\33410\31532\19977\22825", 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}}), ("hour (grain)", Classifier{okData = ClassData{prior = -9.53101798043249e-2, unseen = -3.0910424533583156, likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -2.3978952727983707, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("\22307\20250\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20803\26086", Classifier{okData = ClassData{prior = -1.0986122886681098, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -0.40546510810816444, unseen = -2.3025850929940455, likelihoods = HashMap.fromList [("", 0.0)], n = 8}}), ("\32654\22269\29420\31435\26085", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("intersect", Classifier{okData = ClassData{prior = -5.694137640013845e-2, unseen = -6.329720905522696, likelihoods = HashMap.fromList [("\20799\31461\33410<part-of-day> <dim time>", -4.718498871295094), ("year (numeric with year symbol)\20809\26126\33410", -4.248495242049359), ("xxxx year<named-month> <day-of-month>", -4.941642422609305), ("daymonth", -4.248495242049359), ("monthday", -1.9459101490553135), ("next yearSeptember", -5.2293244950610855), ("year (numeric with year symbol)\25995\26376", -4.941642422609305), ("year (numeric with year symbol)\20061\22812\33410", -4.941642422609305), ("year (numeric with year symbol)February", -4.718498871295094), ("xxxx yearintersect", -4.941642422609305), ("March<time> <day-of-month>", -3.7629874262676584), ("year (numeric with year symbol)<named-month> <day-of-month>", -3.494723439672979), ("monthhour", -3.7629874262676584), ("year (numeric with year symbol)\22320\29699\19968\23567\26102", -5.2293244950610855), ("year (numeric with year symbol)April", -5.2293244950610855), ("dayday", -2.284885515894645), ("hourhour", -4.718498871295094), ("xxxx yearFebruary", -5.634789603169249), ("year (numeric with year symbol)March", -4.1307122063929755), ("February<dim time> <part-of-day>", -3.7629874262676584), ("hourminute", -4.718498871295094), ("April<time> <day-of-month>", -5.2293244950610855), ("February<time> <day-of-month>", -2.614364717024887), ("absorption of , after named day<named-month> <day-of-month>", -3.619886582626985), ("year (numeric with year symbol)\22823\25995\26399", -4.941642422609305), ("this <cycle><time> <day-of-month>", -4.941642422609305), ("year (numeric with year symbol)\22235\26092\33410", -5.2293244950610855), ("yearmonth", -3.332204510175204), ("year (numeric with year symbol)\20303\26842\33410", -5.2293244950610855), ("dayminute", -4.718498871295094), ("next <cycle>September", -5.634789603169249), ("intersect by \",\"<time> <day-of-month>", -3.619886582626985), ("xxxx yearMarch", -5.634789603169249), ("absorption of , after named dayintersect", -3.619886582626985), ("intersect<time> <day-of-month>", -2.8015762591130335), ("next <cycle><time> <day-of-month>", -4.941642422609305), ("tonight<time-of-day> o'clock", -4.718498871295094), ("year (numeric with year symbol)intersect", -3.494723439672979), ("yearday", -2.0794415416798357), ("absorption of , after named dayFebruary", -4.248495242049359), ("year (numeric with year symbol)\19971\19971\33410", -4.248495242049359), ("year (numeric with year symbol)\36926\36234\33410", -5.2293244950610855), ("year (numeric with year symbol)\29369\22826\26032\24180", -5.2293244950610855), ("yearminute", -5.2293244950610855), ("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)", -4.718498871295094)], n = 256}, koData = ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215, likelihoods = HashMap.fromList [("\20799\31461\33410<part-of-day> <dim time>", -2.159484249353372), ("dayhour", -2.7472709142554916), ("year (numeric with year symbol)Sunday", -3.6635616461296463), ("<dim time> <part-of-day><time-of-day> o'clock", -3.258096538021482), ("hourhour", -3.258096538021482), ("hourminute", -2.7472709142554916), ("dayminute", -2.7472709142554916), ("yearday", -3.6635616461296463), ("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)", -2.7472709142554916)], n = 15}}), ("half after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = 0.0, unseen = -2.5649493574615367, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 5}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("\20399\20029\33410", 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}}), ("year (grain)", Classifier{okData = ClassData{prior = -1.625967214385311, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("", 0.0)], n = 12}, koData = ClassData{prior = -0.21905356606268464, unseen = -3.9318256327243257, likelihoods = HashMap.fromList [("", 0.0)], n = 49}}), ("Saturday", Classifier{okData = ClassData{prior = -0.8754687373538999, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.5389965007326869, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("", 0.0)], n = 7}}), ("next <cycle>", Classifier{okData = ClassData{prior = -0.570544858467613, unseen = -3.4965075614664802, likelihoods = HashMap.fromList [("week", -1.6739764335716716), ("month (grain)", -1.5198257537444133), ("year (grain)", -2.367123614131617), ("week (grain)", -1.6739764335716716), ("year", -2.367123614131617), ("month", -1.5198257537444133)], n = 13}, koData = ClassData{prior = -0.832909122935104, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("week", -0.8602012652231115), ("week (grain)", -0.8602012652231115)], n = 10}}), ("last year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22307\27583\34987\27585\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <day-of-week>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.970291913552122, likelihoods = HashMap.fromList [("Wednesday", -1.8718021769015913), ("Monday", -1.8718021769015913), ("day", -0.7323678937132265), ("Tuesday", -1.5533484457830569)], n = 24}, koData = ClassData{prior = -infinity, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [], n = 0}}), ("\35199\36203\25176\25289\33410", 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}}), ("yyyy-mm-dd", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("mm/dd/yyyy", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20811\21704\29305\26222\36838\33410", 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}}), ("\21313\32988\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("evening|night", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20303\26842\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22307\19977\19968\20027\26085", 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}}), ("\30331\38660\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("Monday", Classifier{okData = ClassData{prior = -0.15415067982725836, unseen = -3.258096538021482, likelihoods = HashMap.fromList [("", 0.0)], n = 24}, koData = ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("\19971\19971\33410", 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.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<time> <day-of-month>", Classifier{okData = ClassData{prior = -0.24946085963158313, unseen = -4.204692619390966, likelihoods = HashMap.fromList [("integer (numeric)", -1.3564413979702095), ("integer (20,30,40)", -3.0910424533583156), ("integer with consecutive unit modifiers", -1.245215762859985), ("integer (0..10)", -1.4170660197866443), ("number suffix: \21313|\25342", -2.1102132003465894), ("compose by multiplication", -3.0910424533583156)], n = 60}, koData = ClassData{prior = -1.5105920777974677, unseen = -3.1780538303479458, likelihoods = HashMap.fromList [("integer (0..10)", -0.3629054936893685), ("number suffix: \21313|\25342", -2.03688192726104)], n = 17}}), ("\19996\27491\25945\22797\27963\33410", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("hh:mm (time-of-day)", 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}}), ("relative (1-9) minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = 0.0, unseen = -3.044522437723423, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 9}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("<integer> (latent time-of-day)", Classifier{okData = ClassData{prior = -0.2754119798599665, unseen = -3.8066624897703196, likelihoods = HashMap.fromList [("integer (numeric)", -2.174751721484161), ("integer (0..10)", -0.1466034741918754)], n = 41}, koData = ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("integer (numeric)", -0.4700036292457356), ("one point 2", -1.1631508098056809)], n = 13}}), ("\36926\36234\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("nth <time> of <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("Octoberordinal (digits)Monday", -0.6931471805599453), ("monthday", -0.6931471805599453)], n = 4}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("\22235\26092\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\22307\21608\20845", 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}}), ("April", 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}}), ("\21360\24230\20016\25910\33410", 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}}), ("\20809\26126\33410", 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 (grain)", Classifier{okData = ClassData{prior = -0.8434293836092833, unseen = -3.6635616461296463, likelihoods = HashMap.fromList [("", 0.0)], n = 37}, koData = ClassData{prior = -0.5625269981428811, unseen = -3.9318256327243257, likelihoods = HashMap.fromList [("", 0.0)], n = 49}}), ("relative (10-59) minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = -0.45198512374305727, unseen = -4.127134385045092, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)compose by multiplication", -2.164963715117998), ("<integer> (latent time-of-day)integer with consecutive unit modifiers", -0.9753796482441617), ("hour", -0.7435780341868373)], n = 28}, koData = ClassData{prior = -1.0116009116784799, unseen = -3.6375861597263857, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)number suffix: \21313|\25342", -1.413693335308005), ("<integer> (latent time-of-day)integer (0..10)", -1.413693335308005), ("hour", -0.7777045685880083)], n = 16}}), ("year (numeric with year symbol)", Classifier{okData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("integer (numeric)", 0.0)], n = 47}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("now", Classifier{okData = ClassData{prior = 0.0, unseen = -2.4849066497880004, likelihoods = HashMap.fromList [("", 0.0)], n = 10}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22823\25995\26399", 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}}), ("\24858\20154\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\29369\22826\26893\26641\33410", 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}}), ("\19996\27491\25945\22797\27963\33410\26143\26399\19968", 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}}), ("\22307\28789\33410\24198\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("numbers prefix with -, negative or minus", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("integer (numeric)", 0.0)], n = 4}}), ("Friday", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("tomorrow", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22522\30563\22307\20307\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\28595\38376\22238\24402\32426\24565\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\21360\24230\20804\22969\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next <day-of-week>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.1780538303479458, likelihoods = HashMap.fromList [("Wednesday", -1.3437347467010947), ("day", -0.7375989431307791), ("Tuesday", -1.3437347467010947)], n = 10}, koData = ClassData{prior = -infinity, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [], n = 0}}), ("fractional number", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("Sunday", Classifier{okData = ClassData{prior = -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}}), ("afternoon", Classifier{okData = ClassData{prior = 0.0, unseen = -3.6375861597263857, likelihoods = HashMap.fromList [("", 0.0)], n = 36}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<duration> from now", Classifier{okData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("week", -2.2617630984737906), ("second", -2.772588722239781), ("day", -2.2617630984737906), ("year", -2.772588722239781), ("<integer> <unit-of-duration>", -0.8266785731844679), ("hour", -2.2617630984737906), ("month", -2.772588722239781), ("minute", -2.772588722239781)], n = 20}}), ("\36174\32618\26085", 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}}), ("February", Classifier{okData = ClassData{prior = 0.0, unseen = -3.258096538021482, likelihoods = HashMap.fromList [("", 0.0)], n = 24}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <cycle>", Classifier{okData = ClassData{prior = -0.8909729238898653, unseen = -3.6635616461296463, likelihoods = HashMap.fromList [("week", -1.1526795099383855), ("month (grain)", -2.2512917986064953), ("year (grain)", -2.538973871058276), ("week (grain)", -1.1526795099383855), ("year", -2.538973871058276), ("month", -2.2512917986064953)], n = 16}, koData = ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122, likelihoods = HashMap.fromList [("week", -0.7731898882334817), ("week (grain)", -0.7731898882334817)], n = 23}}), ("minute (grain)", Classifier{okData = ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165, likelihoods = HashMap.fromList [("", 0.0)], n = 16}, koData = ClassData{prior = -1.0216512475319814, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("", 0.0)], n = 9}}), ("xxxx year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)integer (0..10)integer (0..10)", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<dim time> <part-of-day>", Classifier{okData = ClassData{prior = -7.696104113612832e-2, unseen = -4.6913478822291435, likelihoods = HashMap.fromList [("dayhour", -0.750305594399894), ("national dayevening|night", -3.58351893845611), ("<named-month> <day-of-month>morning", -2.117181869662683), ("\24773\20154\33410evening|night", -3.58351893845611), ("\20799\31461\33410afternoon", -3.58351893845611), ("intersectmorning", -2.117181869662683), ("<time> <day-of-month>morning", -2.117181869662683), ("Mondaymorning", -2.4849066497880004)], n = 50}, koData = ClassData{prior = -2.6026896854443837, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("dayhour", -1.1631508098056809), ("<time> <day-of-month>morning", -1.1631508098056809)], n = 4}}), ("<part-of-day> <dim time>", Classifier{okData = ClassData{prior = -0.7935659283069926, unseen = -5.0369526024136295, likelihoods = HashMap.fromList [("tonight<integer> (latent time-of-day)", -3.4210000089583352), ("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)", -1.6631420914059614), ("hourhour", -2.322387720290225), ("afternoon<time-of-day> o'clock", -3.644143560272545), ("hourminute", -0.9699949108460162), ("afternoon<integer> (latent time-of-day)", -3.644143560272545), ("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)", -2.72785282839839), ("afternoonhh:mm (time-of-day)", -3.644143560272545), ("tonight<time-of-day> o'clock", -3.4210000089583352), ("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)", -2.4654885639308985), ("afternoonhalf after|past <integer> (hour-of-day)", -3.2386784521643803)], n = 71}, koData = ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986, likelihoods = HashMap.fromList [("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)", -2.3762728087852047), ("hourhour", -0.9899784476653142), ("afternoon<time-of-day> o'clock", -1.7754989483562746), ("hourminute", -2.21375387928743), ("afternoon<integer> (latent time-of-day)", -1.571899993115035), ("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)", -3.82319179172153)], n = 86}}), ("<integer> <unit-of-duration>", Classifier{okData = ClassData{prior = -infinity, unseen = -3.1354942159291497, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -6.244166900663736, likelihoods = HashMap.fromList [("number suffix: \21313|\25342month (grain)", -4.632785353021065), ("week", -3.0233474405869645), ("integer (0..10)month (grain)", -2.745715703988685), ("integer (0..10)hour (grain)", -3.1067290495260154), ("<number>\20010/\20491week (grain)", -3.8443279926567944), ("compose by multiplicationminute (grain)", -4.45046379622711), ("second", -3.6031659358399066), ("integer (0..10)day (grain)", -3.1067290495260154), ("integer (0..10)year (grain)", -3.7573166156671647), ("<number>\20010/\20491month (grain)", -3.469634543215384), ("integer (numeric)year (grain)", -2.3710222545472743), ("integer (0..10)second (grain)", -3.6031659358399066), ("day", -3.1067290495260154), ("year", -2.1646858215494458), ("integer (0..10)minute (grain)", -2.984126727433683), ("number suffix: \21313|\25342minute (grain)", -4.855928904335275), ("hour", -3.1067290495260154), ("integer (0..10)week (grain)", -3.534173064352955), ("month", -2.008116760857906), ("integer (numeric)month (grain)", -3.3518515075590005), ("integer with consecutive unit modifiersminute (grain)", -4.296313116399852), ("minute", -2.553343811341229)], n = 246}}), ("\32769\26495\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\31709\28779\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<time-of-day> am|pm", Classifier{okData = ClassData{prior = -0.4353180712578455, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("hh:mm (time-of-day)", -0.9555114450274363), ("<integer> (latent time-of-day)", -2.159484249353372), ("hour", -2.159484249353372), ("minute", -0.9555114450274363)], n = 11}, koData = ClassData{prior = -1.041453874828161, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.8266785731844679), ("hour", -0.8266785731844679)], n = 6}}), ("one point 2", Classifier{okData = ClassData{prior = -infinity, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.7612001156935624, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)", -0.9650808960435872), ("integer (0..10)number suffix: \21313|\25342", -1.9459101490553135), ("integer (0..10)integer with consecutive unit modifiers", -1.3397743454849977), ("integer (0..10)<number>\20010/\20491", -2.639057329615259), ("integer (0..10)compose by multiplication", -2.639057329615259), ("integer (0..10)half", -2.639057329615259)], n = 36}}), ("intersect by \",\"", Classifier{okData = ClassData{prior = 0.0, unseen = -4.330733340286331, likelihoods = HashMap.fromList [("daymonth", -2.2380465718564744), ("Sunday<named-month> <day-of-month>", -1.6094379124341003), ("SundayFebruary", -2.2380465718564744), ("dayday", -0.9501922835498364), ("Sundayintersect", -1.6094379124341003)], n = 35}, koData = ClassData{prior = -infinity, unseen = -1.791759469228055, likelihoods = HashMap.fromList [], n = 0}}), ("\26837\26525\20027\26085", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("\38463\33298\25289\33410", 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}}), ("integer with consecutive unit modifiers", Classifier{okData = ClassData{prior = -5.715841383994864e-2, unseen = -3.6109179126442243, likelihoods = HashMap.fromList [("number suffix: \21313|\25342integer (0..10)", -0.6931471805599453), ("integer (0..10)integer (0..10)", -0.6931471805599453)], n = 34}, koData = ClassData{prior = -2.890371757896165, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)", -0.2876820724517809)], n = 2}}), ("second (grain)", Classifier{okData = ClassData{prior = 0.0, unseen = -2.70805020110221, likelihoods = HashMap.fromList [("", 0.0)], n = 13}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\32822\31267\21463\38590\26085", 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}}), ("\25289\25746\36335\22307\21608\20845", 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}}), ("<duration> ago", Classifier{okData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("week", -2.2617630984737906), ("second", -2.772588722239781), ("day", -2.2617630984737906), ("year", -2.772588722239781), ("<integer> <unit-of-duration>", -0.8266785731844679), ("hour", -2.2617630984737906), ("month", -2.772588722239781), ("minute", -2.772588722239781)], n = 20}}), ("\22307\35806\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("last <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.332204510175204, likelihoods = HashMap.fromList [("day", -0.7308875085427924), ("Sunday", -1.2163953243244932), ("Tuesday", -1.5040773967762742)], n = 12}, koData = ClassData{prior = -infinity, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [], n = 0}}), ("\20234\26031\20848\26032\24180", 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}}), ("March", 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}}), ("\24320\25995\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("the day after tomorrow", 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}}), ("\22307\21608\20845", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}, koData = ClassData{prior = -0.6931471805599453, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}}), ("\22919\22899\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20840\29699\38738\24180\26381\21153\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\27431\21335\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20061\22812\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next <time>", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("day", -0.7731898882334817), ("Tuesday", -0.7731898882334817)], n = 5}, koData = ClassData{prior = -0.6931471805599453, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("Wednesday", -0.7731898882334817), ("day", -0.7731898882334817)], n = 5}}), ("last <cycle>", Classifier{okData = ClassData{prior = -0.8472978603872037, unseen = -3.2188758248682006, likelihoods = HashMap.fromList [("week", -1.3862943611198906), ("month (grain)", -1.791759469228055), ("year (grain)", -2.4849066497880004), ("week (grain)", -1.3862943611198906), ("year", -2.4849066497880004), ("month", -1.791759469228055)], n = 9}, koData = ClassData{prior = -0.5596157879354228, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("week", -0.8362480242006186), ("week (grain)", -0.8362480242006186)], n = 12}}), ("\20197\33394\21015\29420\31435\26085", 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}}), ("next n <cycle>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.605170185988091, likelihoods = HashMap.fromList [("week", -2.3978952727983707), ("integer (0..10)hour (grain)", -2.3978952727983707), ("<number>\20010/\20491week (grain)", -2.9856819377004897), ("second", -2.803360380906535), ("integer (0..10)day (grain)", -2.515678308454754), ("integer (0..10)year (grain)", -3.2088254890146994), ("<number>\20010/\20491month (grain)", -2.803360380906535), ("integer (0..10)second (grain)", -2.803360380906535), ("day", -2.515678308454754), ("year", -3.2088254890146994), ("integer (0..10)minute (grain)", -2.649209701079277), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.9856819377004897), ("month", -2.803360380906535), ("minute", -2.649209701079277)], n = 42}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("\19975\22307\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\21476\23572\37030\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("number of five minutes", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("integer (0..10)", 0.0)], n = 2}}), ("\20799\31461\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("Tuesday", Classifier{okData = ClassData{prior = -3.922071315328127e-2, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("", 0.0)], n = 25}, koData = ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}}), ("\26149\33410", 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}}), ("number.number minutes", 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 (0..10)integer with consecutive unit modifiersminute (grain)", -1.0986122886681098), ("integer (0..10)compose by multiplicationminute (grain)", -1.6094379124341003), ("minute", -0.7621400520468967)], n = 6}}), ("\32822\31267\21463\38590\26085", Classifier{okData = ClassData{prior = -1.0296194171811581, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.4418327522790392, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("", 0.0)], n = 9}}), ("<named-month> <day-of-month>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.762173934797756, likelihoods = HashMap.fromList [("Marchinteger (0..10)", -2.5563656137701454), ("Marchinteger (numeric)", -3.144152278672264), ("Aprilinteger (numeric)", -3.654977902438255), ("Februaryinteger (0..10)", -2.6741486494265287), ("Februarynumber suffix: \21313|\25342", -2.6741486494265287), ("month", -0.7462570058738938), ("Februaryinteger (numeric)", -2.5563656137701454), ("Februaryinteger with consecutive unit modifiers", -1.8091512119399242)], n = 54}, koData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}}), ("\21171\21160\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22797\27963\33410\26143\26399\19968", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("number suffix: \19975|\33836", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("\22823\25995\39318\26085", 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}}), ("half", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("two days 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}}), ("integer (0..10)", Classifier{okData = ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119, likelihoods = HashMap.fromList [("", 0.0)], n = 221}, koData = ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795, likelihoods = HashMap.fromList [("", 0.0)], n = 180}}), ("last n <cycle>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.605170185988091, likelihoods = HashMap.fromList [("week", -2.9856819377004897), ("integer (0..10)month (grain)", -3.4965075614664802), ("integer (0..10)hour (grain)", -2.3978952727983707), ("second", -2.649209701079277), ("integer (0..10)day (grain)", -2.9856819377004897), ("integer (0..10)year (grain)", -3.4965075614664802), ("<number>\20010/\20491month (grain)", -2.3978952727983707), ("integer (0..10)second (grain)", -2.649209701079277), ("day", -2.9856819377004897), ("year", -3.4965075614664802), ("integer (0..10)minute (grain)", -2.3978952727983707), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.9856819377004897), ("month", -2.1972245773362196), ("minute", -2.3978952727983707)], n = 42}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("last <duration>", Classifier{okData = ClassData{prior = -infinity, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.912023005428146, likelihoods = HashMap.fromList [("week", -2.2823823856765264), ("second", -2.505525936990736), ("day", -2.793208009442517), ("<integer> <unit-of-duration>", -0.8007778447523107), ("hour", -2.2823823856765264), ("month", -2.2823823856765264), ("minute", -2.2823823856765264)], n = 21}}), ("ordinal (digits)", Classifier{okData = ClassData{prior = -1.252762968495368, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("<number>\20010/\20491", -0.1823215567939546)], n = 4}, koData = ClassData{prior = -0.3364722366212129, unseen = -2.5649493574615367, likelihoods = HashMap.fromList [("integer (0..10)", -8.701137698962981e-2)], n = 10}}), ("n <cycle> last", Classifier{okData = ClassData{prior = 0.0, unseen = -4.02535169073515, likelihoods = HashMap.fromList [("week", -2.3978952727983707), ("integer (0..10)hour (grain)", -2.3978952727983707), ("<number>\20010/\20491week (grain)", -2.908720896564361), ("second", -2.908720896564361), ("integer (0..10)day (grain)", -2.3978952727983707), ("integer (0..10)year (grain)", -2.908720896564361), ("<number>\20010/\20491month (grain)", -2.908720896564361), ("integer (0..10)second (grain)", -2.908720896564361), ("day", -2.3978952727983707), ("year", -2.908720896564361), ("integer (0..10)minute (grain)", -2.908720896564361), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.908720896564361), ("month", -2.908720896564361), ("minute", -2.908720896564361)], n = 20}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("\24527\24724\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("morning", Classifier{okData = ClassData{prior = 0.0, unseen = -2.890371757896165, likelihoods = HashMap.fromList [("", 0.0)], n = 16}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("week-end", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("number suffix: \21313|\25342", Classifier{okData = ClassData{prior = -0.1590646946296874, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("", 0.0)], n = 29}, koData = ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("\22320\29699\19968\23567\26102", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("day (grain)", Classifier{okData = ClassData{prior = -0.38299225225610584, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("", 0.0)], n = 15}, koData = ClassData{prior = -1.1451323043030026, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("", 0.0)], n = 7}}), ("\22307\32426\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22797\27963\33410", Classifier{okData = ClassData{prior = -1.0986122886681098, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -0.40546510810816444, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}}), ("<number>\20010/\20491", Classifier{okData = ClassData{prior = -0.2006706954621511, unseen = -3.4011973816621555, likelihoods = HashMap.fromList [("integer (0..10)", -3.509131981127006e-2)], n = 27}, koData = ClassData{prior = -1.7047480922384253, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("one point 2", -0.9808292530117262), ("integer (0..10)", -0.4700036292457356)], n = 6}}), ("compose by multiplication", Classifier{okData = ClassData{prior = -0.3364722366212129, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("integer (0..10)number suffix: \21313|\25342", -0.15415067982725836)], n = 5}, koData = ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("one point 2number suffix: \21313|\25342", -0.2876820724517809)], n = 2}}), ("\24773\20154\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20116\26092\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\31070\22307\26143\26399\22235", 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}}), ("\25995\26376", 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}}), ("\27861\20196\20043\22812", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.07753744390572, likelihoods = HashMap.fromList [("Wednesday", -1.9810014688665833), ("Monday", -1.9810014688665833), ("day", -0.8415671856782186), ("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489), ("week-end", -2.9618307218783095)], n = 26}, koData = ClassData{prior = -infinity, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [], n = 0}})]
93,221
classifiers = HashMap.fromList [("\25490\28783\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\26837\26525\20027\26085", 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}}), ("number of 5 minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = -0.2231435513142097, unseen = -3.332204510175204, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.8979415932059586), ("hour", -0.7308875085427924), ("<integer> (latent time-of-day)<number>\20010/\20491", -2.1972245773362196)], n = 12}, koData = ClassData{prior = -1.6094379124341003, unseen = -2.3025850929940455, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.8109302162163288), ("hour", -0.8109302162163288)], n = 3}}), ("\21360\24230\20016\25910\33410\31532\22235\22825", 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}}), ("<time> timezone", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("<time-of-day> am|pm", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 1}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("Thursday", Classifier{okData = ClassData{prior = -0.4700036292457356, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.9808292530117262, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("integer (numeric)", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726, likelihoods = HashMap.fromList [("", 0.0)], n = 67}, koData = ClassData{prior = -0.6931471805599453, unseen = -4.23410650459726, likelihoods = HashMap.fromList [("", 0.0)], n = 67}}), ("\21355\22622\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("the day before yesterday", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22269\38469\28040\36153\32773\26435\30410\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\24314\20891\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\29369\22826\26032\24180", 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}}), ("today", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("mm/dd", Classifier{okData = ClassData{prior = -1.6094379124341003, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}, koData = ClassData{prior = -0.2231435513142097, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("absorption of , after named day", Classifier{okData = ClassData{prior = 0.0, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("day", -0.6931471805599453), ("Sunday", -0.6931471805599453)], n = 7}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("September", 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}}), ("tonight", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("October", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("month (grain)", Classifier{okData = ClassData{prior = -0.963437510299857, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("", 0.0)], n = 29}, koData = ClassData{prior = -0.48058573857627246, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("", 0.0)], n = 47}}), ("<time-of-day> o'clock", Classifier{okData = ClassData{prior = -1.466337068793427, unseen = -3.044522437723423, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 9}, koData = ClassData{prior = -0.262364264467491, unseen = -4.143134726391533, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 30}}), ("national day", 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}}), ("integer (20,30,40)", 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}}), ("Wednesday", Classifier{okData = ClassData{prior = -5.715841383994864e-2, unseen = -2.9444389791664407, likelihoods = HashMap.fromList [("", 0.0)], n = 17}, koData = ClassData{prior = -2.890371757896165, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}}), ("\21360\24230\20016\25910\33410\31532\19977\22825", 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}}), ("hour (grain)", Classifier{okData = ClassData{prior = -9.53101798043249e-2, unseen = -3.0910424533583156, likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -2.3978952727983707, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("\22307\20250\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20803\26086", Classifier{okData = ClassData{prior = -1.0986122886681098, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -0.40546510810816444, unseen = -2.3025850929940455, likelihoods = HashMap.fromList [("", 0.0)], n = 8}}), ("\32654\22269\29420\31435\26085", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("intersect", Classifier{okData = ClassData{prior = -5.694137640013845e-2, unseen = -6.329720905522696, likelihoods = HashMap.fromList [("\20799\31461\33410<part-of-day> <dim time>", -4.718498871295094), ("year (numeric with year symbol)\20809\26126\33410", -4.248495242049359), ("xxxx year<named-month> <day-of-month>", -4.941642422609305), ("daymonth", -4.248495242049359), ("monthday", -1.9459101490553135), ("next yearSeptember", -5.2293244950610855), ("year (numeric with year symbol)\25995\26376", -4.941642422609305), ("year (numeric with year symbol)\20061\22812\33410", -4.941642422609305), ("year (numeric with year symbol)February", -4.718498871295094), ("xxxx yearintersect", -4.941642422609305), ("March<time> <day-of-month>", -3.7629874262676584), ("year (numeric with year symbol)<named-month> <day-of-month>", -3.494723439672979), ("monthhour", -3.7629874262676584), ("year (numeric with year symbol)\22320\29699\19968\23567\26102", -5.2293244950610855), ("year (numeric with year symbol)April", -5.2293244950610855), ("dayday", -2.284885515894645), ("hourhour", -4.718498871295094), ("xxxx yearFebruary", -5.634789603169249), ("year (numeric with year symbol)March", -4.1307122063929755), ("February<dim time> <part-of-day>", -3.7629874262676584), ("hourminute", -4.718498871295094), ("April<time> <day-of-month>", -5.2293244950610855), ("February<time> <day-of-month>", -2.614364717024887), ("absorption of , after named day<named-month> <day-of-month>", -3.619886582626985), ("year (numeric with year symbol)\22823\25995\26399", -4.941642422609305), ("this <cycle><time> <day-of-month>", -4.941642422609305), ("year (numeric with year symbol)\22235\26092\33410", -5.2293244950610855), ("yearmonth", -3.332204510175204), ("year (numeric with year symbol)\20303\26842\33410", -5.2293244950610855), ("dayminute", -4.718498871295094), ("next <cycle>September", -5.634789603169249), ("intersect by \",\"<time> <day-of-month>", -3.619886582626985), ("xxxx yearMarch", -5.634789603169249), ("absorption of , after named dayintersect", -3.619886582626985), ("intersect<time> <day-of-month>", -2.8015762591130335), ("next <cycle><time> <day-of-month>", -4.941642422609305), ("tonight<time-of-day> o'clock", -4.718498871295094), ("year (numeric with year symbol)intersect", -3.494723439672979), ("yearday", -2.0794415416798357), ("absorption of , after named dayFebruary", -4.248495242049359), ("year (numeric with year symbol)\19971\19971\33410", -4.248495242049359), ("year (numeric with year symbol)\36926\36234\33410", -5.2293244950610855), ("year (numeric with year symbol)\29369\22826\26032\24180", -5.2293244950610855), ("yearminute", -5.2293244950610855), ("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)", -4.718498871295094)], n = 256}, koData = ClassData{prior = -2.894068619777491, unseen = -4.3694478524670215, likelihoods = HashMap.fromList [("\20799\31461\33410<part-of-day> <dim time>", -2.159484249353372), ("dayhour", -2.7472709142554916), ("year (numeric with year symbol)Sunday", -3.6635616461296463), ("<dim time> <part-of-day><time-of-day> o'clock", -3.258096538021482), ("hourhour", -3.258096538021482), ("hourminute", -2.7472709142554916), ("dayminute", -2.7472709142554916), ("yearday", -3.6635616461296463), ("<dim time> <part-of-day>relative (10-59) minutes after|past <integer> (hour-of-day)", -2.7472709142554916)], n = 15}}), ("half after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = 0.0, unseen = -2.5649493574615367, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 5}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("\20399\20029\33410", 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}}), ("year (grain)", Classifier{okData = ClassData{prior = -1.625967214385311, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("", 0.0)], n = 12}, koData = ClassData{prior = -0.21905356606268464, unseen = -3.9318256327243257, likelihoods = HashMap.fromList [("", 0.0)], n = 49}}), ("Saturday", Classifier{okData = ClassData{prior = -0.8754687373538999, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.5389965007326869, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("", 0.0)], n = 7}}), ("next <cycle>", Classifier{okData = ClassData{prior = -0.570544858467613, unseen = -3.4965075614664802, likelihoods = HashMap.fromList [("week", -1.6739764335716716), ("month (grain)", -1.5198257537444133), ("year (grain)", -2.367123614131617), ("week (grain)", -1.6739764335716716), ("year", -2.367123614131617), ("month", -1.5198257537444133)], n = 13}, koData = ClassData{prior = -0.832909122935104, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("week", -0.8602012652231115), ("week (grain)", -0.8602012652231115)], n = 10}}), ("last year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22307\27583\34987\27585\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <day-of-week>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.970291913552122, likelihoods = HashMap.fromList [("Wednesday", -1.8718021769015913), ("Monday", -1.8718021769015913), ("day", -0.7323678937132265), ("Tuesday", -1.5533484457830569)], n = 24}, koData = ClassData{prior = -infinity, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [], n = 0}}), ("\35199\36203\25176\25289\33410", 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}}), ("yyyy-mm-dd", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("mm/dd/yyyy", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20811\21704\29305\26222\36838\33410", 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}}), ("\21313\32988\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("evening|night", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20303\26842\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22307\19977\19968\20027\26085", 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}}), ("\30331\38660\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("Monday", Classifier{okData = ClassData{prior = -0.15415067982725836, unseen = -3.258096538021482, likelihoods = HashMap.fromList [("", 0.0)], n = 24}, koData = ClassData{prior = -1.9459101490553135, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("\19971\19971\33410", 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.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<time> <day-of-month>", Classifier{okData = ClassData{prior = -0.24946085963158313, unseen = -4.204692619390966, likelihoods = HashMap.fromList [("integer (numeric)", -1.3564413979702095), ("integer (20,30,40)", -3.0910424533583156), ("integer with consecutive unit modifiers", -1.245215762859985), ("integer (0..10)", -1.4170660197866443), ("number suffix: \21313|\25342", -2.1102132003465894), ("compose by multiplication", -3.0910424533583156)], n = 60}, koData = ClassData{prior = -1.5105920777974677, unseen = -3.1780538303479458, likelihoods = HashMap.fromList [("integer (0..10)", -0.3629054936893685), ("number suffix: \21313|\25342", -2.03688192726104)], n = 17}}), ("\19996\27491\25945\22797\27963\33410", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("hh:mm (time-of-day)", 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}}), ("relative (1-9) minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = 0.0, unseen = -3.044522437723423, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)integer (0..10)", -0.6931471805599453), ("hour", -0.6931471805599453)], n = 9}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("<integer> (latent time-of-day)", Classifier{okData = ClassData{prior = -0.2754119798599665, unseen = -3.8066624897703196, likelihoods = HashMap.fromList [("integer (numeric)", -2.174751721484161), ("integer (0..10)", -0.1466034741918754)], n = 41}, koData = ClassData{prior = -1.4240346891027378, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("integer (numeric)", -0.4700036292457356), ("one point 2", -1.1631508098056809)], n = 13}}), ("\36926\36234\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("nth <time> of <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("Octoberordinal (digits)Monday", -0.6931471805599453), ("monthday", -0.6931471805599453)], n = 4}, koData = ClassData{prior = -infinity, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [], n = 0}}), ("\22235\26092\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\22307\21608\20845", 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}}), ("April", 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}}), ("\21360\24230\20016\25910\33410", 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}}), ("\20809\26126\33410", 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 (grain)", Classifier{okData = ClassData{prior = -0.8434293836092833, unseen = -3.6635616461296463, likelihoods = HashMap.fromList [("", 0.0)], n = 37}, koData = ClassData{prior = -0.5625269981428811, unseen = -3.9318256327243257, likelihoods = HashMap.fromList [("", 0.0)], n = 49}}), ("relative (10-59) minutes after|past <integer> (hour-of-day)", Classifier{okData = ClassData{prior = -0.45198512374305727, unseen = -4.127134385045092, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)compose by multiplication", -2.164963715117998), ("<integer> (latent time-of-day)integer with consecutive unit modifiers", -0.9753796482441617), ("hour", -0.7435780341868373)], n = 28}, koData = ClassData{prior = -1.0116009116784799, unseen = -3.6375861597263857, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)number suffix: \21313|\25342", -1.413693335308005), ("<integer> (latent time-of-day)integer (0..10)", -1.413693335308005), ("hour", -0.7777045685880083)], n = 16}}), ("year (numeric with year symbol)", Classifier{okData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("integer (numeric)", 0.0)], n = 47}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("now", Classifier{okData = ClassData{prior = 0.0, unseen = -2.4849066497880004, likelihoods = HashMap.fromList [("", 0.0)], n = 10}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22823\25995\26399", 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}}), ("\24858\20154\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\29369\22826\26893\26641\33410", 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}}), ("\19996\27491\25945\22797\27963\33410\26143\26399\19968", 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}}), ("\22307\28789\33410\24198\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("numbers prefix with -, negative or minus", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("integer (numeric)", 0.0)], n = 4}}), ("Friday", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("tomorrow", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22522\30563\22307\20307\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\28595\38376\22238\24402\32426\24565\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\21360\24230\20804\22969\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next <day-of-week>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.1780538303479458, likelihoods = HashMap.fromList [("Wednesday", -1.3437347467010947), ("day", -0.7375989431307791), ("Tuesday", -1.3437347467010947)], n = 10}, koData = ClassData{prior = -infinity, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [], n = 0}}), ("fractional number", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("Sunday", Classifier{okData = ClassData{prior = -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}}), ("afternoon", Classifier{okData = ClassData{prior = 0.0, unseen = -3.6375861597263857, likelihoods = HashMap.fromList [("", 0.0)], n = 36}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<duration> from now", Classifier{okData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("week", -2.2617630984737906), ("second", -2.772588722239781), ("day", -2.2617630984737906), ("year", -2.772588722239781), ("<integer> <unit-of-duration>", -0.8266785731844679), ("hour", -2.2617630984737906), ("month", -2.772588722239781), ("minute", -2.772588722239781)], n = 20}}), ("\36174\32618\26085", 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}}), ("February", Classifier{okData = ClassData{prior = 0.0, unseen = -3.258096538021482, likelihoods = HashMap.fromList [("", 0.0)], n = 24}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <cycle>", Classifier{okData = ClassData{prior = -0.8909729238898653, unseen = -3.6635616461296463, likelihoods = HashMap.fromList [("week", -1.1526795099383855), ("month (grain)", -2.2512917986064953), ("year (grain)", -2.538973871058276), ("week (grain)", -1.1526795099383855), ("year", -2.538973871058276), ("month", -2.2512917986064953)], n = 16}, koData = ClassData{prior = -0.5280674302004967, unseen = -3.970291913552122, likelihoods = HashMap.fromList [("week", -0.7731898882334817), ("week (grain)", -0.7731898882334817)], n = 23}}), ("minute (grain)", Classifier{okData = ClassData{prior = -0.4462871026284195, unseen = -2.890371757896165, likelihoods = HashMap.fromList [("", 0.0)], n = 16}, koData = ClassData{prior = -1.0216512475319814, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("", 0.0)], n = 9}}), ("xxxx year", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)integer (0..10)integer (0..10)", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<dim time> <part-of-day>", Classifier{okData = ClassData{prior = -7.696104113612832e-2, unseen = -4.6913478822291435, likelihoods = HashMap.fromList [("dayhour", -0.750305594399894), ("national dayevening|night", -3.58351893845611), ("<named-month> <day-of-month>morning", -2.117181869662683), ("\24773\20154\33410evening|night", -3.58351893845611), ("\20799\31461\33410afternoon", -3.58351893845611), ("intersectmorning", -2.117181869662683), ("<time> <day-of-month>morning", -2.117181869662683), ("Mondaymorning", -2.4849066497880004)], n = 50}, koData = ClassData{prior = -2.6026896854443837, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("dayhour", -1.1631508098056809), ("<time> <day-of-month>morning", -1.1631508098056809)], n = 4}}), ("<part-of-day> <dim time>", Classifier{okData = ClassData{prior = -0.7935659283069926, unseen = -5.0369526024136295, likelihoods = HashMap.fromList [("tonight<integer> (latent time-of-day)", -3.4210000089583352), ("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)", -1.6631420914059614), ("hourhour", -2.322387720290225), ("afternoon<time-of-day> o'clock", -3.644143560272545), ("hourminute", -0.9699949108460162), ("afternoon<integer> (latent time-of-day)", -3.644143560272545), ("afternoonrelative (1-9) minutes after|past <integer> (hour-of-day)", -2.72785282839839), ("afternoonhh:mm (time-of-day)", -3.644143560272545), ("tonight<time-of-day> o'clock", -3.4210000089583352), ("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)", -2.4654885639308985), ("afternoonhalf after|past <integer> (hour-of-day)", -3.2386784521643803)], n = 71}, koData = ClassData{prior = -0.6018985090948004, unseen = -5.214935757608986, likelihoods = HashMap.fromList [("afternoonrelative (10-59) minutes after|past <integer> (hour-of-day)", -2.3762728087852047), ("hourhour", -0.9899784476653142), ("afternoon<time-of-day> o'clock", -1.7754989483562746), ("hourminute", -2.21375387928743), ("afternoon<integer> (latent time-of-day)", -1.571899993115035), ("afternoonnumber of 5 minutes after|past <integer> (hour-of-day)", -3.82319179172153)], n = 86}}), ("<integer> <unit-of-duration>", Classifier{okData = ClassData{prior = -infinity, unseen = -3.1354942159291497, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -6.244166900663736, likelihoods = HashMap.fromList [("number suffix: \21313|\25342month (grain)", -4.632785353021065), ("week", -3.0233474405869645), ("integer (0..10)month (grain)", -2.745715703988685), ("integer (0..10)hour (grain)", -3.1067290495260154), ("<number>\20010/\20491week (grain)", -3.8443279926567944), ("compose by multiplicationminute (grain)", -4.45046379622711), ("second", -3.6031659358399066), ("integer (0..10)day (grain)", -3.1067290495260154), ("integer (0..10)year (grain)", -3.7573166156671647), ("<number>\20010/\20491month (grain)", -3.469634543215384), ("integer (numeric)year (grain)", -2.3710222545472743), ("integer (0..10)second (grain)", -3.6031659358399066), ("day", -3.1067290495260154), ("year", -2.1646858215494458), ("integer (0..10)minute (grain)", -2.984126727433683), ("number suffix: \21313|\25342minute (grain)", -4.855928904335275), ("hour", -3.1067290495260154), ("integer (0..10)week (grain)", -3.534173064352955), ("month", -2.008116760857906), ("integer (numeric)month (grain)", -3.3518515075590005), ("integer with consecutive unit modifiersminute (grain)", -4.296313116399852), ("minute", -2.553343811341229)], n = 246}}), ("\32769\26495\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\31709\28779\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("<time-of-day> am|pm", Classifier{okData = ClassData{prior = -0.4353180712578455, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("hh:mm (time-of-day)", -0.9555114450274363), ("<integer> (latent time-of-day)", -2.159484249353372), ("hour", -2.159484249353372), ("minute", -0.9555114450274363)], n = 11}, koData = ClassData{prior = -1.041453874828161, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("<integer> (latent time-of-day)", -0.8266785731844679), ("hour", -0.8266785731844679)], n = 6}}), ("one point 2", Classifier{okData = ClassData{prior = -infinity, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.7612001156935624, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)", -0.9650808960435872), ("integer (0..10)number suffix: \21313|\25342", -1.9459101490553135), ("integer (0..10)integer with consecutive unit modifiers", -1.3397743454849977), ("integer (0..10)<number>\20010/\20491", -2.639057329615259), ("integer (0..10)compose by multiplication", -2.639057329615259), ("integer (0..10)half", -2.639057329615259)], n = 36}}), ("intersect by \",\"", Classifier{okData = ClassData{prior = 0.0, unseen = -4.330733340286331, likelihoods = HashMap.fromList [("daymonth", -2.2380465718564744), ("Sunday<named-month> <day-of-month>", -1.6094379124341003), ("SundayFebruary", -2.2380465718564744), ("dayday", -0.9501922835498364), ("Sundayintersect", -1.6094379124341003)], n = 35}, koData = ClassData{prior = -infinity, unseen = -1.791759469228055, likelihoods = HashMap.fromList [], n = 0}}), ("\26837\26525\20027\26085", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}}), ("\38463\33298\25289\33410", 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}}), ("integer with consecutive unit modifiers", Classifier{okData = ClassData{prior = -5.715841383994864e-2, unseen = -3.6109179126442243, likelihoods = HashMap.fromList [("number suffix: \21313|\25342integer (0..10)", -0.6931471805599453), ("integer (0..10)integer (0..10)", -0.6931471805599453)], n = 34}, koData = ClassData{prior = -2.890371757896165, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("integer (0..10)integer (0..10)", -0.2876820724517809)], n = 2}}), ("second (grain)", Classifier{okData = ClassData{prior = 0.0, unseen = -2.70805020110221, likelihoods = HashMap.fromList [("", 0.0)], n = 13}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\19996\27491\25945\32822\31267\21463\38590\26085", 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}}), ("\25289\25746\36335\22307\21608\20845", 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}}), ("<duration> ago", Classifier{okData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.891820298110627, likelihoods = HashMap.fromList [("week", -2.2617630984737906), ("second", -2.772588722239781), ("day", -2.2617630984737906), ("year", -2.772588722239781), ("<integer> <unit-of-duration>", -0.8266785731844679), ("hour", -2.2617630984737906), ("month", -2.772588722239781), ("minute", -2.772588722239781)], n = 20}}), ("\22307\35806\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.791759469228055, likelihoods = HashMap.fromList [("", 0.0)], n = 4}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("last <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -3.332204510175204, likelihoods = HashMap.fromList [("day", -0.7308875085427924), ("Sunday", -1.2163953243244932), ("Tuesday", -1.5040773967762742)], n = 12}, koData = ClassData{prior = -infinity, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [], n = 0}}), ("\20234\26031\20848\26032\24180", 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}}), ("March", 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}}), ("\24320\25995\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("the day after tomorrow", 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}}), ("\22307\21608\20845", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}, koData = ClassData{prior = -0.6931471805599453, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}}), ("\22919\22899\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20840\29699\38738\24180\26381\21153\26085", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\27431\21335\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20061\22812\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("next <time>", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("day", -0.7731898882334817), ("Tuesday", -0.7731898882334817)], n = 5}, koData = ClassData{prior = -0.6931471805599453, unseen = -2.639057329615259, likelihoods = HashMap.fromList [("Wednesday", -0.7731898882334817), ("day", -0.7731898882334817)], n = 5}}), ("last <cycle>", Classifier{okData = ClassData{prior = -0.8472978603872037, unseen = -3.2188758248682006, likelihoods = HashMap.fromList [("week", -1.3862943611198906), ("month (grain)", -1.791759469228055), ("year (grain)", -2.4849066497880004), ("week (grain)", -1.3862943611198906), ("year", -2.4849066497880004), ("month", -1.791759469228055)], n = 9}, koData = ClassData{prior = -0.5596157879354228, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("week", -0.8362480242006186), ("week (grain)", -0.8362480242006186)], n = 12}}), ("\20197\33394\21015\29420\31435\26085", 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}}), ("next n <cycle>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.605170185988091, likelihoods = HashMap.fromList [("week", -2.3978952727983707), ("integer (0..10)hour (grain)", -2.3978952727983707), ("<number>\20010/\20491week (grain)", -2.9856819377004897), ("second", -2.803360380906535), ("integer (0..10)day (grain)", -2.515678308454754), ("integer (0..10)year (grain)", -3.2088254890146994), ("<number>\20010/\20491month (grain)", -2.803360380906535), ("integer (0..10)second (grain)", -2.803360380906535), ("day", -2.515678308454754), ("year", -3.2088254890146994), ("integer (0..10)minute (grain)", -2.649209701079277), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.9856819377004897), ("month", -2.803360380906535), ("minute", -2.649209701079277)], n = 42}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("\19975\22307\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\21476\23572\37030\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("number of five minutes", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("integer (0..10)", 0.0)], n = 2}}), ("\20799\31461\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("Tuesday", Classifier{okData = ClassData{prior = -3.922071315328127e-2, unseen = -3.295836866004329, likelihoods = HashMap.fromList [("", 0.0)], n = 25}, koData = ClassData{prior = -3.258096538021482, unseen = -1.0986122886681098, likelihoods = HashMap.fromList [("", 0.0)], n = 1}}), ("\26149\33410", 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}}), ("number.number minutes", 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 (0..10)integer with consecutive unit modifiersminute (grain)", -1.0986122886681098), ("integer (0..10)compose by multiplicationminute (grain)", -1.6094379124341003), ("minute", -0.7621400520468967)], n = 6}}), ("\32822\31267\21463\38590\26085", Classifier{okData = ClassData{prior = -1.0296194171811581, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -0.4418327522790392, unseen = -2.3978952727983707, likelihoods = HashMap.fromList [("", 0.0)], n = 9}}), ("<named-month> <day-of-month>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.762173934797756, likelihoods = HashMap.fromList [("Marchinteger (0..10)", -2.5563656137701454), ("Marchinteger (numeric)", -3.144152278672264), ("Aprilinteger (numeric)", -3.654977902438255), ("Februaryinteger (0..10)", -2.6741486494265287), ("Februarynumber suffix: \21313|\25342", -2.6741486494265287), ("month", -0.7462570058738938), ("Februaryinteger (numeric)", -2.5563656137701454), ("Februaryinteger with consecutive unit modifiers", -1.8091512119399242)], n = 54}, koData = ClassData{prior = -infinity, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [], n = 0}}), ("\21171\21160\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22797\27963\33410\26143\26399\19968", Classifier{okData = ClassData{prior = -0.6931471805599453, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -0.6931471805599453, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}}), ("number suffix: \19975|\33836", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}}), ("\22823\25995\39318\26085", 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}}), ("half", Classifier{okData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("two days 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}}), ("integer (0..10)", Classifier{okData = ClassData{prior = -0.5957987257888164, unseen = -5.407171771460119, likelihoods = HashMap.fromList [("", 0.0)], n = 221}, koData = ClassData{prior = -0.8010045764163588, unseen = -5.204006687076795, likelihoods = HashMap.fromList [("", 0.0)], n = 180}}), ("last n <cycle>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.605170185988091, likelihoods = HashMap.fromList [("week", -2.9856819377004897), ("integer (0..10)month (grain)", -3.4965075614664802), ("integer (0..10)hour (grain)", -2.3978952727983707), ("second", -2.649209701079277), ("integer (0..10)day (grain)", -2.9856819377004897), ("integer (0..10)year (grain)", -3.4965075614664802), ("<number>\20010/\20491month (grain)", -2.3978952727983707), ("integer (0..10)second (grain)", -2.649209701079277), ("day", -2.9856819377004897), ("year", -3.4965075614664802), ("integer (0..10)minute (grain)", -2.3978952727983707), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.9856819377004897), ("month", -2.1972245773362196), ("minute", -2.3978952727983707)], n = 42}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("last <duration>", Classifier{okData = ClassData{prior = -infinity, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [], n = 0}, koData = ClassData{prior = 0.0, unseen = -3.912023005428146, likelihoods = HashMap.fromList [("week", -2.2823823856765264), ("second", -2.505525936990736), ("day", -2.793208009442517), ("<integer> <unit-of-duration>", -0.8007778447523107), ("hour", -2.2823823856765264), ("month", -2.2823823856765264), ("minute", -2.2823823856765264)], n = 21}}), ("ordinal (digits)", Classifier{okData = ClassData{prior = -1.252762968495368, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("<number>\20010/\20491", -0.1823215567939546)], n = 4}, koData = ClassData{prior = -0.3364722366212129, unseen = -2.5649493574615367, likelihoods = HashMap.fromList [("integer (0..10)", -8.701137698962981e-2)], n = 10}}), ("n <cycle> last", Classifier{okData = ClassData{prior = 0.0, unseen = -4.02535169073515, likelihoods = HashMap.fromList [("week", -2.3978952727983707), ("integer (0..10)hour (grain)", -2.3978952727983707), ("<number>\20010/\20491week (grain)", -2.908720896564361), ("second", -2.908720896564361), ("integer (0..10)day (grain)", -2.3978952727983707), ("integer (0..10)year (grain)", -2.908720896564361), ("<number>\20010/\20491month (grain)", -2.908720896564361), ("integer (0..10)second (grain)", -2.908720896564361), ("day", -2.3978952727983707), ("year", -2.908720896564361), ("integer (0..10)minute (grain)", -2.908720896564361), ("hour", -2.3978952727983707), ("integer (0..10)week (grain)", -2.908720896564361), ("month", -2.908720896564361), ("minute", -2.908720896564361)], n = 20}, koData = ClassData{prior = -infinity, unseen = -2.772588722239781, likelihoods = HashMap.fromList [], n = 0}}), ("\24527\24724\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("morning", Classifier{okData = ClassData{prior = 0.0, unseen = -2.890371757896165, likelihoods = HashMap.fromList [("", 0.0)], n = 16}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("week-end", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("number suffix: \21313|\25342", Classifier{okData = ClassData{prior = -0.1590646946296874, unseen = -3.4339872044851463, likelihoods = HashMap.fromList [("", 0.0)], n = 29}, koData = ClassData{prior = -1.916922612182061, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}}), ("\22320\29699\19968\23567\26102", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("day (grain)", Classifier{okData = ClassData{prior = -0.38299225225610584, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("", 0.0)], n = 15}, koData = ClassData{prior = -1.1451323043030026, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("", 0.0)], n = 7}}), ("\22307\32426\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\22797\27963\33410", Classifier{okData = ClassData{prior = -1.0986122886681098, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -0.40546510810816444, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("", 0.0)], n = 6}}), ("<number>\20010/\20491", Classifier{okData = ClassData{prior = -0.2006706954621511, unseen = -3.4011973816621555, likelihoods = HashMap.fromList [("integer (0..10)", -3.509131981127006e-2)], n = 27}, koData = ClassData{prior = -1.7047480922384253, unseen = -2.1972245773362196, likelihoods = HashMap.fromList [("one point 2", -0.9808292530117262), ("integer (0..10)", -0.4700036292457356)], n = 6}}), ("compose by multiplication", Classifier{okData = ClassData{prior = -0.3364722366212129, unseen = -2.0794415416798357, likelihoods = HashMap.fromList [("integer (0..10)number suffix: \21313|\25342", -0.15415067982725836)], n = 5}, koData = ClassData{prior = -1.252762968495368, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("one point 2number suffix: \21313|\25342", -0.2876820724517809)], n = 2}}), ("\24773\20154\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [("", 0.0)], n = 5}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\20116\26092\33410", Classifier{okData = ClassData{prior = 0.0, unseen = -1.6094379124341003, likelihoods = HashMap.fromList [("", 0.0)], n = 3}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("\31070\22307\26143\26399\22235", 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}}), ("\25995\26376", 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}}), ("\27861\20196\20043\22812", Classifier{okData = ClassData{prior = 0.0, unseen = -1.3862943611198906, likelihoods = HashMap.fromList [("", 0.0)], n = 2}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), ("this <time>", Classifier{okData = ClassData{prior = 0.0, unseen = -4.07753744390572, likelihoods = HashMap.fromList [("Wednesday", -1.9810014688665833), ("Monday", -1.9810014688665833), ("day", -0.8415671856782186), ("hour", -2.9618307218783095), ("Tuesday", -1.6625477377480489), ("week-end", -2.9618307218783095)], n = 26}, koData = ClassData{prior = -infinity, unseen = -1.9459101490553135, likelihoods = HashMap.fromList [], n = 0}})]
93,194
false
true
0
15
43,539
18,831
11,681
7,150
null
null
mcschroeder/ghc
compiler/hsSyn/HsUtils.hs
bsd-3-clause
------------- collect_lpat :: LPat name -> [name] -> [name] collect_lpat (L _ pat) bndrs = go pat where go (VarPat (L _ var)) = var : bndrs go (WildPat _) = bndrs go (LazyPat pat) = collect_lpat pat bndrs go (BangPat pat) = collect_lpat pat bndrs go (AsPat (L _ a) pat) = a : collect_lpat pat bndrs go (ViewPat _ pat _) = collect_lpat pat bndrs go (ParPat pat) = collect_lpat pat bndrs go (ListPat pats _ _) = foldr collect_lpat bndrs pats go (PArrPat pats _) = foldr collect_lpat bndrs pats go (TuplePat pats _ _) = foldr collect_lpat bndrs pats go (ConPatIn _ ps) = foldr collect_lpat bndrs (hsConPatArgs ps) go (ConPatOut {pat_args=ps}) = foldr collect_lpat bndrs (hsConPatArgs ps) -- See Note [Dictionary binders in ConPatOut] go (LitPat _) = bndrs go (NPat {}) = bndrs go (NPlusKPat (L _ n) _ _ _ _ _)= n : bndrs go (SigPatIn pat _) = collect_lpat pat bndrs go (SigPatOut pat _) = collect_lpat pat bndrs go (SplicePat _) = bndrs go (CoPat _ pat _) = go pat {- Note [Dictionary binders in ConPatOut] See also same Note in DsArrows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Do *not* gather (a) dictionary and (b) dictionary bindings as binders of a ConPatOut pattern. For most calls it doesn't matter, because it's pre-typechecker and there are no ConPatOuts. But it does matter more in the desugarer; for example, DsUtils.mkSelectorBinds uses collectPatBinders. In a lazy pattern, for example f ~(C x y) = ..., we want to generate bindings for x,y but not for dictionaries bound by C. (The type checker ensures they would not be used.) Desugaring of arrow case expressions needs these bindings (see DsArrows and arrowcase1), but SPJ (Jan 2007) says it's safer for it to use its own pat-binder-collector: Here's the problem. Consider data T a where C :: Num a => a -> Int -> T a f ~(C (n+1) m) = (n,m) Here, the pattern (C (n+1)) binds a hidden dictionary (d::Num a), and *also* uses that dictionary to match the (n+1) pattern. Yet, the variables bound by the lazy pattern are n,m, *not* the dictionary d. So in mkSelectorBinds in DsUtils, we want just m,n as the variables bound. -}
2,381
collect_lpat :: LPat name -> [name] -> [name] collect_lpat (L _ pat) bndrs = go pat where go (VarPat (L _ var)) = var : bndrs go (WildPat _) = bndrs go (LazyPat pat) = collect_lpat pat bndrs go (BangPat pat) = collect_lpat pat bndrs go (AsPat (L _ a) pat) = a : collect_lpat pat bndrs go (ViewPat _ pat _) = collect_lpat pat bndrs go (ParPat pat) = collect_lpat pat bndrs go (ListPat pats _ _) = foldr collect_lpat bndrs pats go (PArrPat pats _) = foldr collect_lpat bndrs pats go (TuplePat pats _ _) = foldr collect_lpat bndrs pats go (ConPatIn _ ps) = foldr collect_lpat bndrs (hsConPatArgs ps) go (ConPatOut {pat_args=ps}) = foldr collect_lpat bndrs (hsConPatArgs ps) -- See Note [Dictionary binders in ConPatOut] go (LitPat _) = bndrs go (NPat {}) = bndrs go (NPlusKPat (L _ n) _ _ _ _ _)= n : bndrs go (SigPatIn pat _) = collect_lpat pat bndrs go (SigPatOut pat _) = collect_lpat pat bndrs go (SplicePat _) = bndrs go (CoPat _ pat _) = go pat {- Note [Dictionary binders in ConPatOut] See also same Note in DsArrows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Do *not* gather (a) dictionary and (b) dictionary bindings as binders of a ConPatOut pattern. For most calls it doesn't matter, because it's pre-typechecker and there are no ConPatOuts. But it does matter more in the desugarer; for example, DsUtils.mkSelectorBinds uses collectPatBinders. In a lazy pattern, for example f ~(C x y) = ..., we want to generate bindings for x,y but not for dictionaries bound by C. (The type checker ensures they would not be used.) Desugaring of arrow case expressions needs these bindings (see DsArrows and arrowcase1), but SPJ (Jan 2007) says it's safer for it to use its own pat-binder-collector: Here's the problem. Consider data T a where C :: Num a => a -> Int -> T a f ~(C (n+1) m) = (n,m) Here, the pattern (C (n+1)) binds a hidden dictionary (d::Num a), and *also* uses that dictionary to match the (n+1) pattern. Yet, the variables bound by the lazy pattern are n,m, *not* the dictionary d. So in mkSelectorBinds in DsUtils, we want just m,n as the variables bound. -}
2,367
collect_lpat (L _ pat) bndrs = go pat where go (VarPat (L _ var)) = var : bndrs go (WildPat _) = bndrs go (LazyPat pat) = collect_lpat pat bndrs go (BangPat pat) = collect_lpat pat bndrs go (AsPat (L _ a) pat) = a : collect_lpat pat bndrs go (ViewPat _ pat _) = collect_lpat pat bndrs go (ParPat pat) = collect_lpat pat bndrs go (ListPat pats _ _) = foldr collect_lpat bndrs pats go (PArrPat pats _) = foldr collect_lpat bndrs pats go (TuplePat pats _ _) = foldr collect_lpat bndrs pats go (ConPatIn _ ps) = foldr collect_lpat bndrs (hsConPatArgs ps) go (ConPatOut {pat_args=ps}) = foldr collect_lpat bndrs (hsConPatArgs ps) -- See Note [Dictionary binders in ConPatOut] go (LitPat _) = bndrs go (NPat {}) = bndrs go (NPlusKPat (L _ n) _ _ _ _ _)= n : bndrs go (SigPatIn pat _) = collect_lpat pat bndrs go (SigPatOut pat _) = collect_lpat pat bndrs go (SplicePat _) = bndrs go (CoPat _ pat _) = go pat {- Note [Dictionary binders in ConPatOut] See also same Note in DsArrows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Do *not* gather (a) dictionary and (b) dictionary bindings as binders of a ConPatOut pattern. For most calls it doesn't matter, because it's pre-typechecker and there are no ConPatOuts. But it does matter more in the desugarer; for example, DsUtils.mkSelectorBinds uses collectPatBinders. In a lazy pattern, for example f ~(C x y) = ..., we want to generate bindings for x,y but not for dictionaries bound by C. (The type checker ensures they would not be used.) Desugaring of arrow case expressions needs these bindings (see DsArrows and arrowcase1), but SPJ (Jan 2007) says it's safer for it to use its own pat-binder-collector: Here's the problem. Consider data T a where C :: Num a => a -> Int -> T a f ~(C (n+1) m) = (n,m) Here, the pattern (C (n+1)) binds a hidden dictionary (d::Num a), and *also* uses that dictionary to match the (n+1) pattern. Yet, the variables bound by the lazy pattern are n,m, *not* the dictionary d. So in mkSelectorBinds in DsUtils, we want just m,n as the variables bound. -}
2,321
true
true
0
9
668
480
236
244
null
null
atzeus/reflectionwithoutremorse
Fixed/Eff.hs
mit
guard' :: Member Choose r => Bool -> Eff r () guard' True = return ()
70
guard' :: Member Choose r => Bool -> Eff r () guard' True = return ()
70
guard' True = return ()
24
false
true
0
8
16
39
18
21
null
null
haskell-distributed/distributed-process-tests
src/Control/Distributed/Process/Tests/Closure.hs
bsd-3-clause
isPrime :: Integer -> Process Bool isPrime n = return . (n `elem`) . takeWhile (<= n) . sieve $ [2..] where sieve :: [Integer] -> [Integer] sieve (p : xs) = p : sieve [x | x <- xs, x `mod` p > 0] sieve [] = error "Uh oh -- we've run out of primes" -- | First argument indicates empty closure environment
318
isPrime :: Integer -> Process Bool isPrime n = return . (n `elem`) . takeWhile (<= n) . sieve $ [2..] where sieve :: [Integer] -> [Integer] sieve (p : xs) = p : sieve [x | x <- xs, x `mod` p > 0] sieve [] = error "Uh oh -- we've run out of primes" -- | First argument indicates empty closure environment
318
isPrime n = return . (n `elem`) . takeWhile (<= n) . sieve $ [2..] where sieve :: [Integer] -> [Integer] sieve (p : xs) = p : sieve [x | x <- xs, x `mod` p > 0] sieve [] = error "Uh oh -- we've run out of primes" -- | First argument indicates empty closure environment
283
false
true
0
10
79
132
71
61
null
null
robdockins/edison
edison-core/src/Data/Edison/Coll/UnbalancedSet.hs
mit
foldr _ e E = e
15
foldr _ e E = e
15
foldr _ e E = e
15
false
false
0
5
5
13
6
7
null
null
c089/haskell-craft3e
Chapter4Exercises.hs
mit
-- solution from book allEqual m n p = ((m + n + p) == 3*p)
59
allEqual m n p = ((m + n + p) == 3*p)
37
allEqual m n p = ((m + n + p) == 3*p)
37
true
false
0
10
15
38
19
19
null
null
albertoruiz/hTensor
lib/Numeric/LinearAlgebra/Array/Decomposition.hs
bsd-3-clause
truncateFactors ns (c:rs) = ttake ns c : zipWith f rs ns where f r n = onIndex (take n) (head (namesR r)) r ------------------------------------------------------------------------
185
truncateFactors ns (c:rs) = ttake ns c : zipWith f rs ns where f r n = onIndex (take n) (head (namesR r)) r ------------------------------------------------------------------------
185
truncateFactors ns (c:rs) = ttake ns c : zipWith f rs ns where f r n = onIndex (take n) (head (namesR r)) r ------------------------------------------------------------------------
185
false
false
0
11
29
72
35
37
null
null
nevrenato/HetsAlloy
OMDoc/XmlInterface.hs
gpl-2.0
-- * Monad and Maybe interaction justReturn :: Monad m => a -> m (Maybe a) justReturn = return . Just
102
justReturn :: Monad m => a -> m (Maybe a) justReturn = return . Just
68
justReturn = return . Just
26
true
true
0
10
21
42
19
23
null
null
MaxGabriel/yesod
yesod-core/Yesod/Core/Handler.hs
mit
sendFile :: MonadHandler m => ContentType -> FilePath -> m a sendFile ct fp = handlerError $ HCSendFile ct fp Nothing
117
sendFile :: MonadHandler m => ContentType -> FilePath -> m a sendFile ct fp = handlerError $ HCSendFile ct fp Nothing
117
sendFile ct fp = handlerError $ HCSendFile ct fp Nothing
56
false
true
0
8
20
45
21
24
null
null
garious/diffdump
DiffDump.hs
bsd-3-clause
expectedFileType :: String -> FilterPredicate expectedFileType "" = return True
79
expectedFileType :: String -> FilterPredicate expectedFileType "" = return True
79
expectedFileType "" = return True
33
false
true
0
5
9
21
10
11
null
null
ml9951/ThreadScope
Events/EventTree.hs
bsd-3-clause
------------------------------------------------------------------------------- durationTreeMaxDepth :: DurationTree -> Int durationTreeMaxDepth (DurationSplit _ _ _ lhs rhs _ _) = 1 + durationTreeMaxDepth lhs `max` durationTreeMaxDepth rhs
243
durationTreeMaxDepth :: DurationTree -> Int durationTreeMaxDepth (DurationSplit _ _ _ lhs rhs _ _) = 1 + durationTreeMaxDepth lhs `max` durationTreeMaxDepth rhs
162
durationTreeMaxDepth (DurationSplit _ _ _ lhs rhs _ _) = 1 + durationTreeMaxDepth lhs `max` durationTreeMaxDepth rhs
118
true
true
2
7
25
54
27
27
null
null
vt5491/haskell
projects/test/main.hs
mit
toRomanDigit "X" = X
20
toRomanDigit "X" = X
20
toRomanDigit "X" = X
20
false
false
0
5
3
9
4
5
null
null
michalkonecny/polypaver
src/Numeric/ER/RnToRm/Approx/Derivatives.hs
bsd-3-clause
derivsLift1 op (ERFnDerivatives fa derivs) = ERFnDerivatives (op fa) (Map.map (derivsLift1 op) derivs)
107
derivsLift1 op (ERFnDerivatives fa derivs) = ERFnDerivatives (op fa) (Map.map (derivsLift1 op) derivs)
107
derivsLift1 op (ERFnDerivatives fa derivs) = ERFnDerivatives (op fa) (Map.map (derivsLift1 op) derivs)
107
false
false
0
8
17
49
22
27
null
null
DougBurke/swish
src/Swish/Commands.hs
lgpl-2.1
swishReadScript :: Maybe String -> SwishStateIO [SwishStateIO ()] swishReadScript = swishReadFile swishParseScript []
117
swishReadScript :: Maybe String -> SwishStateIO [SwishStateIO ()] swishReadScript = swishReadFile swishParseScript []
117
swishReadScript = swishReadFile swishParseScript []
51
false
true
0
10
12
42
18
24
null
null
brendanhay/gogol
gogol-adsense/gen/Network/Google/Resource/AdSense/Accounts/AdClients/CustomChannels/List.hs
mpl-2.0
-- | Creates a value of 'AccountsAdClientsCustomChannelsList' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'aaccclParent' -- -- * 'aaccclXgafv' -- -- * 'aaccclUploadProtocol' -- -- * 'aaccclAccessToken' -- -- * 'aaccclUploadType' -- -- * 'aaccclPageToken' -- -- * 'aaccclPageSize' -- -- * 'aaccclCallback' accountsAdClientsCustomChannelsList :: Text -- ^ 'aaccclParent' -> AccountsAdClientsCustomChannelsList accountsAdClientsCustomChannelsList pAaccclParent_ = AccountsAdClientsCustomChannelsList' { _aaccclParent = pAaccclParent_ , _aaccclXgafv = Nothing , _aaccclUploadProtocol = Nothing , _aaccclAccessToken = Nothing , _aaccclUploadType = Nothing , _aaccclPageToken = Nothing , _aaccclPageSize = Nothing , _aaccclCallback = Nothing }
872
accountsAdClientsCustomChannelsList :: Text -- ^ 'aaccclParent' -> AccountsAdClientsCustomChannelsList accountsAdClientsCustomChannelsList pAaccclParent_ = AccountsAdClientsCustomChannelsList' { _aaccclParent = pAaccclParent_ , _aaccclXgafv = Nothing , _aaccclUploadProtocol = Nothing , _aaccclAccessToken = Nothing , _aaccclUploadType = Nothing , _aaccclPageToken = Nothing , _aaccclPageSize = Nothing , _aaccclCallback = Nothing }
478
accountsAdClientsCustomChannelsList pAaccclParent_ = AccountsAdClientsCustomChannelsList' { _aaccclParent = pAaccclParent_ , _aaccclXgafv = Nothing , _aaccclUploadProtocol = Nothing , _aaccclAccessToken = Nothing , _aaccclUploadType = Nothing , _aaccclPageToken = Nothing , _aaccclPageSize = Nothing , _aaccclCallback = Nothing }
367
true
true
0
6
152
88
62
26
null
null
plaprade/haskoin-wallet
Network/Haskoin/Wallet/Transaction.hs
unlicense
isCoinbaseTx :: Tx -> Bool isCoinbaseTx (Tx _ tin _ _) = length tin == 1 && outPointHash (prevOutput $ head tin) == "0000000000000000000000000000000000000000000000000000000000000000"
194
isCoinbaseTx :: Tx -> Bool isCoinbaseTx (Tx _ tin _ _) = length tin == 1 && outPointHash (prevOutput $ head tin) == "0000000000000000000000000000000000000000000000000000000000000000"
194
isCoinbaseTx (Tx _ tin _ _) = length tin == 1 && outPointHash (prevOutput $ head tin) == "0000000000000000000000000000000000000000000000000000000000000000"
167
false
true
0
10
35
58
28
30
null
null
mariefarrell/Hets
Maude/PreComorphism.hs
gpl-2.0
getLeftApp _ = Nothing
22
getLeftApp _ = Nothing
22
getLeftApp _ = Nothing
22
false
false
0
4
3
10
4
6
null
null
mineo/mpch
MPCH/Commands.hs
mit
random :: CommandFunc random = statusWrapper $ stToggleWrapper MPD.stRandom MPD.random
86
random :: CommandFunc random = statusWrapper $ stToggleWrapper MPD.stRandom MPD.random
86
random = statusWrapper $ stToggleWrapper MPD.stRandom MPD.random
64
false
true
0
7
9
24
12
12
null
null
dsorokin/aivika-lattice
Simulation/Aivika/Lattice/Internal/Ref/Strict.hs
bsd-3-clause
newRef :: a -> Simulation LIO (Ref a) newRef = Simulation . const . newRef0
75
newRef :: a -> Simulation LIO (Ref a) newRef = Simulation . const . newRef0
75
newRef = Simulation . const . newRef0
37
false
true
0
8
14
34
17
17
null
null