phonetic-languages-phonetics-basics 0.9.0.0 → 0.9.1.0
raw patch · 3 files changed
+10/−5 lines, 3 filesdep ~foldable-ixdep ~lists-flinesdep ~mmsyn2-arrayPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: foldable-ix, lists-flines, mmsyn2-array, mmsyn3, mmsyn5
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- Data/Phonetic/Languages/Syllables.hs +2/−2
- phonetic-languages-phonetics-basics.cabal +3/−3
ChangeLog.md view
@@ -119,3 +119,8 @@ module Data.Phonetic.Languages.PrepareText. Added also the possibility to not only prepend needed words, but also append. This introduces breaking changes, so please, wait for update for all the dependent packages before starting the upgrade, also check the code that uses library functions afterwards.++## 0.9.1.0 -- 2022-09-13++* Ninth version revised A. Updated the dependencies boundaries. Some minor documentation improvements.+
Data/Phonetic/Languages/Syllables.hs view
@@ -305,8 +305,8 @@ -> [(Char,Char)] -- ^ The pairs of the 'Char' that corresponds to the similar phonetic languages consonant phenomenon (e. g. allophones). Must be sorted in the ascending order to be used correctly. -> CharPhoneticClassification -> SegmentRulesG- -> String -- ^ Corresponds to the \'0\' symbol delimiter in the @ukrainian-phonetics-basic-array@ package.- -> String -- ^ Corresponds to the \'1\' and \'-\' symbol delimiters in the @ukrainian-phonetics-basic-array@ package.+ -> String -- ^ Corresponds to the 100 delimiter in the @ukrainian-phonetics-basic-array@ package.+ -> String -- ^ Corresponds to the 101 delimiter in the @ukrainian-phonetics-basic-array@ package. -> String -- ^ Actually the converted 'String'. -> [[[PRS]]] createSyllablesPL wrs ks arr gs us vs = map (divSylls . reSyllableCntnts ks gs . groupSnds . str2PRSs arr) . words1 . mapMaybe g . convertToProperPL . map (\x -> if x == '-' then ' ' else x)
phonetic-languages-phonetics-basics.cabal view
@@ -3,7 +3,7 @@ -- http://haskell.org/cabal/users-guide/ name: phonetic-languages-phonetics-basics-version: 0.9.0.0+version: 0.9.1.0 synopsis: A library for working with generalized phonetic languages usage. description: There already exists a Ukrainian implementation for the phonetic languages approach published at: https://hackage.haskell.org/package/phonetic-languages-simplified-examples-array. It is optimized for the Ukrainian only and needs to be rewritten for every new language mostly from scratch using it as a template. To avoid this boilerplate, this one is provided. It can be used for different languages and even for music or other fields. Now it combines the functionality of the @r-glpk-phonetic-languages-ukrainian-durations@ and @phonetic-languages-ukrainian-array@ and some dependencies of the mentioned one. homepage: https://hackage.haskell.org/package/phonetic-languages-phonetics-basics@@ -22,7 +22,7 @@ other-modules: Main other-extensions: CPP, BangPatterns, UnboxedTuples, MagicHash, MultiParamTypeClasses, FlexibleInstances, MultiWayIf ghc-options: -funbox-strict-fields -fobject-code- build-depends: base >=4.8 && <5, mmsyn2-array >=0.1.3 && <1, mmsyn3 >= 0.1.5 && <1, mmsyn5 >=0.5 && <1, lists-flines >=0.1.1 && <1, foldable-ix >=0.2 && <1+ build-depends: base >=4.8 && <5, mmsyn2-array ==0.3.0.0, mmsyn3 == 0.1.6.0, mmsyn5 == 0.5.1.0, lists-flines == 0.1.2.0, foldable-ix ==0.2.1.0 -- hs-source-dirs: default-language: Haskell2010 @@ -30,6 +30,6 @@ main-is: Main.hs other-modules: Data.Phonetic.Languages.Base, Data.Phonetic.Languages.Syllables, Numeric.Wrapper.R.GLPK.Phonetic.Languages.Durations, Data.Phonetic.Languages.SpecificationsRead, Data.Phonetic.Languages.PrepareText -- other-extensions:- build-depends: base >=4.8 && <5, mmsyn2-array >=0.1.1 && <1, mmsyn3 >= 0.1.5 && <1, mmsyn5 >=0.5 && <1, lists-flines >=0.1.1 && <1, foldable-ix >=0.1 && <1+ build-depends: base >=4.8 && <5, mmsyn2-array == 0.3.0.0, mmsyn3 == 0.1.6.0, mmsyn5 == 0.5.1.0, lists-flines == 0.1.2.0, foldable-ix ==0.2.1.0 -- hs-source-dirs: default-language: Haskell2010