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

Phonetic.Languages.Simplified.Array.General.FuncRep2RelatedG2

Description

Functions to choose from the FuncRep2 variants.

Synopsis

Documentation

chooseMax Source #

Arguments

:: Ord c 
=> GWritingSystemPRPLX 
-> [(Char, Char)] 
-> CharPhoneticClassification 
-> SegmentRulesG 
-> String

Corresponds to the '0' symbol delimiter in the ukrainian-phonetics-basic-array package.

-> String

Corresponds to the '1' and '-' symbol delimiters in the ukrainian-phonetics-basic-array package.

-> (Double -> c) 
-> (Double -> String -> [[[PRS]]] -> [[Double]])

The function that is needed in the procRhythmicity23F function.

-> Coeffs2 
-> [[[[PRS]]] -> [[Double]]]

A list of 4 different functions that specifies the syllables durations, analogues of the syllableDurationsD functions from the ukrainian-phonetics-basics-array package. The last one must be probably the most exact one and, therefore, the default one.

-> String 
-> FuncRep2 String Double c 

Allows to choose the variant of the computations in case of usual processment. The coefficient 1.3 (anyway, it must be greater than 1.0) )is an empirical and approximate, you can use your own if you like.

chooseMaxG Source #

Arguments

:: Ord c 
=> Double

Must be greater than 1.0 though it is not checked.

-> GWritingSystemPRPLX 
-> [(Char, Char)] 
-> CharPhoneticClassification 
-> SegmentRulesG 
-> String

Corresponds to the '0' symbol delimiter in the ukrainian-phonetics-basic-array package.

-> String

Corresponds to the '1' and '-' symbol delimiters in the ukrainian-phonetics-basic-array package.

-> (Double -> c) 
-> (Double -> String -> [[[PRS]]] -> [[Double]])

The function that is needed in the procRhythmicity23F function.

-> Coeffs2 
-> [[[[PRS]]] -> [[Double]]]

A list of 4 different functions that specifies the syllables durations, analogues of the syllableDurationsD functions from the ukrainian-phonetics-basics-array package. The last one must be probably the most exact one and, therefore, the default one.

-> String 
-> FuncRep2 String Double c 

Allows to choose the variant of the computations in case of usual processment.

precChoice :: String -> Maybe Int Source #

Allows to choose precision in the Numeric.showFDouble function being given a choice parameter.