Copyright | (c) OleksandrZhabenko 2020-2022 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Extensions |
|
The library functions for the lineVariantsG3 executable. Since 0.4.0.0 version it supports printing of the informational messages both in English and Ukrainian. Since the 0.13.0.0 version there is the possibility to provide custom durations instead of the default predefined ones.
Synopsis
- forMultiplePropertiesF :: [String] -> [(String, [String])]
- generalProc3G :: FilePath -> PermutationsType -> [String] -> String -> Int -> Bool -> Bool -> FilePath -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> Bool -> Int -> Int -> IO ()
- mightNotUkrWord :: String -> Bool
- isUkrainianN :: Char -> Bool
- generalProc2G :: [[[[Sound8]]] -> [[Double]]] -> PermutationsType -> Bool -> Bool -> FilePath -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> Bool -> Int -> Int -> IO ()
- generalProc2 :: [[[[Sound8]]] -> [[Double]]] -> [[[[Sound8]]] -> [[Double]]] -> PermutationsType -> Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> Bool -> Int -> Int -> IO (ReadyForConstructionUkr, String)
- messageInfo :: Int -> Bool -> String
- interactivePrintResult :: Bool -> (a -> String) -> [a] -> Bool -> Int -> IO (ReadyForConstructionUkr, String)
- interactivePrintResultRecursive :: [[[[Sound8]]] -> [[Double]]] -> [[[[Sound8]]] -> [[Double]]] -> PermutationsType -> Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> (a -> String) -> [a] -> [String] -> Bool -> Bool -> Int -> Int -> IO (ReadyForConstructionUkr, String)
- printWarning :: Bool -> String -> IO String
- generalProcMs :: [[[[Sound8]]] -> [[Double]]] -> [[[[Sound8]]] -> [[Double]]] -> Coeffs2 -> Coeffs2 -> [Array Int Int] -> [String] -> ([Int], String, Int, String) -> Bool -> Int -> IO [Result2 ReadyForConstructionUkr Double Double]
- show2 :: (Show a, Show a, Num p, Ord a, Ord a, Eq p) => p -> [Result2 ReadyForConstructionUkr a a] -> String
- print2 :: (Show a, Show a, Num p, Ord a, Ord a, Eq p) => p -> [Result2 ReadyForConstructionUkr a a] -> IO ()
- generalProcMMs :: [[[[Sound8]]] -> [[Double]]] -> [[[[Sound8]]] -> [[Double]]] -> PermutationsType -> Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [([Int], String, Int, String)] -> [Array Int Int] -> [String] -> [String] -> Bool -> Bool -> Int -> Int -> IO (ReadyForConstructionUkr, String)
- finalProc :: [[[[Sound8]]] -> [[Double]]] -> [[[[Sound8]]] -> [[Double]]] -> PermutationsType -> Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> (a -> String) -> [a] -> [String] -> Bool -> Bool -> Int -> Int -> IO (ReadyForConstructionUkr, String)
- print1el :: Bool -> String -> [Result2 ReadyForConstructionUkr Double Double] -> IO (ReadyForConstructionUkr, String)
Documentation
:: FilePath | Whether to use the own provided durations from the file specified here. |
-> PermutationsType | Whether to use just one of the express permutations, or the full universal set. |
-> [String] | |
-> String | If empty, the function is just |
-> Int | |
-> Bool | |
-> Bool | |
-> FilePath | |
-> Bool | |
-> Bool | |
-> [String] | |
-> Coeffs2 | |
-> Coeffs2 | |
-> [String] | |
-> Bool | |
-> Bool | Whether to use volatile string weights |
-> Int | Number of sets of volatile string weights for every processed line. Is used when the previous one is |
-> Int | Whether to print more verbose information in the output with sorting in some way |
-> IO () |
Is used to organize the most complex processment -- for multiple sources and probably recursively.
mightNotUkrWord :: String -> Bool Source #
If False
then it might be the Ukrainian word in the phonetic languages approach. If True
, it is not.
Is an example of the predicate inside the fullArgsConvertTextual
function for the Ukrainian language.
isUkrainianN :: Char -> Bool Source #
Is taken from the mmsyn6ukr
package version 0.8.1.0 so that the amount of dependencies are reduced (and was slightly modified).
:: [[[[Sound8]]] -> [[Double]]] | Whether to use the own provided durations. |
-> PermutationsType | Whether to use just one of the express permutations, or the full universal set. |
-> Bool | |
-> Bool | |
-> FilePath | |
-> Bool | |
-> Bool | |
-> [String] | |
-> Coeffs2 | |
-> Coeffs2 | |
-> [String] | |
-> Bool | |
-> Bool | Whether to use volatile string weights |
-> Int | Number of sets of volatile string weights for every processed line. Is used when the previous one is |
-> Int | |
-> IO () |
since 0.3.0.0
Is used to do general processment.
since 0.5.0.0
The meaning of the first command line argument (and Coeffs2
here everywhere in the module)
depends on the String
argument -- whether it starts with 'w', 'x' or otherwise. In the first case it represents
the k1 and k2 coefficients (default ones equal to 2.0 and 0.125) for the functions from the Rhythmicity.TwoFourth module.
Otherwise, it is used for the functions to specify the level of emphasizing the two-based and three-based periods
(the default values here are 1.0 both).
since 0.6.0.0
Changed the arguments signing so that capital letters changed to the small ones, double ++ changed to just singular +.
since 0.9.0.0
Added a new argument to control whether to use interactive recursive mode.
:: [[[[Sound8]]] -> [[Double]]] | Whether to use the own provided durations. |
-> [[[[Sound8]]] -> [[Double]]] | Whether to use the volatile syllables durations |
-> PermutationsType | Whether to use just one of the express permutations, or the full universal set. |
-> Bool | |
-> Bool | |
-> Bool | |
-> Bool | |
-> [String] | |
-> Coeffs2 | |
-> Coeffs2 | |
-> [String] | |
-> Bool | |
-> Bool | Whether to use volatile string weights |
-> Int | Number of sets of volatile string weights for every processed line. Is used when the previous one is |
-> Int | |
-> IO (ReadyForConstructionUkr, String) |
interactivePrintResultRecursive Source #
:: [[[[Sound8]]] -> [[Double]]] | Whether to use the own provided durations |
-> [[[[Sound8]]] -> [[Double]]] | Whether to use the own volatile syllable durations. |
-> PermutationsType | Whether to use just one of the express permutations, or the full universal set. |
-> Bool | |
-> Bool | |
-> Bool | |
-> Bool | |
-> [String] | |
-> Coeffs2 | |
-> Coeffs2 | |
-> (a -> String) | |
-> [a] | |
-> [String] | |
-> Bool | |
-> Bool | Whether to use volatile string weights |
-> Int | Number of sets of volatile string weights for every processed line. Is used when the previous one is |
-> Int | |
-> IO (ReadyForConstructionUkr, String) |
:: [[[[Sound8]]] -> [[Double]]] | Whether to use the own provided durations. |
-> [[[[Sound8]]] -> [[Double]]] | Whether to use the own volatile syllables durations. |
-> Coeffs2 | |
-> Coeffs2 | |
-> [Array Int Int] | |
-> [String] | |
-> ([Int], String, Int, String) | |
-> Bool | Whether to use volatile string weights |
-> Int | Number of sets of volatile string weights for every processed line. Is used when the previous one is |
-> IO [Result2 ReadyForConstructionUkr Double Double] |
show2 :: (Show a, Show a, Num p, Ord a, Ord a, Eq p) => p -> [Result2 ReadyForConstructionUkr a a] -> String Source #
print2 :: (Show a, Show a, Num p, Ord a, Ord a, Eq p) => p -> [Result2 ReadyForConstructionUkr a a] -> IO () Source #
:: [[[[Sound8]]] -> [[Double]]] | Whether to use the own provided durations. |
-> [[[[Sound8]]] -> [[Double]]] | Whether to use the own volatile syllables durations. |
-> PermutationsType | Whether to use just pairwise permutations, or the full universal set. |
-> Bool | |
-> Bool | |
-> Bool | |
-> Bool | |
-> [String] | |
-> Coeffs2 | |
-> Coeffs2 | |
-> [([Int], String, Int, String)] | |
-> [Array Int Int] | |
-> [String] | |
-> [String] | |
-> Bool | |
-> Bool | Whether to use volatile string weights |
-> Int | Number of sets of volatile string weights for every processed line. Is used when the previous one is |
-> Int | |
-> IO (ReadyForConstructionUkr, String) |
:: [[[[Sound8]]] -> [[Double]]] | Whether to use the own provided durations. |
-> [[[[Sound8]]] -> [[Double]]] | Whether to use the own volatile syllables durations. |
-> PermutationsType | Whether to use just one of the express permutations, or the full universal set. |
-> Bool | |
-> Bool | |
-> Bool | |
-> Bool | |
-> [String] | |
-> Coeffs2 | |
-> Coeffs2 | |
-> (a -> String) | |
-> [a] | |
-> [String] | |
-> Bool | |
-> Bool | Whether to use volatile string weights |
-> Int | Number of sets of volatile string weights for every processed line. Is used when the previous one is |
-> Int | |
-> IO (ReadyForConstructionUkr, String) |