Copyright | (c) OleksandrZhabenko 2020-2021 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
This module works with syllable segmentation in Ukrainian. Uses Double
whenever possible.
Synopsis
- str2DuratD1 :: String -> Double
- uzpp2DuratD2 :: UZPP2 -> Double
- uzpp2DuratD1 :: UZPP2 -> Double
- uzpp2DuratD3 :: UZPP2 -> Double
- uzpp2DuratD4 :: UZPP2 -> Double
- syllableDurationsGD :: (UZPP2 -> Double) -> [[[UZPP2]]] -> [[Double]]
- syllableDurationsD :: [[[UZPP2]]] -> [[Double]]
- syllableDurationsD2 :: [[[UZPP2]]] -> [[Double]]
- syllableDurationsD3 :: [[[UZPP2]]] -> [[Double]]
- syllableDurationsD4 :: [[[UZPP2]]] -> [[Double]]
Documentation
str2DuratD1 :: String -> Double Source #
Is inspired by the DobutokO.Sound.DIS5G6G module from dobutokO2
package.
See: 'https://hackage.haskell.org/package/dobutokO2-0.43.0.0/docs/DobutokO-Sound-DIS5G6G.html'. The Double
data are gotten from there.
uzpp2DuratD2 :: UZPP2 -> Double Source #
Just another possible duration approximation obtained by usage of the r-glpk-phonetic-languages-ukrainian-durations
package
https://hackage.haskell.org/package/r-glpk-phonetic-languages-ukrainian-durations.
It is generated for the set of the words-durations pairs that the words contents (Char
) converts to the elements of the
"ABCEFXYabcdefghijklmnopqrstuvxyz" (for more information, pleas, refer to the
https://hackage.haskell.org/package/r-glpk-phonetic-languages-ukrainian-durations).
uzpp2DuratD1 :: UZPP2 -> Double Source #
uzpp2DuratD3 :: UZPP2 -> Double Source #
uzpp2DuratD4 :: UZPP2 -> Double Source #
syllableDurationsGD :: (UZPP2 -> Double) -> [[[UZPP2]]] -> [[Double]] Source #
General variant of the syllableDurationsD
function with the arbitrary uzpp2DuratD1
-like function.
syllableDurationsD :: [[[UZPP2]]] -> [[Double]] Source #
Returns list of lists, every inner one of which contains approximate durations of the Ukrainian syllables.
syllableDurationsD2 :: [[[UZPP2]]] -> [[Double]] Source #
Likewise syllableDurations
, but uses uzpp2DuratD2
instead of uzpp2DuratD1
.
syllableDurationsD3 :: [[[UZPP2]]] -> [[Double]] Source #
Likewise syllableDurations
, but uses uzpp2DuratD3
instead of uzpp2DuratD1
.
syllableDurationsD4 :: [[[UZPP2]]] -> [[Double]] Source #
Likewise syllableDurations
, but uses uzpp2DuratD4
instead of uzpp2DuratD1
.