Copyright | (c) Oleksandr Zhabenko 2020-2023 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Extensions |
|
Allows to evaluate (approximately, so better to say, to estimate) the rhythmicity properties for the text (usually, the poetic one). Tries to use somewhat 'improved' versions of the functions similar to the ones in the Phladiprelio.Rhythmicity.Simple module.
Synopsis
- data Factors = F !Double !Double !Double !Double !Double !Double !Double !Double !Double !Double
- readFactors :: String -> Factors
- maxPosition2F :: Factors -> Double -> [Double] -> Double
- defFactors :: Factors
- defFactorsStr :: String
- evalRhythmicity23F :: Factors -> Double -> [Double] -> Double
- evalRhythmicity23KF :: Factors -> Double -> Double -> Double -> [Double] -> Double
Documentation
Instances
readFactors :: String -> Factors Source #
maxPosition2F :: Factors -> Double -> [Double] -> Double Source #
The first argument must be greater than 1 and the values in the list greater than 0 though it is not checked.
defFactors :: Factors Source #
defFactorsStr :: String Source #
readFactors defFactorsStr == defFactors