phonetic-languages-properties 0.3.0.0 → 0.3.0.1
raw patch · 3 files changed
+7/−41 lines, 3 filesdep ~phonetic-languages-commondep ~ukrainian-phonetics-basicPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: phonetic-languages-common, ukrainian-phonetics-basic
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- Languages/UniquenessPeriods/Vector/PropertiesFuncRepG.hs +0/−39
- phonetic-languages-properties.cabal +2/−2
CHANGELOG.md view
@@ -19,3 +19,8 @@ ## 0.3.0.0 -- 2020-11-09 * Third version. Added a possibility to use versions with the coefficients (using new data type Coeffs2).++## 0.3.0.1 -- 2020-11-27++* Third version revised A. Updated the dependency boundaries.+
Languages/UniquenessPeriods/Vector/PropertiesFuncRepG.hs view
@@ -178,42 +178,3 @@ vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys) / (int2Float . negate . fromEnum . diverse2 $ zs))) {-# INLINE procB2InvFneg #-} -----------------------------------------------------------------{--procRhythm23FK :: (Float -> Float -> VB.Vector Char -> Float) -> Float -> Float -> FuncRep (VB.Vector Char) (UniquenessGeneral2 Char) [Float]-procRhythm23FK g k2 k3 = U1 ((:[]) . g k2 k3)-{-# INLINE procRhythm23FK #-}--procRhythm23FKneg :: (Float -> Float -> VB.Vector Char -> Float) -> Float -> Float -> FuncRep (VB.Vector Char) (UniquenessGeneral2 Char) [Float]-procRhythm23FKneg g k2 k3 = U1 ((:[]) . negate . g k2 k3)-{-# INLINE procRhythm23FKneg #-}--procB2FK :: (Float -> Float -> [[[UZPP2]]] -> Float -> Float -> [[Float]]) -> Float -> Float -> FuncRep (VB.Vector Char) (UniquenessGeneral2 Char) [Float]-procB2FK g k2 k3 = U1 (\v -> let ys = convertToProperUkrainianV2S . VB.map (\x -> if x == '-' then ' ' else x) $ v in (:[]) ((int2Float . fromEnum . diverse2 . uniquenessPeriodsVector3 " 01-" . VB.fromList $ ys)*(evalRhythmicity23K k2 k3 . mconcat . g k2 k3 . map (divVwls . reSyllableCntnts . groupSnds . vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys)))-{-# INLINE procB2FK #-}---- | Can be used to find out the minimum element.-procB2FKneg :: (Float -> Float -> [[[UZPP2]]] -> Float -> Float -> [[Float]]) -> Float -> Float -> FuncRep (VB.Vector Char) (UniquenessGeneral2 Char) [Float]-procB2FKneg g k2 k3 = U1 (\v -> let ys = convertToProperUkrainianV2S . VB.map (\x -> if x == '-' then ' ' else x) $ v in (:[]) ((int2Float . negate . fromEnum . diverse2 . uniquenessPeriodsVector3 " 01-" .- VB.fromList$ ys)*(evalRhythmicity23K k2 k3 . mconcat . g k2 k3 . map (divVwls . reSyllableCntnts . groupSnds . vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys)))-{-# INLINE procB2FKneg #-}--procB2InvFK :: (Float -> Float -> [[[UZPP2]]] -> Float -> Float -> [[Float]]) -> Float -> Float -> FuncRep (VB.Vector Char) (UniquenessGeneral2 Char) [Float]-procB2InvFK g k2 k3 = U1 (\v ->- let !ys = convertToProperUkrainianV2S . VB.map (\x -> if x == '-' then ' ' else x) $ v- !zs = uniquenessPeriodsVector3 " 01-" . VB.fromList $ ys in if VB.null zs then (:[]) ((evalRhythmicity23 . mconcat . g . map (divVwls .- reSyllableCntnts . groupSnds . vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys) * (evalRhythmicity23 . mconcat . g . map (divVwls . reSyllableCntnts .- groupSnds . vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys)) else (:[]) ((evalRhythmicity23 . mconcat . g . map (divVwls . reSyllableCntnts . groupSnds .- vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys) / (int2Float . fromEnum . diverse2 $ zs)))-{-# INLINE procB2InvFK #-}---- | Can be used to find out the minimum element.-procB2InvFKneg :: ([[[UZPP2]]] -> Float -> Float -> [[Float]]) -> Float -> Float -> FuncRep (VB.Vector Char) (UniquenessGeneral2 Char) [Float]-procB2InvFKneg g k2 k3 = U1 (\v ->- let !ys = convertToProperUkrainianV2S . VB.map (\x -> if x == '-' then ' ' else x) $ v- !zs = uniquenessPeriodsVector3 " 01-" .VB.fromList $ ys in if VB.null zs then (:[]) (negate (evalRhythmicity23K . mconcat . g . map (divVwls .- reSyllableCntnts . groupSnds . vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys) * (evalRhythmicity23 . mconcat . g . map (divVwls . reSyllableCntnts .- groupSnds . vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys)) else (:[]) ((evalRhythmicity23 . mconcat . g . map (divVwls . reSyllableCntnts . groupSnds .- vec2UZPP2s) . vecWords . V.filter (/='0') . V.fromList $ ys) / (int2Float . negate . fromEnum . diverse2 $ zs)))-{-# INLINE procB2InvFKneg #-}--}
phonetic-languages-properties.cabal view
@@ -2,7 +2,7 @@ -- For further documentation, see http://haskell.org/cabal/users-guide/ name: phonetic-languages-properties-version: 0.3.0.0+version: 0.3.0.1 synopsis: A generalization of the uniqueness-periods-vector-properties package. -- description: homepage: https://hackage.haskell.org/package/phonetic-languages-properties@@ -20,6 +20,6 @@ exposed-modules: Languages.UniquenessPeriods.Vector.PropertiesG, Languages.UniquenessPeriods.Vector.PropertiesFuncRepG, Languages.UniquenessPeriods.Vector.PropertiesSyllablesG -- other-modules: other-extensions: BangPatterns, CPP- build-depends: base >=4.7 && <4.15, vector >=0.11 && <0.14, phonetic-languages-vector >=0.1 && <1, phonetic-languages-rhythmicity >=0.1.2 && <1, phonetic-languages-common >=0.1.1 && <1, ukrainian-phonetics-basic >=0.2.0.1 && <1+ build-depends: base >=4.7 && <4.15, vector >=0.11 && <0.14, phonetic-languages-vector >=0.1 && <1, phonetic-languages-rhythmicity >=0.1.2 && <1, phonetic-languages-common >=0.1.2 && <1, ukrainian-phonetics-basic >=0.2.0.2 && <1 -- hs-source-dirs: default-language: Haskell2010