uniqueness-periods 0.1.0.0 → 0.2.0.0
raw patch · 3 files changed
+11/−7 lines, 3 filesdep ~mmsyn6ukrPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: mmsyn6ukr
API changes (from Hackage documentation)
Files
ChangeLog.md view
@@ -3,3 +3,7 @@ ## 0.1.0.0 -- 2020-08-16 * First version. Released on an unsuspecting world.++## 0.2.0.0 -- 2020-08-18++* Second version. Changed the boundaries for the dependency of mmsyn6ukr. Some documentation improvements.
String/Ukrainian/UniquenessPeriods.hs view
@@ -6,7 +6,7 @@ -- Maintainer : olexandr543@yahoo.com -- -- Can be used to produce the 'uniquenessPeriods' function and related --- functionality.+-- functionality for the Ukrainian text. module String.Ukrainian.UniquenessPeriods ( -- * Auxiliary functions@@ -46,8 +46,8 @@ eqSnds xs ys | xs `elem` ["-","0","1"] || ys `elem` ["-","0","1"] = False | otherwise = xs == ys --- | The same as @show7s''@, but the second element in the resulting tuple is again the Ukrainian text with whitespaces (whitespaces are substituted--- instead of punctuation symbols, too) and some phonetical conversions.+-- | The same as @show7s''@ from MMSyn7s module (@mmsyn7s@ package), but the second element in the resulting tuple is again the Ukrainian text +-- with whitespaces (whitespaces are substituted instead of punctuation symbols, too) and some phonetical conversions. show7s''' :: [String] -> ([String],String) show7s''' zss = let (xss, yss) = splitAt 68 zss@@ -58,7 +58,7 @@ -- | Function 'show7s5' takes a Ukrainian text being a @String@ and returns a tuple, the first element of which is a list of Strings that correspond to the Ukrainian -- sounds representations that (except pauses) are unique and are not repeated starting from the beginning of the given text (this list is filtered from --- the representations for the silence and then sorted in the ascending order), and the second one is a @String@ obtained from the remainder+-- the representations for the silence), and the second one is a @String@ obtained from the remainder -- list of Strings starting from the first duplicated non-silent Ukrainian sound representation with whitespaces (whitespaces are substituted -- instead of punctiuation symbols, too) and some phonetical conversions. show7s5 :: String -> ([String], String)@@ -82,7 +82,7 @@ show7snc :: [String] -> [Int] show7snc xss = let (tss,vss) = show7sn4' xss in if null vss then [length tss] else length tss:show7snc vss --- | The same as @show7sn'''@, but does not concatenate the list of 'String' as the second tuple's element.+-- | The same as @show7sn'''@ from the MMSyn7s module from the @mmsyn7s@ package, but does not concatenate the list of 'String' as the second tuple's element. show7sn4' :: [String] -> ([String],[String]) show7sn4' zss = let (xss, yss) = splitAt 68 zss
uniqueness-periods.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: uniqueness-periods-version: 0.1.0.0+version: 0.2.0.0 synopsis: Can be used to produce the 'uniquenessPeriods' function and related functionality. -- description: homepage: https://hackage.haskell.org/package/uniqueness-periods@@ -20,6 +20,6 @@ exposed-modules: String.Ukrainian.UniquenessPeriods -- other-modules: -- other-extensions:- build-depends: base >=4.7 && <4.15, vector >=0.11 && <0.15, mmsyn6ukr >=0.7 && <1+ build-depends: base >=4.7 && <4.15, vector >=0.11 && <0.15, mmsyn6ukr >=0.8 && <1 -- hs-source-dirs: default-language: Haskell2010