phonetic-languages-simplified-generalized-examples-array 0.4.2.0 → 0.4.2.1
raw patch · 3 files changed
+11/−6 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +6/−1
- EspeakNG_IPA.hs +4/−4
- phonetic-languages-simplified-generalized-examples-array.cabal +1/−1
ChangeLog.md view
@@ -40,9 +40,14 @@ * Fourth version revised A. Fixed issues with wrong parameter for espeak that caused no language specific translation. ## 0.4.1.1 -- 2021-07-06-+ː * Fourth version revised B. Fixed spelling and stylistic issues in the documentation. ## 0.4.2.0 -- 2021-07-08 * Fourth version revised C. Added filtering possibilities and two generalized functions to the EspeakNG_IPA module.++## 0.4.2.1 -- 2021-07-08++* Fourth version revised D. Fixed issue with wrong character filtering 'ː' (that denotes the prolonged sounds in+IPA) as ':' (default colon in ACSII).
EspeakNG_IPA.hs view
@@ -24,10 +24,10 @@ {-# INLINE espeakNG_IPA #-} {-| Given a language 'String' supported by the espeak-ng or espeak (which one is installed properly, the espeak-ng-is a preferred one) and the needed text returns the IPA representation filtered of the \'ˈ\' and \':\' characters.+is a preferred one) and the needed text returns the IPA representation filtered of the \'ˈ\' and \'ː\' characters. Is just some wrapper around the espeak functionality. -} espeakNG_IPA1 :: String -> String -> IO String-espeakNG_IPA1 = espeakNG_IPA_G (filter (\x -> x /= 'ˈ' && x /= ':'))+espeakNG_IPA1 = espeakNG_IPA_G (filter (\x -> x /= 'ˈ' && x /= 'ː')) {-# INLINE espeakNG_IPA1 #-} {-| Given a language 'String' supported by the espeak-ng or espeak (which one is installed properly, the espeak-ng@@ -37,10 +37,10 @@ {-# INLINE espeakNG_IPA_ #-} {-| Given a language 'String' supported by the espeak-ng or espeak (which one is installed properly, the espeak-ng-is a preferred one) and the needed text prints the IPA representation filtered of the \'ˈ\' and \':\' characters.+is a preferred one) and the needed text prints the IPA representation filtered of the \'ˈ\' and \'ː\' characters. Is just some wrapper around the espeak functionality. -} espeakNG_IPA1_ :: String -> String -> IO ()-espeakNG_IPA1_ = espeakNG_IPA_G_ (filter (\x -> x /= 'ˈ' && x /= ':'))+espeakNG_IPA1_ = espeakNG_IPA_G_ (filter (\x -> x /= 'ˈ' && x /= 'ː')) {-# INLINE espeakNG_IPA1_ #-} {-| Given a conversion function that is applied to the resulting 'String' before it is returned, a language
phonetic-languages-simplified-generalized-examples-array.cabal view
@@ -3,7 +3,7 @@ -- http://haskell.org/cabal/users-guide/ name: phonetic-languages-simplified-generalized-examples-array-version: 0.4.2.0+version: 0.4.2.1 synopsis: Helps to create texts with the given phonetic properties (e. g. poetic). description: Is rewritten from the modules of the @phonetic-languages-simplified-examples-array@ package. Can be used not only for Ukrainian, but also for other languages. homepage: https://hackage.haskell.org/package/phonetic-languages-simplified-generalized-examples-array