phonetic-languages-simplified-examples-array-0.21.0.0: Helps to create Ukrainian texts with the given phonetic properties.
Copyright(c) OleksandrZhabenko 2020-2022
LicenseMIT
Maintainerolexandr543@yahoo.com
StabilityExperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010
Extensions
  • BangPatterns
  • FlexibleContexts

Phonetic.Languages.GetTextualInfo

Description

Library module that contains functions used by the propertiesTextG3 executable.

Synopsis

Documentation

generalProc Source #

Arguments

:: FilePath

Whether to use the own provided durations from the file specified here. Uses the readSyllableDurations function.

-> PermutationsType

Whether to use just one of the express permutations, or the full universal set.

-> (Int, Int) 
-> Bool 
-> [String] 
-> [String] 
-> Coeffs2 
-> Coeffs2 
-> FilePath 
-> String 
-> Int 
-> Int 
-> Bool

Whether to print just the syllables statistics line-by-line

-> String 
-> IO () 

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 -- There is also the possibility to use 'line growing' that is to use the prepereGrowTextMN function with the Int arguments from the first argument tuple. This allows to rearrange the given text and then to rewrite it. Besides there are new lines of the arguments for the String argument that can begin with "c", "s", "t", "u", "v", "C", "N", "S", "T", "U", "V", "W", "X", "Y" and "Z" letters. For more information, please, refer to the rhythmicity.

getData3 Source #

Arguments

:: [[[[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 
-> Coeffs2 
-> Coeffs2 
-> Int 
-> Int 
-> String 
-> [String] 
-> Bool

Whether to just print syllable statistics line-by-line

-> [String] 
-> IO () 

process1Line Source #

Arguments

:: [[[[Sound8]]] -> [[Double]]]

Whether to use the own provided durations.

-> Bool 
-> Coeffs2 
-> Coeffs2 
-> Int 
-> Int 
-> String 
-> [String] 
-> Array Int [Array Int Int] 
-> String 
-> IO ()