Copyright | (c) Oleksandr Zhabenko 2020-2023 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
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 :: String -> Int
- innerProcG :: Bool -> Bool -> String -> Bool -> String -> IO ()
- innerProc :: Bool -> Bool -> String -> ControlStatsIntervals -> String -> IO ()
- processContents :: Bool -> String -> IO ControlStatsIntervals
- processContentsMultiprop :: Int -> String -> 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
Show ControlStatsIntervals Source # | |
Defined in Phladiprelio.Distribution showsPrec :: Int -> ControlStatsIntervals -> ShowS # show :: ControlStatsIntervals -> String # showList :: [ControlStatsIntervals] -> ShowS # | |
Eq ControlStatsIntervals Source # | |
Defined in Phladiprelio.Distribution (==) :: ControlStatsIntervals -> ControlStatsIntervals -> Bool # (/=) :: ControlStatsIntervals -> ControlStatsIntervals -> Bool # |
isU :: ControlStatsIntervals -> Bool Source #
isM :: ControlStatsIntervals -> Bool Source #
wordsCnt0_data32F :: ControlStatsIntervals -> [(Int, Int)] Source #
numberProps :: String -> Int Source #
processContents :: Bool -> String -> IO ControlStatsIntervals Source #