packages feed

ukrainian-phonetics-basic 0.1.8.0 → 0.1.9.0

raw patch · 3 files changed

+9/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -37,3 +37,7 @@ * First version revised H. Fixed issues with classification functions inside the Melodics.ByteString.Ukrainian module. Changed the dependencies boundaries to  use the latest improved versions of the packages. +## 0.1.9.0 -- 2020-11-05++* First version revised I. Fixed issues with separating soft sign from the processed sound combinations inside the Melodics.ByteString.Ukrainian module.+
Melodics/ByteString/Ukrainian.hs view
@@ -322,7 +322,7 @@ {-# INLINE correctA #-}  separateSoftS :: [(Char, Triple)] -> [Char]-separateSoftS = map fst . mapI ((== T) . snd) divideToParts+separateSoftS = concatMap divideToParts {-# INLINE separateSoftS #-}  correctSomeW :: [Char] -> [Char]@@ -334,9 +334,9 @@                         | otherwise = x:correctSomeW (y:z:xs) correctSomeW zs = zs -divideToParts :: (Char, Triple) -> [(Char, Triple)]-divideToParts (x, z) = X.getBFst' ([(x, z)], VB.fromList . zip "NOPQRST" $-  [[('n', Z), ('t', Z)], [('s', Z), ('t', Z)], [('t', Z), ('q', Z)], [('A', Z), ('q', Z)], [('z', Z), ('q', Z)], [('n', Z), ('q', Z)], [('d', Z), ('q', Z)]]) . fst $ (x, z)+divideToParts :: (Char, Triple) -> [Char]+divideToParts (x, z) = X.getBFst' ([x], VB.fromList . zip "NOPQRST" $+  ["nt", "st", "tq", "Aq", "zq", "nq", "dq"]) . fst $ (x, z) {-# INLINE divideToParts #-}  toVector :: [Char] -> V.Vector Char
ukrainian-phonetics-basic.cabal view
@@ -2,7 +2,7 @@ -- further documentation, see http://haskell.org/cabal/users-guide/  name:                ukrainian-phonetics-basic-version:             0.1.8.0+version:             0.1.9.0 synopsis:            A library to work with the basic Ukrainian phonetics and syllable segmentation. description:         A library to work with the basic Ukrainian phonetics and syllable segmentation. Rewritten from the mmsyn6ukr and mmsyn7s packages. homepage:            https://hackage.haskell.org/package/ukrainian-phonetics-basic