Copyright | (c) OleksandrZhabenko 2020-2022 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Analyzes a poetic text in Ukrainian, for every line prints statistic data and then for the whole poem prints the hypothesis evaluation information. Is used in pair with some other programs, e. g. with propertiesTextG3 from phonetic-languages-simplified-examples-array package or with a new phonetic-languages-ukrainian series. The module contains library functions for the program.
To enable parallel computations (potentially, they can speed up the work), please, run the distributionText
executable with
+RTS -threaded -RTS
command line options with possibly -N
option inside.
Synopsis
- data ControlStatsIntervals
- isU :: ControlStatsIntervals -> Bool
- isM :: ControlStatsIntervals -> Bool
- data31F :: ControlStatsIntervals -> Maybe [Double]
- wordsCnt0_data32F :: ControlStatsIntervals -> [(Int, Int)]
- maybeDII :: (Int -> Bool) -> ControlStatsIntervals -> Maybe [(Double, (Int, Int))]
- numberProps :: ByteString -> Int
- innerProcG :: Bool -> Bool -> String -> Bool -> ByteString -> IO ()
- innerProc :: Bool -> Bool -> String -> ControlStatsIntervals -> ByteString -> IO ()
- processContents :: Bool -> ByteString -> IO ControlStatsIntervals
- processContentsMultiprop :: Int -> ByteString -> IO ControlStatsIntervals
- generalInfo1 :: Bool -> Int -> [(Int, Int)] -> Maybe (Double, Double) -> Int -> String
Documentation
data ControlStatsIntervals Source #
Sum data type to control whether the functions work with multiple properties or with just one.
Instances
Eq ControlStatsIntervals Source # | |
Defined in Distribution.Processment (==) :: ControlStatsIntervals -> ControlStatsIntervals -> Bool # (/=) :: ControlStatsIntervals -> ControlStatsIntervals -> Bool # | |
Show ControlStatsIntervals Source # | |
Defined in Distribution.Processment showsPrec :: Int -> ControlStatsIntervals -> ShowS # show :: ControlStatsIntervals -> String # showList :: [ControlStatsIntervals] -> ShowS # |
isU :: ControlStatsIntervals -> Bool Source #
isM :: ControlStatsIntervals -> Bool Source #
wordsCnt0_data32F :: ControlStatsIntervals -> [(Int, Int)] Source #
numberProps :: ByteString -> Int Source #
innerProcG :: Bool -> Bool -> String -> Bool -> ByteString -> IO () Source #
innerProc :: Bool -> Bool -> String -> ControlStatsIntervals -> ByteString -> IO () Source #
processContents :: Bool -> ByteString -> IO ControlStatsIntervals Source #