phonetic-languages-simplified-examples-array-0.6.2.0: Helps to create Ukrainian texts with the given phonetic properties.
Copyright(c) OleksandrZhabenko 2020-2021
LicenseMIT
Maintainerolexandr543@yahoo.com
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010
ExtensionsBangPatterns

Phonetic.Languages.Simple

Description

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

Documentation

generalProc2G :: 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 +.

generalProc2 :: Bool -> Bool -> Bool -> [String] -> Coeffs2 -> Coeffs2 -> [String] -> Bool -> IO String Source #

@ since 0.3.0.0 The result is not IO (), but IO String. The type also changed generally.

messageInfo :: Int -> Bool -> String Source #

  • - @ since 0.4.0.0 Function provides localized message information. If the Bool argument is True then it gives result in Ukrainian, otherwise -- in English.

interactivePrintResult :: Bool -> (a -> String) -> [a] -> IO String Source #

@ since 0.3.0.0 The result is not IO (), but IO String. The type also changed generally.

generalProcMMs :: Bool -> Bool -> Coeffs2 -> Coeffs2 -> [([Int], Int, Int, String)] -> [Array Int Int] -> [String] -> IO String Source #

@ since 0.3.0.0 The result is not IO (), but IO String. The type also changed generally.

finalProc :: Bool -> Bool -> (a -> String) -> [a] -> IO String Source #

@ since 0.3.0.0 The result is not IO (), but IO String. The type also changed generally.

print1el :: Bool -> String -> [Result [] Char Double Double] -> IO String Source #

@ since 0.3.0.0 The result is not IO (), but IO String. The type also changed generally.