phonetic-languages-ukrainian-array 0.12.1.0 → 0.12.2.0
raw patch · 7 files changed
+23/−18 lines, 7 filesdep +intermediate-structuresdep −mmsyn5PVP ok
version bump matches the API change (PVP)
Dependencies added: intermediate-structures
Dependencies removed: mmsyn5
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- LICENSE +1/−1
- Main.hs +1/−1
- Phladiprelio/Ukrainian/PrepareText.hs +5/−7
- Phladiprelio/Ukrainian/ReverseConcatenations.hs +2/−2
- README.md +3/−1
- phonetic-languages-ukrainian-array.cabal +7/−6
ChangeLog.md view
@@ -95,3 +95,7 @@ * 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. +## 0.12.2.0 -- 2024-02-22++* Twelfth version revised B. Changed dependency to intermediate-structures instead of mmsyn5. Added Git repository with bug-tracker. Some changes in README.md. +
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2020-2023 Oleksandr Zhabenko+Copyright (c) 2020-2024 Oleksandr Zhabenko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
Main.hs view
@@ -1,6 +1,6 @@ -- | -- Module : Main--- Copyright : (c) OleksandrZhabenko 2021-2023+-- Copyright : (c) OleksandrZhabenko 2021-2024 -- License : MIT -- Stability : Experimental -- Maintainer : oleksandr.zhabenko@yahoo.com
Phladiprelio/Ukrainian/PrepareText.hs view
@@ -1,16 +1,14 @@ -- | -- Module : Phladiprelio.Ukrainian.PrepareText--- Copyright : (c) OleksandrZhabenko 2020-2023+-- Copyright : (c) OleksandrZhabenko 2020-2024 -- License : MIT -- Stability : Experimental -- Maintainer : oleksandr.zhabenko@yahoo.com ----- Helps to order the 7 or less Ukrainian words (or their concatenations)--- to obtain (to some extent) suitable for poetry or music text. -- Earlier it has been a module DobutokO.Poetry.Ukrainian.PrepareText -- from the @dobutokO-poetry@ package. -- In particular, this module can be used to prepare the Ukrainian text--- by applying the most needed grammar to avoid misunderstanding+-- by applying the most needed grammar for PhLADiPreLiO to avoid misunderstanding -- for the produced text. The attention is paid to the prepositions, pronouns, conjunctions -- and particles that are most commonly connected (or not) in a significant way -- with the next text.@@ -60,7 +58,7 @@ import GHC.Base import Data.List import CaseBi.Arr (getBFstLSorted')-import Data.List.InnToOut.Basic (mapI)+import Data.IntermediateStructures1 (mapI) import Data.Char (isAlpha,toLower,isDigit) import GHC.Arr import GHC.Num ((+))@@ -201,7 +199,7 @@ prepareTextNG f n = filter (any isUkrainianL) . splitLinesN n . map (unwords . concatenated2 . participleConc . auxiliary1 . complexWords . words . filter f) . filter (not . null) . lines-{-# INLINABLE prepareTextNG #-}+{-# INLINE prepareTextNG #-} participleConc :: [String] -> [String] participleConc (xs:ys:zs:yss)@@ -342,7 +340,7 @@ | xs == "\1076\1079" = 'z' | xs == "\1089\1100" = 's' | xs == "\1094\1100" = 'c'- | null xs = error "Phonetic.Languages.Ukrainian.PrepareText.aux4: Empty String. "+ | null xs = error "Phladiprelio.Ukrainian.PrepareText.aux4: Empty String. " | otherwise = head xs -- | Is taken from the @mmsyn6ukr@ package version 0.8.1.0 so that the amount of dependencies are reduced (and was slightly modified).
Phladiprelio/Ukrainian/ReverseConcatenations.hs view
@@ -1,6 +1,6 @@ -- | -- Module : Phladiprelio.Ukrainian.ReverseConcatenations--- Copyright : (c) OleksandrZhabenko 2020-2023+-- Copyright : (c) OleksandrZhabenko 2020-2024 -- License : MIT -- Stability : Experimental -- Maintainer : oleksandr.zhabenko@yahoo.com@@ -19,7 +19,7 @@ import GHC.Base import Data.List import CaseBi.Arr (getBFstLSorted')-import Data.List.InnToOut.Basic (mapI)+import Data.IntermediateStructures1 (mapI) {-| Reverses many phonetic languages approach related concatenations for the Ukrainian text. Is intended to be used with the text on several lines. -}
README.md view
@@ -1,13 +1,15 @@ Devotion ======== -P.S.: the author would like to devote this project to support the [Foundation Gastrostars](https://gastrostars.nl).+The author would like to devote this project to support the [Foundation Gastrostars](https://gastrostars.nl). On the 01/10/2023 there are International Music Day and [André's Rieu](https://www.andrerieu.com/en) Birthday. So the version 0.11.0.0 is additionally devoted to him as well as to the Kok family — [Emma](https://emmakok.nl) and [Enzo](https://enzokok.nl) are amazing and fantastic musicians, Vico works with PhilZuid, Sophie sings in the classical manner. Nathalie Kok with love to her family and appreciation for André's Rieu support also celebrates the Day. In Ukraine this day has several important celebrations — Intercession of the Holy Theotokos (Pokrova), Cossacks' Day, Day of Defenders of Ukraine (especially relevant during the Russian war against Ukraine).++On the 21/02/2024 there is an International Mother Tongue Day — that is Ukrainian for the author of the package. All support is welcome, including donations for the needs of the Ukrainian army, IDPs and refugees.
phonetic-languages-ukrainian-array.cabal view
@@ -2,13 +2,14 @@ -- further documentation, see http://haskell.org/cabal/users-guide/ name: phonetic-languages-ukrainian-array-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.+version: 0.12.2.0+synopsis: Prepares Ukrainian text to be used as a PhLADiPreLiO text+description: Applies needed minimal grammar connections so that the text afterwards can be processed PhLADiPreLiO related programs. Besides can be used to reverse many of the done concatenations. homepage: https://hackage.haskell.org/package/phonetic-languages-ukrainian-array+bug-reports: https://github.com/Oleksandr-Zhabenko/phonetic-languages-ukrainian-array/issues license: MIT license-file: LICENSE-author: OleksandrZhabenko+author: Oleksandr Zhabenko maintainer: oleksandr.zhabenko@yahoo.com copyright: Oleksandr Zhabenko category: Language,Game@@ -20,7 +21,7 @@ exposed-modules: Phladiprelio.Ukrainian.PrepareText, Phladiprelio.Ukrainian.ReverseConcatenations -- other-modules: other-extensions: BangPatterns, NoImplicitPrelude- build-depends: base >=4.13 && <5, mmsyn2-array ==0.3.1.1, mmsyn5 ==0.6.0.0+ build-depends: base >=4.13 && <5, mmsyn2-array ==0.3.1.1, intermediate-structures == 0.1.1.0 -- hs-source-dirs: default-language: Haskell2010 @@ -28,7 +29,7 @@ main-is: Main.hs other-modules: Phladiprelio.Ukrainian.ReverseConcatenations other-extensions: BangPatterns, NoImplicitPrelude- build-depends: base >=4.13 && <5, mmsyn2-array ==0.3.1.1, mmsyn5 ==0.6.0.0+ build-depends: base >=4.13 && <5, mmsyn2-array ==0.3.1.1, intermediate-structures == 0.1.1.0 ghc-options: -threaded -rtsopts -- hs-source-dirs: default-language: Haskell2010