packages feed

phonetic-languages-rhythmicity 0.5.2.0 → 0.5.3.0

raw patch · 4 files changed

+23/−7 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -51,3 +51,8 @@ ## 0.5.2.0 -- 2021-08-04  * Fifth version revised B. Added README.md file with conceptual description for the polyrhythmic ideas used in the moudules.++## 0.5.3.0 -- 2021-08-07++* Fifth version revised C. Improved the increasing and decreasing functions to reduce irregular and asymmetric+behaviours for the polyrhythm module. Added the corresponding information to the README.md file.
README.md view
@@ -40,6 +40,7 @@ subsequences.  To assess this, we introduce certain numerical functions+(see the information below) that have regular behavior and allow us to determine whether the subsequences actually have elements that belong to the relevant corresponding subgroups in the@@ -85,3 +86,13 @@ rhythmic patterns that are often close to the lyrics in rap style. Therefore, this can be attributed to one of the direct applications of the library.++ Increasing and Decreasing Functions+ ===================================++Since the 0.5.3.0 version the increasing and decreasing+functions for the polyrhythmicity evaluation have become+more similar to be more likewise the inverse one to+another. This leads to that fact that these functions+now are expected to be smoother for usage for the+beginning of the line, its middle and its ending.
Rhythmicity/PolyRhythm.hs view
@@ -217,9 +217,9 @@  -> Double increasingF n x  | n <= 0 || x <= 0 = error $ "Rhythmicity.PolyRhythm.increasingF: not defined for the arguments. " ++ show n ++ " " ++ show x- | x < 1 = int2Double (n + 1) - int2Double n * x- | x <= 1.01 = x + (1.0 / int2Double n)- | n == 1 = x + 1.0+ | n == 1 = x + min (x * 0.25) 0.125+ | x < 1 = x ** (1.0 / int2Double n)+ | x <= 1.1 = x + 1.0 / int2Double n  | otherwise = x ^ n  decreasingF@@ -228,9 +228,9 @@  -> Double decreasingF n x  | n <= 0 || x <= 0 = error $ "Rhythmicity.PolyRhythm.decreasingF: not defined for the arguments. " ++ show n ++ " " ++ show x- | x < 1 = x / int2Double n- | x <= 1.01 = x - (1.0 / int2Double n)- | n == 1 = x - 0.5+ | n == 1 = x - min (x * 0.25) 0.125+ | x < 1 = x ** int2Double n+ | x <= 1.1 = 1.0 / (x + 1.0 / int2Double n)  | otherwise = x ** (1.0 / int2Double n)  similarityF1
phonetic-languages-rhythmicity.cabal view
@@ -2,7 +2,7 @@ -- For further documentation, see http://haskell.org/cabal/users-guide/  name:                phonetic-languages-rhythmicity-version:             0.5.2.0+version:             0.5.3.0 synopsis:            Allows to estimate the rhythmicity properties for the text description:         Allows to estimate (somewhat to say, evaluate) the rhythmicity properties for the text. Inspired by the ancient Greek and Latin poetry.