packages feed

phonetic-languages-simplified-generalized-properties-array 0.1.0.2 → 0.1.1.0

raw patch · 3 files changed

+53/−33 lines, 3 filesdep ~phonetic-languages-phonetics-basicsPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: phonetic-languages-phonetics-basics

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -11,3 +11,7 @@ ## 0.1.0.2 -- 2021-05-07  * First version revised B. Changed the dependency boundaries of the phonetic-languages-phonetics-basics. ++## 0.1.1.0 -- 2021-05-10++* First version revised C. Some documentation improvements. Changed the dependency boundaries.
Phonetic/Languages/Array/General/PropertiesSyllablesG2.hs view
@@ -11,7 +11,7 @@ -- and DobutokO.Poetry.Norms.Extended modules -- from the @dobutokO-poetry@ package and more recent package @phonetic-languages-simplified-properties-array@. -- Uses syllables information.--- Instead of the vector-related, uses just arrays.+-- Instead of the vector-related, uses arrays. -- If you use the functionality of the Phonetic.Languages.Array.Ukrainian.PropertiesSyllablesG2 module, -- then import it qualified (or this module) because they have many common data. Is provided as a standalone one -- to reduce dependencies list in general case. @@ -84,6 +84,7 @@      if (isNothing ys && isNothing zs) then CF0 else CF2 ys zs   | otherwise = CF0 +-- | A data type that is used to represent the coefficients of the rhythmicity functions as a one argument value. type Coeffs2 = CoeffTwo Double  --------------------------------------------------------------------------------------------@@ -101,11 +102,13 @@ {-# INLINE eval23KF #-}  rhythmicityG-  :: ([[[PRS]]] -> [[Double]])-  -> ([[Double]] -> Double)-  -> GWritingSystemPRPLX-  -> [(Char,Char)]-  -> CharPhoneticClassification+  :: ([[[PRS]]] -> [[Double]])-- ^ A function that specifies the syllables durations, analogue of the+  -- syllableDurationsD functions from the @ukrainian-phonetics-basics-array@ package. +  -> ([[Double]] -> Double) -- ^ Usually some kind of flattening of the double list into a single value.+  -> GWritingSystemPRPLX -- ^ Data used to obtain the phonetic language representation of the text.+  -> [(Char,Char)] -- ^ The pairs of the 'Char' that corresponds to the similar phonetic languages consonant phenomenon+  -- (e. g. allophones). Must be sorted in the ascending order to be used correctly. +  -> CharPhoneticClassification -- ^ The 'Array' 'Int' 'PRS' must be sorted in the ascending order to be used in the module correctly.   -> SegmentRulesG   -> String -- ^ Corresponds to the \'0\' symbol delimiter in the @ukrainian-phonetics-basic-array@ package.   -> String -- ^ Corresponds to the \'1\' and \'-\' symbol delimiters in the @ukrainian-phonetics-basic-array@ package.@@ -119,10 +122,12 @@ -------------------------------------------------------  rhythmicity0i-  :: ([[[PRS]]] -> [[Double]])-  -> GWritingSystemPRPLX-  -> [(Char,Char)]-  -> CharPhoneticClassification+  :: ([[[PRS]]] -> [[Double]]) -- ^ A function that specifies the syllables durations, analogue of the+  -- syllableDurationsD functions from the @ukrainian-phonetics-basics-array@ package. +  -> GWritingSystemPRPLX -- ^ Data used to obtain the phonetic language representation of the text.+  -> [(Char,Char)] -- ^ The pairs of the 'Char' that corresponds to the similar phonetic languages consonant phenomenon+  -- (e. g. allophones). Must be sorted in the ascending order to be used correctly. +  -> CharPhoneticClassification -- ^ The 'Array' 'Int' 'PRS' must be sorted in the ascending order to be used in the module correctly.   -> SegmentRulesG   -> String -- ^ Corresponds to the \'0\' symbol delimiter in the @ukrainian-phonetics-basic-array@ package.   -> String -- ^ Corresponds to the \'1\' and \'-\' symbol delimiters in the @ukrainian-phonetics-basic-array@ package.@@ -134,12 +139,14 @@ -------------------------------------------------------  rhythmicityKi-  :: ([[[PRS]]] -> [[Double]])+  :: ([[[PRS]]] -> [[Double]]) -- ^ A function that specifies the syllables durations, analogue of the+  -- syllableDurationsD functions from the @ukrainian-phonetics-basics-array@ package.    -> Double   -> Double-  -> GWritingSystemPRPLX-  -> [(Char,Char)]-  -> CharPhoneticClassification+  -> GWritingSystemPRPLX -- ^ Data used to obtain the phonetic language representation of the text.+  -> [(Char,Char)] -- ^ The pairs of the 'Char' that corresponds to the similar phonetic languages consonant phenomenon+  -- (e. g. allophones). Must be sorted in the ascending order to be used correctly. +  -> CharPhoneticClassification -- ^ The 'Array' 'Int' 'PRS' must be sorted in the ascending order to be used in the module correctly.   -> SegmentRulesG   -> String -- ^ Corresponds to the \'0\' symbol delimiter in the @ukrainian-phonetics-basic-array@ package.   -> String -- ^ Corresponds to the \'1\' and \'-\' symbol delimiters in the @ukrainian-phonetics-basic-array@ package.@@ -151,11 +158,13 @@ --------------------------------------------------------  rhythmicity0Fi-  :: ([[[PRS]]] -> [[Double]])+  :: ([[[PRS]]] -> [[Double]]) -- ^ A function that specifies the syllables durations, analogue of the+  -- syllableDurationsD functions from the @ukrainian-phonetics-basics-array@ package.    -> Double-  -> GWritingSystemPRPLX-  -> [(Char,Char)]-  -> CharPhoneticClassification+  -> GWritingSystemPRPLX -- ^ Data used to obtain the phonetic language representation of the text.+  -> [(Char,Char)] -- ^ The pairs of the 'Char' that corresponds to the similar phonetic languages consonant phenomenon+  -- (e. g. allophones). Must be sorted in the ascending order to be used correctly. +  -> CharPhoneticClassification -- ^ The 'Array' 'Int' 'PRS' must be sorted in the ascending order to be used in the module correctly.   -> SegmentRulesG   -> String -- ^ Corresponds to the \'0\' symbol delimiter in the @ukrainian-phonetics-basic-array@ package.   -> String -- ^ Corresponds to the \'1\' and \'-\' symbol delimiters in the @ukrainian-phonetics-basic-array@ package.@@ -167,13 +176,15 @@ --------------------------------------------------------  rhythmicityKFi-  :: ([[[PRS]]] -> [[Double]])+  :: ([[[PRS]]] -> [[Double]]) -- ^ A function that specifies the syllables durations, analogue of the+  -- syllableDurationsD functions from the @ukrainian-phonetics-basics-array@ package.    -> Double   -> Double   -> Double-  -> GWritingSystemPRPLX-  -> [(Char,Char)]-  -> CharPhoneticClassification+  -> GWritingSystemPRPLX -- ^ Data used to obtain the phonetic language representation of the text.+  -> [(Char,Char)] -- ^ The pairs of the 'Char' that corresponds to the similar phonetic languages consonant phenomenon+  -- (e. g. allophones). Must be sorted in the ascending order to be used correctly. +  -> CharPhoneticClassification -- ^ The 'Array' 'Int' 'PRS' must be sorted in the ascending order to be used in the module correctly.   -> SegmentRulesG   -> String -- ^ Corresponds to the \'0\' symbol delimiter in the @ukrainian-phonetics-basic-array@ package.   -> String -- ^ Corresponds to the \'1\' and \'-\' symbol delimiters in the @ukrainian-phonetics-basic-array@ package.@@ -184,18 +195,23 @@  -------------------------------------------------------- -{-| It is intended to provide different functions :: 'Double' -> 'String' -> ([[['PRS']]] -> [['Double']]) for at least the-following values: \"0z\", \"02z\", \"03z\", \"04z\", \"0y\", \"02y\", \"03y\" and the default one for other variants.-The \"z\"-line uses \'F\' functions. --}+-- | It is intended to provide different functions :: 'Double' -> 'String' -> ([[['PRS']]] -> [['Double']]) for at least the+-- following values: \"0z\", \"02z\", \"03z\", \"04z\", \"0y\", \"02y\", \"03y\" and the default one for other variants.+-- The \"z\"-line uses \'F\' functions.  rhythmicity   :: Double-  -> String-  -> (Double -> String -> ([[[PRS]]] -> [[Double]]))+  -> String -- ^ Is intended to be one of the following strings: \"02y\", \"02z\", \"03y\", \"03z\", \"04y\", \"04z\",+ -- \"0y\", \"0z\", \"y\", \"y0\", \"y2\", \"y3\", \"y4\", \"yy\", \"yy2\", \"yy3\", \"z\", \"z2\", \"z3\", \"z4\",+ -- \"zz\", \"zz2\", \"zz3\", \"zz4\" or some other one (that is the default one). Specifies the applied properties+ -- to get the result. The \"z\"-line uses \'F\' functions. +  -> (Double -> String -> ([[[PRS]]] -> [[Double]]))-- ^ The function that is needed in the 'procRhythmicity23F' function.+ -- Specifies a way how the syllables represented in the phonetic language approach transforms into their durations and+ -- depends on two parameters.   -> Coeffs2-  -> GWritingSystemPRPLX-  -> [(Char,Char)]-  -> CharPhoneticClassification+  -> GWritingSystemPRPLX -- ^ Data used to obtain the phonetic language representation of the text.+  -> [(Char,Char)] -- ^ The pairs of the 'Char' that corresponds to the similar phonetic languages consonant phenomenon+  -- (e. g. allophones). Must be sorted in the ascending order to be used correctly. +  -> CharPhoneticClassification -- ^ The 'Array' 'Int' 'PRS' must be sorted in the ascending order to be used in the module correctly.   -> SegmentRulesG   -> String   -> String
phonetic-languages-simplified-generalized-properties-array.cabal view
@@ -3,7 +3,7 @@ -- http://haskell.org/cabal/users-guide/  name:                phonetic-languages-simplified-generalized-properties-array-version:             0.1.0.2+version:             0.1.1.0 synopsis:            Generalization of the functionality of the phonetic-languages-simplified-properties-array. description:         Is intended to be used with the general phonetic languages approach.  homepage:            https://hackage.haskell.org/package/phonetic-languages-simplified-generalized-properties-array@@ -21,6 +21,6 @@   exposed-modules:     Phonetic.Languages.Array.General.PropertiesFuncRepG2, Phonetic.Languages.Array.General.PropertiesSyllablesG2   -- other-modules:   other-extensions:    CPP, BangPatterns-  build-depends:       base >=4.8 && <4.15, phonetic-languages-simplified-base >=0.2 && <1, phonetic-languages-rhythmicity >=0.2 && <1, phonetic-languages-phonetics-basics >=0.6.1 && <1+  build-depends:       base >=4.8 && <4.15, phonetic-languages-simplified-base >=0.2 && <1, phonetic-languages-rhythmicity >=0.2 && <1, phonetic-languages-phonetics-basics >=0.6.2 && <1   -- hs-source-dirs:   default-language:    Haskell2010