packages feed

phladiprelio-general-simple 0.14.1.0 → 0.14.2.0

raw patch · 4 files changed

+26/−15 lines, 4 filesdep +minmaxdep ~phladiprelio-general-datatypedep ~phladiprelio-general-shareddep ~phonetic-languages-constraints-arrayPVP ok

version bump matches the API change (PVP)

Dependencies added: minmax

Dependency ranges changed: phladiprelio-general-datatype, phladiprelio-general-shared, phonetic-languages-constraints-array, phonetic-languages-permutations-array, phonetic-languages-phonetics-basics, phonetic-languages-simplified-base

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -167,3 +167,8 @@  * Fourteenth version revised A. Some code refactoring. Added new functions to simplify understanding and testing. Changed the function to count syllables in test and other cases modes. Now it includes the "\_{set of digits}" groups as syllables. Some minor documentation improvements. +## 0.14.2.0 -- 2024-01-30++* Fourteenth version revised B. Switched to newer versions of dependencies and removed the unneeded ones. Some performance improvements. Some documentation improvements. Added bug-tracker.++
Phladiprelio/General/Simple.hs view
@@ -33,8 +33,9 @@ import System.Directory (doesFileExist,readable,writable,getPermissions,Permissions(..),doesFileExist,getCurrentDirectory) import Data.ReversedScientific import Control.Concurrent.Async (mapConcurrently)+import Data.MinMax1 (minMax11By)  import Phladiprelio.Tests-import Phladiprelio.General.Datatype3 -- (readBasic3, readBasic4, readBasic1G)+import Phladiprelio.General.Datatype3 import Phladiprelio.General.Distance import Phladiprelio.UniquenessPeriodsG @@ -308,10 +309,11 @@       putStrLn "Feet   Val  Stat   Proxim"        (if concurrently then mapConcurrently else mapM)             (\(q,qs) -> let m = stat1 syllN (q,qs)-                           (min1,max1) = minMax11ByCList (comparing (f ldc [] q qs)) universalSet +                           (min1,max1) = fromJust . minMax11By (comparing (f ldc [] q qs)) $ universalSet                             mx = f ldc [] q qs max1                            strTest = (show (fromEnum q) `mappend` "   |   " `mappend`  show mx `mappend` "     " `mappend` show m `mappend` "  -> " `mappend` showFFloat (Just 3) (100 * fromIntegral mx / fromIntegral m) "%" `mappend` (if rem numTest 10 >= 4 -                                                               then let min1 = minimumBy (comparing (f ldc [] q qs)) universalSet in ("\n" `mappend` min1 `mappend` "\n" `mappend` max1 `mappend` "\n")  +                                                               then -- let min1 = minimumBy (comparing (f ldc [] q qs)) universalSet in +                                                                     ("\n" `mappend` min1 `mappend` "\n" `mappend` max1 `mappend` "\n")                                                                  else "")) in putStrLn strTest >> return strTest) . zip (sel2 numTest) $ (sel numTest)  -- | Internal part of the 'generalF' for processment with a file.
README.md view
@@ -1,25 +1,25 @@ The library is the new implementation of the ideas related to PhLADiPreLiO (Phonetic Languages Approach to Discovering the Preferred Line Options) for different languages. It uses hashes and-has at the moment (as of the version 0.7.0.0) not the full functionality. The previous implementation +has at the moment (as of the version 0.14.2.0) not the full functionality. The previous implementation  and its documentation are at the links: -https://hackage.haskell.org/package/phonetic-languages-simplified-generalized-examples-array+[Old approach](https://hackage.haskell.org/package/phonetic-languages-simplified-generalized-examples-array) -[Ukrainian documentation](https://oleksandrzhabenko.github.io/uk/rhythmicity/PhLADiPreLiO.Ukr.21.pdf)+[Підхід фонетичних (просодичних) мов до відкриття більш бажаних варіантів текстового рядка (PhLADiPreLiO) з використанням Haskell](https://oleksandrzhabenko.github.io/uk/rhythmicity/PhLADiPreLiO.Ukr.21.pdf) -[English documentation](https://oleksandrzhabenko.github.io/uk/rhythmicity/PhLADiPreLiO.Eng.21.pdf)+[Phonetic languages approach to discovering preferred line options (PhLADiPreLiO) using Haskell](https://oleksandrzhabenko.github.io/uk/rhythmicity/PhLADiPreLiO.Eng.21.pdf)  The new documentation for the usage of the software package for Ukrainian language (with noteworthy information related to other languages as well) is by the following links: -[English draft paper](https://www.academia.edu/105067761/Why_some_lines_are_easy_to_pronounce_and_others_are_not_or_prosodic_unpredictability_as_a_characteristic_of_text)+[Why some lines are easy to pronounce and others are not, or prosodic unpredictability as a characteristic of text](https://www.academia.edu/105067761/Why_some_lines_are_easy_to_pronounce_and_others_are_not_or_prosodic_unpredictability_as_a_characteristic_of_text) -[Ukrainian draft paper](https://www.academia.edu/105067723/%D0%A7%D0%BE%D0%BC%D1%83_%D0%B4%D0%B5%D1%8F%D0%BA%D1%96_%D1%80%D1%8F%D0%B4%D0%BA%D0%B8_%D0%BB%D0%B5%D0%B3%D0%BA%D0%BE_%D0%B2%D0%B8%D0%BC%D0%BE%D0%B2%D0%BB%D1%8F%D1%82%D0%B8_%D0%B0_%D1%96%D0%BD%D1%88%D1%96_%D0%BD%D1%96_%D0%B0%D0%B1%D0%BE_%D0%BF%D1%80%D0%BE%D1%81%D0%BE%D0%B4%D0%B8%D1%87%D0%BD%D0%B0_%D0%BD%D0%B5%D1%81%D0%BF%D1%80%D0%BE%D0%B3%D0%BD%D0%BE%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D1%96%D1%81%D1%82%D1%8C_%D1%8F%D0%BA_%D1%85%D0%B0%D1%80%D0%B0%D0%BA%D1%82%D0%B5%D1%80%D0%B8%D1%81%D1%82%D0%B8%D0%BA%D0%B0_%D1%82%D0%B5%D0%BA%D1%81%D1%82%D1%83)+[Чому деякі рядки легко вимовляти, а інші — ні, або просодична неспрогнозованість як характеристика тексту](https://www.academia.edu/105067723/%D0%A7%D0%BE%D0%BC%D1%83_%D0%B4%D0%B5%D1%8F%D0%BA%D1%96_%D1%80%D1%8F%D0%B4%D0%BA%D0%B8_%D0%BB%D0%B5%D0%B3%D0%BA%D0%BE_%D0%B2%D0%B8%D0%BC%D0%BE%D0%B2%D0%BB%D1%8F%D1%82%D0%B8_%D0%B0_%D1%96%D0%BD%D1%88%D1%96_%D0%BD%D1%96_%D0%B0%D0%B1%D0%BE_%D0%BF%D1%80%D0%BE%D1%81%D0%BE%D0%B4%D0%B8%D1%87%D0%BD%D0%B0_%D0%BD%D0%B5%D1%81%D0%BF%D1%80%D0%BE%D0%B3%D0%BD%D0%BE%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D1%96%D1%81%D1%82%D1%8C_%D1%8F%D0%BA_%D1%85%D0%B0%D1%80%D0%B0%D0%BA%D1%82%D0%B5%D1%80%D0%B8%D1%81%D1%82%D0%B8%D0%BA%D0%B0_%D1%82%D0%B5%D0%BA%D1%81%D1%82%D1%83)  The old documentation for the implementation is available at the following links.-[Новий текст теорії](https://oleksandr-zhabenko.github.io/uk/rhythmicity/phladiprelioUkr.7.pdf)+[Більш бажані варіанти текстового рядка на основі PhLADiPreLiO з використанням Haskell — базові ідеї](https://oleksandr-zhabenko.github.io/uk/rhythmicity/phladiprelioUkr.7.pdf) -[New implementation](https://oleksandr-zhabenko.github.io/uk/rhythmicity/phladiprelioEng.7.pdf)+[Preferred line options based on the PhLADiPreLiO using Haskell](https://oleksandr-zhabenko.github.io/uk/rhythmicity/phladiprelioEng.7.pdf)  The examples of the using the new functionality in the 0.8.0.0 version is in two short videos by the links below (they are for the phladiprelio-ukrainian-simple, the parallel project for Ukranian):@@ -34,7 +34,7 @@ The video with the demonstration of the new functionality in the version 0.6.0.0 is by the link for the parallel project phladiprelio-ukrainian-simple: -https://www.facebook.com/100012184148486/posts/1767318773684244+[demo for version 0.6.0.0](https://www.facebook.com/100012184148486/posts/1767318773684244)  Examples of the new functionality in the version 0.5.1.1 of the related prototype project for  Ukrainian is in the videos:@@ -73,6 +73,8 @@ For the list of bash aliases a few of which are used in the videos, see: https://github.com/Oleksandr-Zhabenko/phladiprelio-alias/blob/main/.bashrc +The version 0.14.2.0 fixes issue with one syllable before '=' sign in the music mode and applies some performance improvements.+  Devotion  ======== @@ -122,6 +124,8 @@ On the 11/11/2023 there is St. Martin of Tours Day for Roman Catholics and Poland Independence Day.  The version 0.14.0.0 is also devoted to the bright memory of the Artem Sachuk, who perished as a soldier defending Ukraine from the Russian occupants. Kingdom of God to his soul and eternal memory! Condolences to everybody who knows him.++The version 0.14.2.0 is also devoted to Sophie Kok, a sister of Emma Kok, who turned 18 on the 06/01/2024. Besides, on the 22/01/2024 there is Day of Unity of Ukraine and on the 23/01/2024 there is for Orthodox Church memory of St. Paulinus of Nola. On the 30/01/2024 there is for the Greek-Orthodox and Greek-Catholics memory of Saints Basil the Great, Gregory the Theologian and John Chrysostom in their Council.  All support is welcome, including donations for the needs of the Ukrainian army, IDPs and refugees. 
phladiprelio-general-simple.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               phladiprelio-general-simple-version:            0.14.1.0+version:            0.14.2.0  -- A short (one-line) description of the package. synopsis:           A generalized functionality of PhLADiPreLiO for different languages that uses hash algorithms.@@ -9,7 +9,7 @@ description:        The basic ideas of PhLADiPreLiO (Phonetic Languages Approach to Discovering Preferred Line Options). The usage ideas are described in the new scientific draft papers: [Ukrainian paper](https://www.academia.edu/105067723/%D0%A7%D0%BE%D0%BC%D1%83_%D0%B4%D0%B5%D1%8F%D0%BA%D1%96_%D1%80%D1%8F%D0%B4%D0%BA%D0%B8_%D0%BB%D0%B5%D0%B3%D0%BA%D0%BE_%D0%B2%D0%B8%D0%BC%D0%BE%D0%B2%D0%BB%D1%8F%D1%82%D0%B8_%D0%B0_%D1%96%D0%BD%D1%88%D1%96_%D0%BD%D1%96_%D0%B0%D0%B1%D0%BE_%D0%BF%D1%80%D0%BE%D1%81%D0%BE%D0%B4%D0%B8%D1%87%D0%BD%D0%B0_%D0%BD%D0%B5%D1%81%D0%BF%D1%80%D0%BE%D0%B3%D0%BD%D0%BE%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D1%96%D1%81%D1%82%D1%8C_%D1%8F%D0%BA_%D1%85%D0%B0%D1%80%D0%B0%D0%BA%D1%82%D0%B5%D1%80%D0%B8%D1%81%D1%82%D0%B8%D0%BA%D0%B0_%D1%82%D0%B5%D0%BA%D1%81%D1%82%D1%83) and [Why some lines are easy to pronounce and others are not, or prosodic unpredictability as a characteristic of text](https://www.academia.edu/105067761/Why_some_lines_are_easy_to_pronounce_and_others_are_not_or_prosodic_unpredictability_as_a_characteristic_of_text).  -- A URL where users can report bugs.--- bug-reports:+bug-reports:        https://github.com/Oleksandr-Zhabenko/phladiprelio-general-simple/issues  -- The license under which the package is released. license:            MIT@@ -28,7 +28,7 @@      -- LANGUAGE extensions used by modules in this package.     other-extensions: NoImplicitPrelude, BangPatterns-    build-depends:    base >=4.13 && <5, rhythmic-sequences ==0.4.1.0, phonetic-languages-phonetics-basics ==0.10.1.0, phladiprelio-general-shared ==0.1.1.0, cli-arguments ==0.7.0.0, phonetic-languages-permutations-array ==0.4.0.0, phonetic-languages-constraints-array ==0.7.3.0, phonetic-languages-simplified-base ==0.7.1.0, halfsplit ==0.4.2.0, directory >=1.3.4.0 && <2, rev-scientific ==0.2.1.0, async >=2.2.2 && <3, phladiprelio-tests ==0.1.0.0, phladiprelio-general-datatype ==0.5.2.0, phonetic-languages-basis ==0.3.0.0+    build-depends:    base >=4.13 && <5, rhythmic-sequences ==0.4.1.0, phonetic-languages-phonetics-basics ==0.11.0.0, phladiprelio-general-shared ==0.1.2.0, cli-arguments ==0.7.0.0, phonetic-languages-permutations-array ==0.5.0.0, phonetic-languages-constraints-array ==0.8.0.0, phonetic-languages-simplified-base ==0.8.0.0, halfsplit ==0.4.2.0, directory >=1.3.4.0 && <2, rev-scientific ==0.2.1.0, async >=2.2.2 && <3, phladiprelio-tests ==0.1.0.0, phladiprelio-general-datatype ==0.7.0.0, phonetic-languages-basis ==0.3.0.0, minmax ==0.1.1.0     hs-source-dirs:   .     default-language: Haskell2010