Copyright | (c) OleksandrZhabenko 2020-2021 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Extensions | BangPatterns |
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.
Synopsis
- forMultiplePropertiesF :: [String] -> [(String, [String])]
- generalProc3G :: [String] -> String -> Int -> Bool -> Bool -> FilePath -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> IO ()
- mightNotUkrWord :: String -> Bool
- isUkrainianN :: Char -> Bool
- generalProc2G :: Bool -> Bool -> FilePath -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> IO ()
- generalProc2 :: Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> IO String
- messageInfo :: Int -> Bool -> String
- interactivePrintResult :: Bool -> (a -> String) -> [a] -> IO String
- interactivePrintResultRecursive :: Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> (a -> String) -> [a] -> [String] -> Bool -> IO String
- printWarning :: Bool -> String -> IO String
- generalProcMs :: Coeffs2 -> Coeffs2 -> [Array Int Int] -> [String] -> ([Int], Int, Int, String) -> IO [Result [] Char Double Double]
- generalProcMMs :: Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [([Int], Int, Int, String)] -> [Array Int Int] -> [String] -> [String] -> Bool -> IO String
- foldlI :: [[String]] -> [String]
- finalProc :: Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> (a -> String) -> [a] -> [String] -> Bool -> IO String
- print1el :: Bool -> String -> [Result [] Char Double Double] -> IO String
Documentation
:: [String] | |
-> String | If empty, the function is just |
-> Int | |
-> Bool | |
-> Bool | |
-> FilePath | |
-> Bool | |
-> Bool | |
-> [String] | |
-> Coeffs2 | |
-> Coeffs2 | |
-> [String] | |
-> Bool | |
-> 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).
generalProc2G :: Bool -> Bool -> FilePath -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> IO () Source #
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.
generalProc2 :: Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> IO String Source #
interactivePrintResultRecursive :: Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> (a -> String) -> [a] -> [String] -> Bool -> IO String Source #
generalProcMs :: Coeffs2 -> Coeffs2 -> [Array Int Int] -> [String] -> ([Int], Int, Int, String) -> IO [Result [] Char Double Double] Source #
generalProcMMs :: Bool -> Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [([Int], Int, Int, String)] -> [Array Int Int] -> [String] -> [String] -> Bool -> IO String Source #