phonetic-languages-ukrainian-array 0.12.0.0 → 0.12.1.0
raw patch · 3 files changed
+13/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Phladiprelio.Ukrainian.PrepareText: prepareTextN3 :: Int -> String -> [String]
Files
- ChangeLog.md +4/−0
- Phladiprelio/Ukrainian/PrepareText.hs +8/−2
- phonetic-languages-ukrainian-array.cabal +1/−1
ChangeLog.md view
@@ -91,3 +91,7 @@ * Twelfth version. Changed the prepareTextN2 function so that also '=' is not filtered out. +## 0.12.1.0 -- 2023-11-16++* Twelfth version revised A. Downgraded the prepareTextN2 function so that it is like in the 0.11.0.0 version and introduced the function prepareTextN3 with '=' is being not filtered out.+
Phladiprelio/Ukrainian/PrepareText.hs view
@@ -44,6 +44,7 @@ , prepareText , prepareTextN , prepareTextN2+ , prepareTextN3 , prepareTextNG , growLinesN , prepareGrowTextMN@@ -181,10 +182,15 @@ prepareTextN = prepareTextNG (\t -> isAlpha t || isSpC t) {-# INLINE prepareTextN #-} --- | A generalized variant of the 'prepareText' with the arbitrary maximum number of the words in the lines given as the first argument.+-- | A generalized variant of the 'prepareText' with the arbitrary maximum number of the words in the lines given as the first argument. The \'_\' is not filtered out. prepareTextN2 :: Int -> String -> [String]-prepareTextN2 = prepareTextNG (\t -> isAlpha t || isSpC t || t == '_' || t == '=' || isDigit t) +prepareTextN2 = prepareTextNG (\t -> isAlpha t || isSpC t || t == '_' || isDigit t) {-# INLINE prepareTextN2 #-}++-- | A generalized variant of the 'prepareText' with the arbitrary maximum number of the words in the lines given as the first argument. Both \'_\' and \'=\' are not filtered out.+prepareTextN3 :: Int -> String -> [String]+prepareTextN3 = prepareTextNG (\t -> isAlpha t || isSpC t || t == '_' || t == '=' || isDigit t) +{-# INLINE prepareTextN3 #-} -- | An even more generalized variant of the 'prepareTextN' with the arbitrary maximum number of the words in the lines given as the second argument and the possibility to provide custom function for filtering. prepareTextNG
phonetic-languages-ukrainian-array.cabal view
@@ -2,7 +2,7 @@ -- further documentation, see http://haskell.org/cabal/users-guide/ name: phonetic-languages-ukrainian-array-version: 0.12.0.0+version: 0.12.1.0 synopsis: Prepares Ukrainian text to be used as a phonetic language text description: Applies needed minimal grammar connections so that the text afterwards can be processed by dobutokO-poetry or phonetic languages approach related programs. Uses arrays instead of vectors. Besides can be used to reverse many of the done concatenations. homepage: https://hackage.haskell.org/package/phonetic-languages-ukrainian-array